Hello!
I built an n8n workflow that is triggered via an embedded chat in my Bubble app. This workflow deducts credits based on user actions and sends an HTTP request to a Bubble backend workflow to update the user’s credit balance.
Everything works fine—the credits are deducted correctly—but the page refreshes every time after the backend workflow updates the Current User. This causes the chat to reset, which is a big issue.
I suspect Bubble automatically refreshes the page when the Current User is modified via a backend workflow, even though I have removed all UI elements displaying the credit balance (but the issue persists).
My questions:
- Can someone confirm whether Bubble refreshes the page when a backend workflow updates the Current User?
- Is there a way to prevent this from happening?
If the answer is no I have an idea: I would create a separate thing in the database (call it “creditbalance” for example) that has a user connected to it and I make changes to this thing via the http request from n8n. But this would mean that I have to change many things in my app (for example the backend workflows that renews credits for the users every month and showing the balances on the frontend).
Thank you in advance!