Realtime problem on app load

Hi all, I have an issue with realtime using xano and weweb

I try to be as detailed as possible:

I enabled real-time events directly on the trigger of specific endpoints.
In Weweb I created 2 global workflows on app load:

  1. Open the real-time channel. After that, it triggers another workflow that calls an endpoint to check if the user has not read notifications.

  2. listen for events and, according to the payloads, the event triggers different things: update variables or fetch collections

Everything seems to be working well (so I guess the logic is correct), but it doesn’t really work on page load. To make it really work, I have to refresh the app. If I refresh the page, the first workflow triggers, and I see unread notifications and receive realtime ones, else nothing working.

Any suggestion?

Attached workflows schema

Thanks,

Luca



Hi @Luca

Can you verify that your Xano connection hash, channel name, and permissions are correctly set in the plugin configuration? Are you able to establish a web socket connection with a simpler example and fewer workflows, like a mini chat?

Also please try On realtime – connection status event to insert a short delay (e.g., 500–1000 ms) before checking notifications or listening for events to test.