- Get link
- X
- Other Apps
This conversation element can be used to validate the current value of any variable . Why validate a variable? You may need to validate the value of a variable for a number of reasons. Suppose you have a script in which you ask the end-user, their age. You may use their age to show products that are relevant to that age group. Let's assume you stored the value of the end-user in a variable name "UserAge". In order to show age-related products, you need to validate the variable using this conversation element. e.g. If the value of "UserAge" is greater than, let's say 20, show products that are relevant to adults, otherwise show products relevant to teenagers. Configuring this Element? Click on the "Validate user input" icon to add this element to your auto-reply script. Once the "Validate the input" element is added to your bot design, click on the "cog" to open the settings page. On the settings page, select the variable whose