To file a bug ticket, please follow the steps below:
- Describe what happens in as many details as possible.
- Describe the intended behavior.
- Share a link to AI Agent where this bug occurs
- Attach any screenshots/screen recordings to help us replicate and run tests on our end
Hi team,
I’m encountering a consistent issue with global variable hydration that appears to be a platform bug.
What I’m seeing:
-
When running the agent in Debugger mode, the global variable
global.campaignsis populated correctly and rendered in my React interface. -
When running the same agent in a real execution (Live Run), the UI does not receive / render
global.campaigns, resulting in an empty campaigns list.
Important notes:
-
The React code already handles delayed hydration and retries (polling + refresh button).
-
The same
useTemplateVariables()hook returns the expected data in Debugger, but not in Live Run. -
This is reproducible and happens across multiple runs.
-
No code changes between Debugger and Live execution.
-
The issue appears to be environment-related, not UI logic.
Expected behavior:
If global.campaigns is available in Debugger, it should also be available in Live Run for the same flow execution.
Actual behavior:
global.campaigns is missing / undefined in Live Run, causing the UI to show no campaigns.
I’ve attached a screenshot showing the campaigns rendering correctly in Debugger mode.
This blocks production usage, since the UI behaves differently between Debugger and real execution.
Happy to provide:
-
Flow IDs
-
Logs
-
Minimal reproduction agent
-
Screen recording if needed
Thanks in advance,
Shay

