Configure custom events in Dialogflow CX
For information about custom events, see https://cloud.google.com/dialogflow/es/docs/events-custom.
| 1 |
In the Dialogflow CX console, choose the project and the agent. |
| 2 |
In the CX agent screen, go to the Build tab. Choose the required flow and the required page (Start/End Flow/End Session) in this flow in which a fulfillment is needed from the contact center application. The selected page details appear.
|
| 3 |
Under the Routes section, define a route and conditions that satisfy the custom exit criteria for triggering the transition. |
| 4 |
In this route, under Fulfillment section, click Add dialogue option and choose Custom payload. Define a custom payload only. Do not add any other dialogue options. |
| 5 |
Add the custom payload of type
|
| 6 |
Choose Page in the Transition section to set the transition to the same page when the flow resumes. |
| 7 |
Create an event handler and provide the event name in the flow builder application. For more information, see https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/EventHandler. |