# Payload data in Real Time Event tree

**URL:** https://community.weweb.io/t/payload-data-in-real-time-event-tree/21638
**Category:** Ask us anything
**Created:** [September 22, 2026, 11:26pm UTC](https://community.weweb.io/t/payload-data-in-real-time-event-tree/21638 "2026-09-22T23:26:55Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![SynopsisLabs](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@SynopsisLabs](https://community.weweb.io/u/SynopsisLabs)
#### Post date: [September 22, 2026, 11:26pm UTC](https://community.weweb.io/t/payload-data-in-real-time-event-tree/21638/1 "2026-09-22T23:26:55Z")

</div>

**Hi,**

I am creating a real-time channel between Weweb and Xano where Xano pushes a count from a database table. However, when trying to assign the data to a variable, under Event payload shows null and has no children.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/3X/2/d/2d5088deedf0e5d6cf0fbe5ae39c0c9d3cfcf625.png)

However, if I look at the network traffic, I can see the data under payload.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/3X/8/b/8b75555b0b2033f403760ee6b72f1d95d4a9935e.png)

I managed to see a workaround were I had to add the data child manually - event?.[‘data’]?.[‘payload’]?.[‘data’].

Is this a bug?

Thanks

Steve

---

<div class="post-metadata">

### Author: ![DanielL](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/daniell/32/13398_2.png) [@DanielL](https://community.weweb.io/u/DanielL)
#### Post date: [September 23, 2026, 1:16pm UTC](https://community.weweb.io/t/payload-data-in-real-time-event-tree/21638/2 "2026-09-23T13:16:48Z")

</div>

Hi Steve,

Not a bug. The Event tree in the editor is a sample, that’s why the payload is empty.

That sample is empty on On realtime - All events because each event type carries a different payload. Your path is correct for a db event. On the Change variable value action, you can bind the variable to event?.[‘data’]?.[‘payload’]?.[‘data’]. You can also use the Log action to see the value the workflow receives when it runs.

---

<div class="post-metadata">

### Author: ![farhankhorsheed49](https://avatars.discourse-cdn.com/v4/letter/f/90db22/32.png) [@farhankhorsheed49](https://community.weweb.io/u/farhankhorsheed49)
#### Post date: [September 23, 2026, 2:03pm UTC](https://community.weweb.io/t/payload-data-in-real-time-event-tree/21638/3 "2026-09-23T14:03:58Z")

</div>

Hi Steve

That null payload is the sample the editor shows. On realtime all events does not have one fixed payload, so the tree stays empty even when a message comes in.

Your network tab is the real message. The count is payload.data, which is 1 in your screenshot. The path you added by hand is the right binding for Change variable value.

Drop a Log action on the Event and run it in preview. That shows the value the workflow gets.

Best Regards

---

<div class="post-metadata">

### Author: ![SynopsisLabs](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@SynopsisLabs](https://community.weweb.io/u/SynopsisLabs)
#### Post date: [September 23, 2026, 8:23pm UTC](https://community.weweb.io/t/payload-data-in-real-time-event-tree/21638/4 "2026-09-23T20:23:57Z")

</div>

Thanks for the clarification.

Steve
