I have a Twilio Studio Flow that is triggered through the REST API. Within the flow, I use a “Send and Wait for Reply” widget to wait for a user’s response.
The issue I’m encountering is that when the user replies, both the “Send and Wait for Reply” widget and the entire Studio Flow are triggered by the new incoming message/conversation. This leads to the flow being triggered again instead of handling the reply within the existing session.
Here’s a summary of my setup:
- I trigger the Twilio Studio Flow via REST API.
- The flow contains a “Send and Wait for Reply” widget.
- When a user replies, both the “Send and Wait for Reply” widget and the entire Studio Flow are triggered by the new incoming message/conversation.
I expected that once the “Send and Wait for Reply” widget is active, the user’s reply would be handled within the same session and not trigger the entire flow again.
Has anyone experienced this issue or have any insights on how to ensure that replies are handled correctly within the active session without re-triggering the entire flow?
Any help or suggestions would be greatly appreciated!
1