like-gold•16mo ago
End conversation
Hello, does anyone know why, when using Voiceflow prototype and reaching the ‘end conversation’ option in the flow, it indefinitely blocks the chatbot, preventing the possibility of starting another conversation? Or do you know how to restart it?
2 Replies
When using Voiceflow and reaching the 'end conversation' option in the flow, the chatbot may indefinitely block, preventing the possibility of starting another conversation. This issue can be resolved by ensuring the proper use of the End (Exit) step and managing the conversation state correctly.
1. End (Exit) Step: The End step in Voiceflow is designed to end the conversation without further messages. To achieve this functionality, place the End step at the desired point in your flow. This will automatically end the conversation.
2. Resetting the Conversation State: If you want to restart the conversation after it ends, you need to reset the conversation state. This can be done using the Delete State request, which force ends the conversation and resets the state. This allows the user to start a new conversation from the beginning.
Here’s a brief code snippet to reset the state:
3. Dialog Manager API: Use the Dialog Manager API to manage the state of the user conversation. This API allows you to send inputs to the Voiceflow agent and fetch responses based on your design. It also helps in managing the conversation state, enabling you to leave a conversation and pick it up later.
For more detailed information, you can refer to the following resources:
- Deploy Assistant
- Custom Actions
like-goldOP•16mo ago
How long does it take to re-enter a new conversation after closing the conversation with "end conversation"? Can this time be configured to be reduced from days to minutes?