Of course, the flow on my screenshot won't work properly with the current Jump blocks, but it illustrates my goal, which is to execute a set of blocks on-demand, and go back to where it was called after it finished executing, allowing for a DRY (Don't Repeat Yourself) flow, aka not duplicating the Name Validation group every time I need it but simply "calling it", much like a function in programming.
So the desired behavior with the above (incomplete) flow should be:
- Bot asks for the user's first name (assume it is then stored in a variable)
- The first name goes through a Name validation check script:
- if the name passes the validation, the execution continues, meaning it jumps back to the end of
firstName Input
and in our case goes over to the next group of blocks dogName Input
- if the name doesn't pass the validation, it could display a Text bubble and Jump to the original name input (which should be dynamically specified, given the expected behavior)
- Bot asks for the user's dog's name (assume it is stored in a variable)
- Same as
2.
but for the dog's name
It is currently not possible to do that with the current state of Typebot, right? Just to be sure