typical-coral
typical-coral2y ago

How to terminate the session on global no reply?

Currently when I set a global no reply to say X secs. Then upon not replying after X secs the no reply message comes, then after another X secs the session ends. I am expecting after X secs the no reply message to come and the session to end immediately after that. Please check the attached video.
2 Replies
Tico | Voiceflow Assistant
To terminate the session immediately after a global no-reply, you would need to handle this on your client calling the API. This would require a timer function that detects if the user has not responded within the timeout number of seconds. In this case, the next request is simply null to denote that the user has not replied, and the API will handle the following logic:
{
"action": {
"type": "no-reply" // BaseRequest.RequestType.NO_REPLY
},
// state, config, and other metadata here
}
{
"action": {
"type": "no-reply" // BaseRequest.RequestType.NO_REPLY
},
// state, config, and other metadata here
}
This will ensure that the session ends immediately after the no-reply message is sent, rather than waiting for another timeout period. For more details, you can refer to the documentation here.
typical-coral
typical-coralOP2y ago
If I were to configure it from the canvas only then how to do it?

Did you find this page helpful?