Dialogflow Events
Using events to trigger intents.
Last updated
Was this helpful?
Using events to trigger intents.
Last updated
Was this helpful?
Aside from user inputs, events also used to trigger intents. Any intents with the event name listed under the βEventsβ section will be triggered when an event occurs.
A good example of this is the default WELCOME
event, which is already built into Dialogflow. This event is triggered whenever a new user begins chatting with the bot.
Any intents with the events for REF_[REF]
or REF_START_[REF]
are triggered when the user arrives from a parametric URL such as m.me/chatbotmalaysia?ref=[REF_PARAM]. The β[REF]β in the event input is replaced with the parameter at the end of the URL.
These can be useful for creating customized welcome intents.
Whenever Dialogflow receives location coordinates, the LOCATION
event is triggered. This is useful for intents confirming to the user that the chatbot has received the information.
You can read more about sending location requests using Dialogflow here.