During an ongoing conversation, I want the bot's variables to get updated via an external input like a webhook event, but without disrupting the current flow. is this possible?
I mentioned webhook, since botpress or the current workflow wont be making this call
limited-pencil-78283
06/13/2025, 4:24 AM
@User
w
wooden-beard-40210
06/13/2025, 11:23 AM
That's an interesting question I'm not sure about that but I think that's if you set the specific conversation ID to the Webhook in WordPress it will disrupt the flow
So I have two ideas
You could store at each node the current node at which you are, and then after you updated your variable after entering the flow by the webhook you can make a transition node to continue the flow at the right node
wooden-beard-40210
06/13/2025, 11:24 AM
Or you could leverage the use of the tables and create for each conversation a row and for each row there is a column that represents your variable and then you can update the table using API calls , and retrieve the value from the table
l
limited-pencil-78283
06/13/2025, 12:09 PM
It would be interesting to know the node we are in when an event occurs so the bot can be asked to continue from there, however it will be very difficult with autonomous node. Let me try your options