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.

Settings

The action uses the following settings:

Remarks

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.

  • Regular Expression Xenioo supports standard Regular Expression notation. The input text will be matched against the regular expression specified in Control Expression.

Regardless or the selected method, text detection is always case insensitive.

Simple and Regular Expression mode is automatically detected by Xenioo at runtime, depending on the content of the Control Expression field. Regular Expression mode is automatically triggered by any characters (except pipe) that can be used to build a regular expression.

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.

The "Display as Password" flag has no effect on any platform but Web. On any other platform the user will see the typed text in the chat log.

Trigger

Successful User Input. This action will trigger any child operation as soon as the user input is matching the specified Control Expression.

Variables

This action produces the following variables after being triggered:

Availability

Channel specific availability follows the table below:

This action can be used only inside interactions and not as child of other actions. Any account can use this action regardless of subscription level.

Further Reading

Last updated