Session in Dialogflow CX ends after 30 minutes and I'd like to send reminder to the end user after 20 minutes to answer the question. Can I do it in Dialogflow CX interface or it's only possible in my code? But then how do I detect intent of not responding?
Asked
Active
Viewed 172 times
0
-
I think this is possible with the Dialogflow CX client libraries. Are you currently using any client libraries? – Kabilan Mohanraj Jul 12 '22 at 06:43
-
I'm using python-dialogflow-cx client library https://github.com/googleapis/python-dialogflow-cx – crowlek Jul 12 '22 at 11:18
-
Can you update the question with the code where the `detect_intent` request is made? How are you constructing the text input? And what sort of reminder are you trying to send to the user? – Kabilan Mohanraj Jul 12 '22 at 11:42
1 Answers
2
Assuming that you are able to keep a track of the time that has passed (i.e. a certain amount of time has passed), you can define a custom event for that flow and then trigger that custom event via a detectIntent
request. Check out a similar approach over here.
I also suggest that waiting 20 minutes for an answer is probably indicating something towards designing an alternative experience. If its an IVR based bot, you could possibly look at the No Speech Timeout setting and then utilizing the no-input-default, no-input-1/2/3 events that get fired too.

Romin
- 8,708
- 2
- 24
- 28