Using events to trigger intents.
Aside from user inputs, events are also used to trigger intents. Any intents with the event name listed under the “Events” section will be triggered when an event occurs.
The Events Section on Diaglogflow
A good example of this is the default
WELCOMEevent, 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_START_[PARAM]are triggered when the user arrives from a parametric URL. Example :
If you would like a custom parameter to trigger a Dialogflow intent, please ensure the parameter has a prefix of
REF_on the intent's event configuration. Example :
Referring to the example above, if you want to trigger an intent from
REF_MEDIUMto the intent's event configuration.