Go To
Last updated
Last updated
The idea of a Go-to is for you to command a bot dialog to go to another dialog immediately.
You can create Go-to's from many places in your conversation, which makes sense since it's a nice way to keep the conversation nice and flowing. It might be confusing at first sight but using Go-to's is actually very simple.
There are 2 main ways of creating Go-to's in Chatlayer:
You can go to any dialog type to any other dialog type in your conversation.
When you create a Bot Message, you can redirect the user to another dialog by clicking something. A clicking action can happen with:
Not sure if a Go-to is the right button type for you? Check the different button types here.
At the end of any dialog type (be it a Bot Message, Input Validation, Action, or even Go To), you can choose to redirect the user to any other dialog.
To do that, find the Go To ribbon at the bottom of your dialog and expand it to fill it in.
At the end of Bot Messages and Action dialogs, you have the option to transfer the user to another bot dialog, and pass a variable that's saved in the user session.
To pass a variable, click on +Add Variable
and define your variable name and value.
Go To bot dialogs themselves enable your bot to redirect the user to another dialog depending on the conditions of the session variables. This is the easiest way of introducing simple if-then logic to your bot.
By enabling the "Case sensitive" toggle capitalization of letters is taken into account when comparing the value of a variable.
The order of the conditional items determines their priority. If a conditional item is met, other conditional items will not be taken into account.