Twilio Studio Flow - Handle Custom Channel - twilio

Is it possible to integrate custom channels with Studio Flows?
From the documentation, it is possible to trigger a flow using a REST API for the flow.
But it is not clear how to send / get replies from the custom channel after the flow has started.

Twilio developer evangelist here.
Once you trigger a Studio Flow, everything else gets run through the Studio Flow. So you can't, for example, start a Studio Flow with a REST API Trigger by an incoming Twitter DM and then continue the conversation through Studio.

Related

Twilio Studio AND Twilio Messaging Service SAME number

https://gyazo.com/63cde836b15f181ab0d1cfa6e353d35c
I have two separate API's. One API I'm using the messaging service to bulk send messages to 1k users. Recently I've been experimenting with Twilio Studio and created another API to send a survey flow to customers where they could also reply to the incoming message and its get recorded in my db.
The issue here is, twilio studio wont read the customer's message if I have messaging service. If I remove the phone number from the messenging service, then twilio studio starts reading messages again. Is there anything in the config of messenging service that I can change so that I could have both concurrently?
Twilio developer evangelist here.
It sounds like you have this incorrectly configured such that you need to be using the Messaging Service when you send out the bulk messages as Studio will trigger and create a User based on Messaging Service + User as the To-From pair.
This tutorial from my former teammate Tilde on Using Twilio Studio and Conversations with SMS may be helpful.
Let me know if this helps at all!

Twilio SMS and Survey

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.

Using Twilio Studio Rest API V2

I'm wondering how can i use the Twilio Studio Rest API V2. In the below link, It is saying 'Studio v2 REST API is currently in pilot and available by invitation only.' how can i get the invitation?
The limitation of Studio Flow is that there can be only one developer working on a Studio flow at a time.
And there is no CI/CD through the Twilio Console.
Actually I'm wondering and searching for how can i integrate Twilio studio into CI/CD pipeline to automate Studio deployments and how can i enable multiple developers for working on same flow?
Does anybody know any tutorial about this subject? I didn't find on twilio docs.
https://www.twilio.com/docs/studio/rest-api/v2
Sounds looks a very solid use case. If you email help#twilio.com (with your Twilio Account SID) or from the Twilio Console, in the upper right corner, via the ? (see image below), submit a ticket, Twilio support should be able to route your request to the proper team within Twilio to enable this feature.
You can copy/paste your above question into the ticket.

Passing Users between Twilio Studio Flows

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.

get recordingSid in Twilio Studio Flow

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!

Resources