Updated: 8/7/2024

How to create triggers?

On this page, you will understand how to create triggers within an intent.


Note: Article on triggers from the old bot creation format in Botmaker (Version 1.0). Today, the platform operates on Version 2.0.


An intent can be triggered in the following situations based on the following triggers:

  1. When understanding a user message
  2. Due to user inactivity time.


To learn how to create a trigger, you can watch the video and find the configuration below: How does the bot understand and respond to messages?



Static phrases

The bot will be limited in understanding these phrases and will only interpret small variations, such as global synonyms.


Phrases with variables

In this case, words marked as "important words" (they will turn red) increase the chances of understanding the request. In addition to global synonyms, selected variations of each word will be sufficient to trigger the intent.

TIPS:

  • Avoid using triggers with few keywords, as this will make the intent too broad and easy to trigger. They should not be confused with another request.
  • "Play" with activation possibilities: Keep in mind that you can duplicate an activation by deactivating an important word (Be careful not to let the intent expand!)




Triggers for user inactivity time

By activating an inactivity time trigger, the intent will automatically trigger when the preset timer is reached. The calculated time will be the period in which the user did not send anything to the bot. To use the inactivity trigger, follow the procedure in the video below:



Platform Screens

The following are screens for understanding user messages and user inactivity time.

Static or variable phrases:



Inactivity trigger:



If you forgot the concept of triggers, read the page: What is an intent?


Written By: Botmaker Team

Updated: 07/08/2024