Hi, Humans. How may we help you?

04. How to configure chatbot Destinations
6 min
Created by Larissa Aniceto on 2/8/2024 4:35 PM
Updated by Ligia Sarmento on 7/25/2024 5:36 PM

In Destinations, you decide where the conversation goes depending on the user's responses. The conversation can follow two types of destinations: a specific block or a default block.

The settings for the path the conversation should follow can be for a:

Specific Destination

You use a specific block when you want the conversation to follow a specific path based on the user's response. For example:

  • If the user answers "Yes", the conversation can move to a confirmation block.

  • If the user answers "No", the conversation can move to an additional help block.

Default Destination

The default destination is used when none of the specific conditions are met. This is useful to ensure the conversation continues logically, even if the user's response does not match any specific condition. For example:

  • If the user gives a response that is neither "Yes" nor "No", the conversation can move to a block that asks for more information or provides further explanation.

Understanding in practice

Let's suppose the following interaction between the bot and the user:

Chatbot: Would you like to receive our offers by email? 

User responds "yes": Goes to the block that collects the email.

 User responds "no": Goes to the block that thanks and ends the conversation. 

User responds with something other than “Yes” or “No”: Goes to a block that asks the user to choose between "Yes" or "No".

How to configure specific destinations

To configure a specific destination, you need to define conditions that direct the conversation based on the user's response.

  1. Access the Constructor.

  2. Go to the Destination tab > Choose Add Destination.

The platform will request the following information:

  • If the variable: Here, you need to choose a variable that contains the user's response or data. For example, it could be a variable that stores the response from a previous question, such as the name, age, or any other information.
  • EQUAL: This section displays a list that allows you to define the specific condition that the variable must meet. In the list, you will find:
  • EQUAL: The variable must have exactly the value you enter.
  • Less than or equal to: The variable must be less than or equal to the value you enter.
  • Less than: The variable must be less than the value you enter.
  • Greater than or equal to: The variable must be greater than or equal to the value you enter.
  • Greater than: The variable must be greater than the value you enter.
  • Different from: The variable must be different from the value you enter.
  • Contains: The variable must contain the value you enter.
  • Enter: In this field, you must enter the value you want to compare with the variable. For example, if the variable is "age" and you choose "Less than", you enter the value "18" here to direct the conversation if the user's age is less than 18.
  • Go to: Here, you select the destination block where the conversation should go if the condition is met. You can choose from the blocks you have already created.

Practical Example

Let's configure a condition to direct the conversation based on the user's age:

  1. If the variable: age

  2. Less than: 18

  3. Go to: Block "Underage"

In this example, if the user's "age" variable is less than 18, the conversation will be directed to the "Underage" block.

How to Configure Default Destinations

Configuring a default block is very simple and is used to ensure that the conversation always has a logical flow, even when none of the specific conditions are met.

  1. Access the Constructor.

  2. Go to the Destination tab > Choose Default Destination at the bottom. You will see a list of all the blocks you have created. The default block is the one to which the conversation will be directed if none of the specific conditions are met.

Practical Example

Imagine you have asked several questions and created specific conditions for different responses. However, if the user's response does not match any of these conditions, the conversation will be automatically directed to the default block you selected.

For example, you might have a default block that says, "Sorry, I didn't understand your response. Could you please rephrase?"
Did this article solve your doubts?
Recently viewed