We are trying to have a phone flow where the customer calls in and in the end they receive a text message asking for their name, which they respond to, and then receive a response asking another follow-up question. An example below:
- call
- Us: (SMS) Thanks for participating! What is your name for our website?
- Them: (SMS) John Smith
- Us: (SMS) Thanks John Smith!Would you like to be notified when it is online?
- Them: (SMS) Yes
- Us: (SMS)Take care!
We have structured this by having a Send & Wait widget which sends the initial message for the name and another one for the notification message.
We disabled the concurrent callers feature such that the user is kept in the same session, but this creates other issues. In order to try and solve these issues, we have written code that terminates executions for completed calls. But this code appears to be too large to run for the Twilio call handle POST link.
We were wondering what advice you might have for constructing a flow like the one described above and how we could best accomplish that considering what different options we've done.
Thanks!