You can interlink dialogs to create a conditional based on a set of rules or logic to solve for your use-case in the bot builder. The ‘Conditions & Path’ tab under a dialog’s setting allows you to do this and more. You can set up multiple conditions for one dialog to connect to another at any point in the flow and also set up redirection based on customer input. 


With the ability to set up If-else conditions and AND - OR operators in the conditional flow extensively, you can tighten your bot flow and tailor it to suit your business requirement.


A quick guide to setting up conditions for a dialog in a chatbot conversation:

  • Login to your chatbot account as an Admin/Owner
  • Select the bot you want to edit from the bot list page
  • Go to any flow and select the desired dialog
  • Click on the 'Conditions & Path' tab from the slider



Let’s take an example of a pricing bot:

This bot has been deployed for handling pricing related questions related to a software subscription. The bot asks the customer if they are opting for a student plan or a business plan of the software. Once this selection is made, the bot shows the price in the currency based on the location (country) of the customer. 


PlanUSA PricingGermany PricingFrance Pricing
Student plan$5

€5

€5

Business plan$10

€10

€10


Dialog 1.1 - Ask for Subscription Plan



Dialog 1.2 - Ask for Country 



Set up 4 dialogs for pricing in Dollars and Euros for the Student and Business plans:



There are four possible unique scenarios:

Condition 1: Country is USA AND Plan is 'Student': go to dialog 1.3

Condition 2: Country is USA AND Plan is 'Business': go to dialog 1.5



Condition 3: Country is NOT USA AND Plan is 'Student': go to dialog 1.4

Condition 4: Country is NOT USA AND Plan is 'Business': go to dialog 1.6



Alternatively, you can use 'nested conditions' by clicking on the [ ] icon to tackle the same scenario:


Condition 1: Country is USA AND Plan is 'Student': go to dialog 1.3

Condition 2: Country is USA AND Plan is 'Business': go to dialog 1.5



Condition 3: [Country is Germany OR France] AND [Plan is 'Student']: go to dialog 1.4

Condition 4: [Country is Germany OR France] AND [Plan is 'Business']: go to dialog 1.6



Preview: