Condition Action
The Condition action displays the following options:
- If response: This dropdown allows you to select the type of response your Flow will require from the user. The following answers are available:
- Contains Keywords: This allows you to enter a set of keywords that the user might enter to continue the Flow.
![Yalo Studio (8).png 946](https://files.readme.io/3578ac2-Yalo_Studio_8.png)
Flow Builder - Condition action default options
The Contains keywords visual action is case insensitive.
- Matches intent: This allows you to enter an intent from a previously defined library. Intent detection is the set of capabilities that enable flows to understand a user's intention when expressing something to the Flow in natural language, used to understand basic commands and questions.
![Screen Shot 2021-10-11 at 11.26.56.png 929](https://files.readme.io/6c80bab-Screen_Shot_2021-10-11_at_11.26.56.png)
Flow Builder - Matches intent option
- Matches regular expression: A Regular Expression (Regex) is a rule which considers words in which users refer to specific concepts. This allows you to take users to a particular step in a Flow depending on which word they write. For example, to affirm something, users can write âyesâ, âyahâ, âyeahâ, âyepâ, etc., and even those words with exclamation marks.
The following example shows a simple request to enter a customer number. Any set of numbers matching the requirements will allow the Flow to go to the next step.
![Regex.png 1250](https://files.readme.io/28d6275-Regex.png)
Flow Builder - Matches regular expression option
- Matches format: This field allows you to let the user enter media files.
![Screen Shot 2021-10-11 at 11.29.28.png 943](https://files.readme.io/79143b4-Screen_Shot_2021-10-11_at_11.29.28.png)
Flow Builder - Matches format option
- Save a variable: This allows you to save the user's response
![c53ce3f-Yalo_Studio_13.png 894](https://files.readme.io/dfe6a69-c53ce3f-Yalo_Studio_13.png)
Flow Builder - Save variable
- Save custom value: This allows you to declare any value to save in an attribute.
![8d13873-Yalo_Studio_14.png 892](https://files.readme.io/a50e3c9-8d13873-Yalo_Studio_14.png)
Flow Builder - Custom value
The following example shows variables for locating a restaurant within a specific radius. The variables are called: businessName
, businessType
and radius
.
![Yalo-Platform (43).png 1227](https://files.readme.io/364eaa6-Yalo-Platform_43.png)
Flow Builder - Custom Variables
- Go to: This field allows you to enter the step to which the Flow will move forward.
Value type
Values in the Save variable parameters are saved as type
String
by default.
Updated almost 2 years ago