Conversational AI
  • Introduction
  • Getting started
    • Getting started
    • Adding content to your bot
    • Capture information with entities
    • Capture information with input validation
    • Reusing intents with context
    • Flow navigation with variables
    • Adding new users to your account
  • Understanding users
    • Natural Language Processing (NLP)
      • NLP threshold
      • NLP Import & Export
      • Train your bot with actual user messages
      • NLP Dashboard & NLP Improve
      • Synonym entities
      • System entities
      • Supported languages
      • Intent templates
    • Expression generator
    • Context
    • Multi-language bots
  • Bot answers
    • Bot dialogs
      • Message components
      • Go To
      • Input Validation
      • Action
      • Translations
    • Conversations
    • Analytics
      • User flow
    • Publishing your bot
    • Events
    • Reuse flows
    • Settings
      • Variables
  • Integrations
    • API integration
      • Advanced API integrations
    • Chat message structure for API's
    • Retrieving data from Airtable (GET)
    • Sending data to Airtable (POST)
    • Human handover & live chat
      • #Interact
      • RingCentral Engage Digital
      • Genesys Cloud
      • Help Scout
      • Zendesk Chat
      • Intercom
      • Sparkcentral (beta)
      • Offloading Webhook
  • Channels
    • Channels
    • Facebook Messenger
      • Facebook Admin Removal
      • Facebook Webview Whitelisting
    • WhatsApp Business API
    • Google Assistant
    • Webhook Channel API
    • Chat widget
    • Phone & voice
    • Workplace from Facebook
    • Sinch Conversation API (beta)
  • Tips & Best practices
    • How to NLP
    • Creating diverse expressions
    • Why is my bot not responding the way I want it to?
    • What makes a good chatbot?
    • How to recognize a returning bot user
    • Gathering user feedback
    • Using time in your chatbot
Powered by GitBook
On this page

Was this helpful?

  1. Getting started

Flow navigation with variables

PreviousReusing intents with contextNextAdding new users to your account

Last updated 4 years ago

Was this helpful?

The Go To bot dialog enables the bot to redirect the user to a bot dialog depending on conditions of the session variables. You can define conditions with operators like equals, greater than, smaller than, etc. You can also combine multiple conditions with AND and OR.

Consider the following scenario. The user asks the bot:

I want to book a train from Paris to London in first class please.

Let us define a different message, based on which class the user selected first or second class.

  • Create a bot dialog class redirect of type Go To.

  • Create a bot dialog selected first class with class redirect as a parent.

  • Open the class redirect bot dialog.

  • If the variable class is equal to first, we want to redirect the user to the bot dialog selected first class.

    • If the condition is not fulfilled, and the user has selected second class, we want to confirm that selection

    • If the user has selected no class at all, we want to redirect the user to the bot dialog first or second class. Here, the traveler will be asked explicitly in which class they want to travel.

  • Configure the Go To like this:

  • Add a text message in the selected first class bot dialog and a Go To that redirects the user to confirm booking.

  • Adjust the Go To settings in the input validation in the first or second class bot dialog to go to the bot dialog class redirect. Adjust the Go To in the first class button.

  • Test in the Emulator: