respond-io
New
🚀 TikTok Business Messaging is live! Turn conversations into conversions seamlessly. Learn Morearrow-icon

Home >

Integrations >
Dialogflow >
Dialogflow: Events

Dialogflow: Events

Avatar
Susan Swier
· 28 Feb 2023
less than a minute read

Use events to trigger Dialogflow intents.

Aside from user input, 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.

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_[PARAM] or REF_START_[PARAM] are triggered when the user arrives from a parametric URL.

Example: m.me/respondio?ref=[PARAM].

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: REF_PARAM

Referring to the example above, if you want to trigger an intent from m.me/respondio?ref=medium , add REF_MEDIUM to the intent's event configuration.

Bear in mind that the REF prefix is not necessary for the WELCOME event as this event is a default event built into Dialogflow.

Share this article
Telegram
Facebook
Linkedin
Twitter

Related articles 👩‍💻

Dialogflow: Parameters
Learn how to use custom Dialogflow parameters for multiple use cases.
Dialogflow: Custom Payloads
Learn about supported Custom Payloads on respond.io.
Dialogflow Overview
Get an overview of how to use Dialogflow with respond.io.
Dialogflow: Fulfillment Webhook Request
Learn how to use fulfillment webhook requests to pass data from respond.io to Dialogflow.
Dialogflow: Response Templates
Learn how to use Response Templates to send responses to Contacts.

Can't find what you're looking for? 🔎