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 Type — Template.
You can use up/down arrow navigation to move the event.
To delete an event, click on the Delete Button.
Template for a specific word
- Add and name Template.
- In Properties, specify Type — Text and its Value — the text that the bot responds to.
- 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
- Add and name Template.
- In Properties, specify Type — Regular Expression and its Value — the required regular expression. Specify Variable Name — an arbitrary variable. If necessary, set regular expression flags.
- In Action, specify Type — select whether any Screen or Text will be sent to the user.