Hi,
I use Google Dialogflow CX.
If there is no user activity in 30 seconds I want to terminate chatbot session.
There are examples or documentation as below, I tried somethings
but didn't work.
https://cloud.google.com/dialogflow/cx/docs/concept/session#long-lasting
If you have a concrete example which is work, please share with me.
Thanks.
Hi @oozturkplus,
Welcome to Google Cloud Community!
Dialogflow CX does not have a built-in mechanism to automatically terminate a session after 30 seconds of inactivity. The documentation you referenced discusses extending session lifespan, not shortening it. To implement a 30-second inactivity timeout, you will need to create a custom solution outside of Dialogflow CX. This involves integrating your Dialogflow CX agent with a custom application (such as a web application or serverless function) that handles the session timeout logic. Here are some approaches you can consider:
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.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |