Reputation: 25
I trigger studio flow using REST API along with From and To parameters. In case of To number does not answer or call is failed, I need to try another number. How can I implement this ? Make Outgoing Call widget does not let modifying To parameter.
Upvotes: 0
Views: 434
Reputation: 73029
Twilio developer evangelist here.
A Studio flow execution is intended to represent one call, either the incoming one from the incoming call trigger or an outbound one from the REST Trigger. So, you can't trigger a new call to a different number from within the same flow.
What you could do instead is use a Function Widget to call a Twilio Function that then triggers a new Studio flow execution with a new To
number.
Upvotes: 2