1. Home
  2. Actions
  3. How to use the “jump to” action

How to use the “jump to” action

The important thing to understand about “Jump to” is this: contrarily to the “then…” part of your step, that makes the user go to another step after he/she answered,  the “jump to” action will make the chatbot jump to the next step according to what had been said before, without waiting for an answer.

1. Add a “jump to” to my list of actions

When you are in the step panel, on the left is a panel with the list of actions. At the bottom of this panel, you can see the “jump to” action:

To use it, you must drag and drop the “jump to” action to the right place inside the step panel. 

Be careful of the order: if its condition is satisfied, the “jump to” will be executed right after the action situated above and it will prevent actions below to be performed.

As you drag and drop the action, the “jump to” configuration panel opens:

2. Configure the “jump to” panel 

To configure a parameter that, if equal to a certain value, will allow the user to jump to a defined step, click on “Add condition”. An area appears to define the condition you want to be satisfied to jump to a particular step. 

This area contains two parts:

A) IF 

Parameter:
Session value: session value defined in a previous step
OR User response: the last user response received

Variable : only if “session value” has been selected – the variable defined for this session

Condition

  • Matches intent: Here, you can use an Intent.
  • Contains: If your user’s answer contains a certain word or expression.
  • Matches Regex: set up a “custom condition”, more info here.
  • Matches exactly: If you are sure of what your users will answer, like “yes” or “no”.
  • “<” “<=” “>” “>=”: Use those conditions with numbers (ex: “5”)
  • Is set: This one is special. It’s used if you choose to connect two steps depending on a session value.
  • Is number: If your user’s answer is a number. 

To add another condition that jumps to the same step if satisfied, click on the button “+ AND”. Then the exact same fields (Parameter, Variable and Condition) will be displayed below the first condition.

If you want to define one or several conditions that jumps to another step, then click on the button “+ OR”. Then another condition area displays.
You can add as many conditions as you want. 

B) Jump to: the destination step or story

The second part of the area is dedicated to the choice of the destination step or story. You can select the one you want in the dropdown list.

The bottom area “In all other cases, jump to” allows you to define a story or step where to go if none of the condition defined above has been satisfied. 

When you’re done, click on “Save”. If no condition has been set, the “Save” button is disabled.
The “jump to” action appears in your step panel with the different destinations. Steps are coloured in green and stories are coloured in yellow.

You can then continue to configure your step before saving it.

Now, you have learned how to jump easily from one step to another ! 🙂

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
More help

Leave a Comment