The chatbot understands how to treat the variable by comparing the user-defined value to the control one. After this comparison the bot decides how to proceed. Just add ?
sign before the variable name.
Click icon to copy this map or open it in
In certain cases it is necessary to check if the variable exists at all. For this purpose simply type ?VariableName
. To find out whether the variable is a number, type ??VariableName
.
Click icon to copy this map or open it in
To delete the variable from UX, add the %Variable=null
node.
It is always a good idea to vary the conversation flow. To do so there might be different options to say hi.
@case random
selects a random node and follows it.
@case %variable
moves to the node number given in %variable or returns to the @default node.
Click icon to copy this map or open it in