How to create triggers?
In this section, you will learn how to create triggers within an intent.
Estimated Reading Time: 05 minutes
Intent can be activated in the following situations according to these triggers:
- Incoming user message.
- User inactivity.
To learn how to create a trigger, watch the following video and find the setting below:
Static Phrases
The bot will be restricted in understanding these phrases, and only little variations will be interpreted as global synonyms.
Phrases with variables
In this case, the words marked as “important words” (will turn red) will increase the chances of understanding the request. Besides the global synonyms, the selected variations of each word will be sufficient to activate the intent.
TIPS:
-
Do not use triggers with few keywords, as you’ll make the intent to wide and easy to trigger. They should not be confused with another request.
-
Never set an intent with only 1 keyword. This increases the changes of having false positives. User intents are never expressed using one word. Therefore, leave one word messages to trigger topics but not intents.
Inactivity Triggers
By using this type of trigger, the intent will automatically be triggered when the preset timer is reached. The computed time will be the period in which the user did not send anything to the bot.
For using the inactivity trigger, follow the instructions video below:
Platform screens
The following are the displays for understanding the user messages and their inactivity time.
Static or variables phrases:
Inactivity Triggers
If you missed the concept of triggers, read the page: What is an intent .