Hi,
When take any action after session timeout in Google Dialogflow CX it responses “Unknown”.
How can I handle and manage after session timed out?
For example I want response a specific message when session timeout.
Thanks.
Hi @oozturkplus ,
Welcome to Google Cloud Community!
Dialogflow CX itself doesn’t offer a direct way to trigger a custom response at the moment of timeout. Instead, the solution requires a two-pronged approach:
- Client-side code to monitor session activity and send a custom event to the Dialogflow agent shortly before the expected timeout.
- Custom event handler within the Dialogflow agent to respond with a specific message when that event is received. This prevents the default “Unknown” response and provides a better user experience.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
1 Like