I've created a flow in Twilio Studio, which I access via the Studio REST API. This flow makes a phone call and serves as a simple IVR. I would like to provide access to the recording of this call to my end users.
I would like to get the recordingSid returned to my application.
Is this possible? I see references to RecordingStatusCallback being passed as a parameter to the non-Studio REST API, but it appears that there is no support for this in the Studio REST API.
I think I can grab the CallSid from widget data and then show the list of recordings for that Call, but this isn't a seamless as being able to provide my users with a direct link to the recording.
Happy for any guidance.
Thanks!
Related
I using twilio flow to create simple chatbot that sends user a whatsapp message with link to provide some details and once user has provided the required details on web page, chat bot must reply with a THANKS message.
Is there anything like postback using rest api on active execution based on which a thank you message can sent.
Please have look on diagram as well.
Twilio developer evangelist here.
When you say you are using Twilio flow, I guess you are using Twilio Studio to send the messages. In this case, I don't think you can achieve what you want with Studio. You can't move an execution on with the REST API.
However, it should be fairly straightforward to send the thank you message from your application using the Twilio Messaging API instead.
What you will need to do is, when the user submits the form, in your back-end code as well as saving the data to your database, make a call to the Twilio API to send the WhatsApp message. I'm not sure what your application is built in, so I've just linked to the relevant documentation.
I am setting up a Twilio Flex acct and am wanting when a caller calls and lets say says or presses # 2 I want to ultimately take the callers phone number from the caller id and do a post to an external webpage. I am looking for documentation on this. Anyone have any suggestions?
The Twilio Studio flow I am having issues with it
Twilio developer evangelist here.
By default, incoming calls to a Flex number are directed through a Twilio Studio flow. The default flow passes the caller straight through to get assigned to an agent in Flex, but you can add other widgets to ask for input or direct the call any way you want.
One of the available Studio widgets is the Make HTTP Request widget which allows you to make an HTTP request to a URL of your choice. You can add data to the body of the request using the widget. To get the phone number of the caller you can use the variables set by the inbound trigger. In the case of the phone number of the caller, you need {{trigger.call.From}}.
I am attempting to make a browser to phone call using microsoft teams communication api. I have gone through the documentation here and it suggests to create a calling bot.
I'm not sure if registering the bot on teams is necessary as I don't want the bot to participate in calls I need it purely for initiating 1:1 calls (myself to another user)
Is it possible to make browser to phone calls using communications-api
Any sample guiding implementation of this functionality
I am using Twilio to communicate with my users via SMS. I have my own web application that reads the incoming Twilio message. I use a web hook for that purpose. I am able to read the incoming message and process it in my web application.
I would like to send out survey questions periodically during the day to the same number. I researched the Studio flow for this purpose. It looks like a good option to write a survey.
I have a doubt though. In twilio console I added my url as a web hook to receive all sms messages. If I build a studio flow then how do I use that. I already have a web hook but I also want to do a survey using the same twilio phone number. Is there a way to do this in Twilio.
What I want to achieve is I receive SMS from a twilio number all through the day using a web hook. Every 2 hours or so I would like to send out a survey question to the same twilio number and process the answer in my end. What is the best approach to do this? I use c# and .net core to write my web app.
Thank you
you can do this.
You would use the REST API path of the Studio Trigger widget of your Studio Flow, to kick off this outbound SMS. You can find more details below. The scheduling logic, every 2 hours, would be handled by your application logic.
Trigger a Twilio Studio Flow Execution via the REST API
Execution
We use the REST API trigger for the Appointment Reminder Studio example.
Hi im relatively new to Twilio, and love Twilio Studio.
However, Can someone clarify whether this is possible.
I have built a simple Welcome flow in studio receiving SMS messages no problem. An Autopilot widget processes the incoming messages to which i then send the reply to a specific Flow in Studio.
This all works amazingly well...until the user is in this specific Flow (let's say Flow A). Once in this Flow A, at some point I ask for input to redirect to another Flow B.
But when I test the response (via a Send and Wait for Reply widget) to get to Flow B (using a redirect) nothing happens.
Can Twilio not process or pass users between different Flows from SMS (or any messaging app)?
Twilio developer evangelist here.
Twilio Studio does not currently support passing users between flows. Currently the best thing to do is include all of your flow logic within the one flow and make decisions using the split widget.