Go To

The idea of a Go-to is for you to command a bot dialog to go to another dialog immediately.

What a Go-to looks like in your chatbot conversation.

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:

Go-to's within dialog types

You can go to any dialog type to any other dialog type in your conversation.

Go-to's in Bot Messages buttons

When you create a Bot Message, you can redirect the user to another dialog by clicking something. A clicking action can happen with:

Go to another dialog from a button within a Bot Message

Go to another dialog type

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.

Go to any other dialog by filling in the Go to section at the bottom of your dialog type.

Go-to's to pass a variable

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.

Link two dialogs and pass a variable by using the Go to section at the end of a Bot Message or Action dialog.

The Go To dialog type

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.

In this case the user will be redirected to "first class" if the class variable equals "first". Otherwise, the user will go to the "other class" bot dialog

Last updated

Was this helpful?

#1191: creation of subpage for multilanguage voice bots

Change request updated