Dialogflow Events

Using events to trigger intents.

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.

Parametric URLs

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.

Location Events

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.

Last updated