Twilio Flow replying to "Send and wait for reply" not triggering next widget

Viewed 453

I'm trying to set up a Flow with a Send and wait for reply widget (triggered with the REST API), however, the reply doesn't seem to trigger the next widget (handle_welcome...) and instead triggers the Incoming Message for the Flow (handle_incoming...).

Is there a way to set up a Flow so that it knows that the received SMS is a reply and not just a generic Incoming Message?

Here is a screenshot of the flow: Flow

I only have one number set up and that is set to trigger the Studio Flow on an incoming message.
Also, I'm not sure if it makes a difference but I have Concurrent calls trigger enabled.

2 Answers

Make sure that you do not have the phone number associated to Service. I had created a service, associated the number and that seems to have short circuited the flow. I logged a ticket with Twilio and they kindly instructed me to remove it. Once I removed it, the flow worked as expected:

  1. Remove the number (:warning: if this is not required for your service. Else, purchase a new number and use that with your flow) Twilio Service

  2. Click Remove remove phone number from service

References

To use the REST API trigger with a subsequent wait and reply widget, the phone number you send from can not be associated with a messaging service. Remove that association and then you will be able to use the flow with both REST API trigger and incoming message trigger.

Related