Generic Input Action
This action will hold the conversation and validate user input against any given regular expression. Any input can be validated using this action. The conversation will hold until this user input is considered valid or if the user, when allowed, skips the question.
The action uses the following settings:
This action is halting the conversation. The chatbot is halted at the input point and will not proceed unless the conditions specified in the settings are met.
Text detection can happen in two different ways: using simple text or using a Regular Expression.
- Simple text The text you enter in Control Expression is directly matched with the user input. For example entering this is awesome will match any sentence containing that exact text. You can use a pipe (|) symbol to match multiple sentences. So to match this is awesome and this is great, you can enter this is awesome|this is great in Control Expression.
Regardless or the selected method, text detection is always case insensitive.
Reply Pick Mode options will pick a wrong reply (if more than one is specified) in the following way:
If the maximum number of wrong answers is reached the Successful User Input will still be triggered: you should check the contents of your Target Variable to verify if the input was successful or not.
Successful User Input. This action will trigger any child operation as soon as the user input is matching the specified Control Expression.
This action produces the following variables after being triggered:
Channel specific availability follows the table below: