Action usage
Input action is used to get input from the user. The input can be free or constraint with regular expression. You can use the action by drag and drop it from the actions menu (or simply by clicking on it). Inside its configuration menu, you can choose the parameter name that will be used to save the user input, validation regex expression if needed, and the connection to the next action:

If validation failed the action will fallbacks. If there is no validation expression defined then fallback will not happen. Optionally you can also modify action name and add some notes.
Note: Our system supports predefined regular expressions, just type # inside "Validation regex expression" and I menu will appear with supported types which are:
- Phone number
- Email
- License Pallete
There is a drop list near the validation regex expression which is regex expression flags that affect the search as next:
If you would like to learn more about flags, see What is Regular Expression (Regex)?.
Behavior
Input action is designed to get text input from the user, so in case of a connect message, it will do nothing. In other cases it will behave with the next step in order:
- Will check a user input match in global keywords, and if the match exists it will continue the flow to the connection specified in that global keyword.
- Will check the user input and if there is no regular expression or the input matches the regular expression constraint it will save that input and continue the flow, in case of regular
- Will fallback if the input didn't match the regular expression constraint, in that case, if the fallback count defined it will keep sending the local or global error message until the count is finished then it will continue the flow to the fallback connection.
Defining a delay for this action will delay continuing to the next action (Either if its the input action connection or the fallback connection).
Related Articles
How to Use Integration Action
Action usage Use the integration action when you want to call an HTTP integration endpoint to achieve some custom business needs. You can process the parameters saved during the life cycle of the assistant, and either only store them out in some ...
How to Use Selection Action
Action usage Selection action is used to send a bot selection message to the user. The selection may be through cards, buttons, or keywords by mapping the user response to one of them. You can choose optionally a name for your Selection action, and ...
How to Use Zapier Action
Action usage Zapier action is used when you want to integrate MindBehind with other famous platforms onlinei thanks to Zapier wide market. This action will send the current assistant state to Zapier for any custom further actions you want to do with ...
How to Use AI Action
Action usage AI action helps user to create a comprehensive conversation without too much effort. MindBehind supports three AI providers: Google DialogFlow, IBM Watson and Microsoft Luis. After connecting to a provider, the page fills up with ...
How to Use Wait for Action
Action usage Use the wait for action when you want to control the assistant behavior from your outside system. The story begins by drag and dropping (Or simply clicking on) the Wait for action from the Actions menu on the left side of your assistant ...