Using Twilio Studio Rest API V2 - twilio

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.

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 Studio Flow - Handle Custom Channel

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.

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.

integrating watson chatbot with chatbase

I a beginner with IBM watson. I know that we can integrate bot build in dialogflow/ API/AI with chatbase and both are the services provided by google. I need a clarification on whether I can integrate it with the bot created using watson.
I have implemented a twitter bot in watson, I used NodeJs and the package watson-developer-cloud from https://www.npmjs.com/package/watson-developer-cloud. For chatbase I found a package called #google/chatbase.
I want to integrate my twitter bot with chatbase(if possible). Hope somebody can direct me in doing this.
Yes, Chatbase integrates with any type of bot (voice or text), built on any platform, via the Chatbase API. See this quickstart: https://chatbase.com/documentation/quickstart#documentation

Twilio calls integration to ios app without server app

This must be a silly question, but is there any way to make calls btw two iOS apps without server app mentioned in Twilio tutorials. Tell me please what server app does and is there any way to perform such tasks on front end instead?
Twilio developer evangelist here.
The server is required to generate an access token for your users to get access to the Twilio service.
You also need to host some TwiML to tell Twilio what to do with calls when you make them.
If you are not interested in running a server, however, you are in luck. Just recently, Twilio launched Functions, a serverless environment for you to deploy code to. With a Twilio Function, you can use Node.js to generate your access tokens for your users and you won't have to host the code yourself, it will all be on the Twilio platform.
Check out Twilio Functions in your console and take a look at the Node.js quickstart application for the iOS Twilio Programmable Voice SDK which should give you an idea of how to use Node for your application within Functions. I'm sure there'll be tutorials and blog posts coming out. Also, check out this video on how to create access tokens for your apps with Twilio Functions.
Let me know if that helps at all.

Resources