A flow allows your chatbot to have more intelligent conversations with your contacts; use flows to
Fo example, if you're designing a chatbot to evaluate the service received by your contacts, you can define two flows for the dialogue:
- Flow 1: for when the rating is equal or higher than 8
- Flow 2: for when the rating is equal or less than 7
Designer view for FLOW 1
Las opciones de configuración de un flujo son:
Unique ID | This is a unique identifier generated automatically; if you want you can changed it, just remember that within your chatbot two questions can't have the same ID. | ||||||||||||||||||||
Logic | Flows help your bot to have smarter conversations with your users. The answers given by the users can activate a flow of specific questions in the conversation. You can use SIMPLE logic (if one condition is met) or COMPLEX logic (if a number of conditions are met) | ||||||||||||||||||||
Display if | If you selected that the flow is activated using SIMPLE logic this property dialog box appears. Select a question and what value it must have to activate the flow. | ||||||||||||||||||||
Logical expression | If you selected that the flow is activated using COMPLEX logic this property dialog box appears.
A logical expression uses relational operators and it results in true or false. If the expression is true, the questions inside the flow will be displayed.
The available relational operators
EXAMPLES VARIABLE_1>=8 VARIABLE_1>500 && VARIABLE_2>300 VARIABLE_1!=800 || VARIABLE_2==0 |