The following macros are not currently supported in the header:
  • style

Flows

A flow allows your chatbot to have more intelligent conversations with your contacts; use flows to activate / hide a group of specific questions, depending on logical conditions that you define for each flow.



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 :

The configuration options for this type of action are:

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 are:

 

OPERATOR

SINTAX

AND

&&

OR

||

EQUAL TO

==

DIFFERENT THAN

!=

GREATER THAN

LESS THAN

GREATER OR EQUAL TO>=
LESS OR EQUAL TO<=

GROUP AN OPERATION

( )

 

EXAMPLES

VARIABLE_1>=8
 
VARIABLE_1>500 && VARIABLE_2>300

VARIABLE_1!=800 || VARIABLE_2==0