How to Trigger Different Dialogflow Intents on Different pages

Taiwan Data Forum trends and innovations
Post Reply
mouakter11
Posts: 370
Joined: Wed Dec 18, 2024 4:20 am

How to Trigger Different Dialogflow Intents on Different pages

Post by mouakter11 »

Dialogflow has this amazing feature called “Events’’. Apart from user inputs, events are also used to trigger intents. Any Intents with the event name listed in the “Events” section will be triggered when an event occurs.

A good example of this is the default WELCOME event that is already included in the Dialogflow. This event is triggered whenever a new user starts chatting with the bot. Basically custom events are events that you define. You can invoke these events using either fulfillment or the API.

Screenshot of the Dialogflow "Events" section, showing an self employed data input field labeled "Add event."
The following tutorial will show how to trigger different Dialogflow intents on different pages.
With the help of the Kommunicate user interface, I will demonstrate how the conversation flow works. Please check the link to find out how to integrate Kommunicate with Dialogflow.

Custom intent does not require training phrases, as it will be triggered by the event, and will respond with programmed responses or fulfilment. And in this case, Kommunicate uses the “customWelcomeEvent” parameter to trigger those intents.

Kommunicate triggers the “Default Welcome Intent” configured in the Dialogflow console, when a new conversation is started and routed through the Dialogflow bot. However, you can customize the dialogflow intents and set different messages for your conversations dynamically. You can create events on the Dialogflow console and pass the event in “customWelcomeEvent” parameter.
Post Reply