# Realtime data and on realtime database change

**URL:** <https://community.weweb.io/t/realtime-data-and-on-realtime-database-change/20340>\
**Category:** Ask us anything\
**Tags:** workflows, binding, supabase\
**Created:** [November 8, 2025, 3:12pm UTC](https://community.weweb.io/t/realtime-data-and-on-realtime-database-change/20340 "2025-11-08T15:12:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bbalint0918](https://avatars.discourse-cdn.com/v4/letter/b/8c91f0/32.png) [@bbalint0918](https://community.weweb.io/u/bbalint0918)\
**Post date:** [November 8, 2025, 3:12pm UTC](https://community.weweb.io/t/realtime-data-and-on-realtime-database-change/20340/1 "2025-11-08T15:12:55Z")

</div>

Hi everyone!

I’m relatively new to the WeWeb environment. I have 2 types of tables in Supabase: 1 - Updates at given intervals and a new element is created, instead of the data of an old element changing. 2 - Updates at given intervals, but no new element is created, instead the existing one is updated.

I managed to solve the 2nd type with realtime collections, and I also turned it on in Supabase, but it only refreshes in realtime in preview. It works perfectly there, but when I deploy and view it on my own domain, it doesn’t work unless I refresh the page.

For the 1st type, I started building the workflow, but it’s not working and unfortunately I’m stuck because I don’t know how to solve it.

So my questions are:

- Why does it only refresh in preview, why not in live?

- How could I modify my workflow to work correctly, or what’s the standard method for this?

 ![Képernyőfotó 2025-11-08 - 16.12.16](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/5/5ac2b5cc3ac893750e14e89d2e0e07386f8e44d1.png)

---

<div class="post-metadata">

**Author:** ![Agustin\_Carozo](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/agustin_carozo/32/13231_2.png) [@Agustin\_Carozo](https://community.weweb.io/u/Agustin_Carozo)\
**Post date:** [November 10, 2025, 12:50pm UTC](https://community.weweb.io/t/realtime-data-and-on-realtime-database-change/20340/2 "2025-11-10T12:50:17Z")

</div>

Hi Balint, welcome to the community 👋

Thanks for sharing the details! A couple of things to try:

- Double-checking that **realtime is enabled for your tables** in both Supabase and WeWeb settings.​
- Switching from collection-based data sources to **using variables and page/app-level workflows** for realtime, which has solved unpredictable update issues for some.​
- Ensuring users are properly subscribed to realtime channels each time the page loads.​

You could also read what other community members have tried:

> [@Working Supabase Realtime Setup](https://community.weweb.io/t/working-supabase-realtime-setup/18648):
>
> I struggled with this for a while but finally got Supabase Realtime to work and the setup was not straightforward. There are some unlabeled restrictions on WeWeb’s implementation you must work around. First, WeWeb results in unpredictable things if you try to enable Realtime on a Collection you have setup in the “advanced” mode (which creates joins between tables in Supabase behind the scenes). When I set up realtime (according to the WeWeb docs) with on tw…

And read our docs

> **[React to database changes | Documentation](https://docs.weweb.io/websockets/supabase-realtime/database-changes.html)**
>
> Learn how to broadcast (and receive) a realtime message

Hope this helps.
