TypebotT
Typebot9mo ago
Alexis

Dynamically jump to previous step

I was wondering if it was possible to store the current step (the current place where a user is) in a variable.
And then using the Jump feature to dynamically jump to the location stored in a variable ?
So to have a more dynamic jump approach, where the destination can be stored in a variable ?

I ask this because I have quite a complex bot, with multiple categories of Q&A with content I wrote.
But the user can "jump to an AI" Loop whenever he wants, if the Q&A is not enough.
However, I would like to store in a variable where the user was "before". And when the user is done with the AI Loop, jump him back to where he was, using a "dynamic" approach.

I think it's a big no-no. I don't know the internals of TypeBot but I guess there's some sort of state machine and what I ask probably break all of this state machine logic.
Was this page helpful?