Go to step continues the flow from another step in the same tool. Use it to repeat earlier steps until you have what you need, or to skip ahead past steps that don't apply. It ends the branch it is on. The flow carries on at the target step instead.
Adding the step
Go to step ends a branch, so it can't go between two steps. Add it with the + at the end of a branch, or as a branch under an If / else branch. Elsewhere the add-step menu shows it greyed out with the reason.
Target step
Choose where the flow continues under Target step. The target can be any step in the tool except an If / else branch or another Go to step. Return result is allowed.
On the canvas, a dashed line connects the Go to step to its target. The step itself shows Continues at with the target's name. Show the target step scrolls the canvas to it.
Loops
When the target is an earlier step, the flow loops. Two rules keep loops in check:
-
Every path around the loop needs a step that waits for the customer: Ask user or Prompt agent. Without one, the builder reports an issue and you can't save until it's fixed.
-
A Go to step jumps at most 10 times per run. After that the run stops with an error. The count doesn't reset while the tool waits for the customer, so design loops that finish before the limit.
At least one branch of the tool must end in a step other than Go to step, such as Return result. Otherwise the tool can never finish.
If a tool stops with the message that a Go to step reached its loop limit, check the condition that should end the loop first. Then check that the step which changes that value sits inside the loop.
Testing and analytics
When you test the tool, the run follows jumps the same way a live conversation does, with the same limit of 10. In Tool Analytics, the dashed line shows how often the jump was taken.