Template

Template Event is triggered by the text sent by the bot user. To call the event, you can add both a separate word and a regular expression.
This is necessary for bot testing (you can quickly navigate between different screens). You can also use the event for restarting the bot (on Facebook, Viber, VK, Odnoklassniki platforms). A user will also be able to navigate to the desired screen regardless of the bot place by a code word (for example, to call a chat with an operator).
To create Template, go to Settings → Events and click Add Event. Enter the event name and select Template type.
To delete an event, click on the cross in the upper-right corner.

A Template for a Specific Word

1. Add and name Template.
2. In Properties, specify Type — Text and its Valuethe text that the bot responds to.
3. In Action, specify Type — choose whether any Screen or Text will be sent to the user when Template is triggered.

Template for a Regular Expression

1. Add and name Template.
2. In Properties, specify TypeRegular Expression and its Valuethe required regular expression. Specify Variable Name — an arbitrary variable and Variable TypeArray or String (you can not use it if there is no need to write input). If necessary, we set Regular Expression Flags.
3. In Action, specify Type — select whether any Screen or Text will be sent to the user.