Python-powered chat apps with Twilio and SendGrid Transcripts
Chapter: Messaging and workflows with Twilio Studio
Lecture: Intro to Twilio Studio

Login or purchase this course to watch this video and the rest of the course contents.
0:00 We're going to use Twilio studio to build our first workflow.
0:04 Let me make this full screen because everything we're going to do is 100% in this
0:08 application here. So we're not going to be jumping between apps.
0:10 Let's give us all the space we can get,
0:12 and we're gonna go over here and create one of these cynical in my first flow
0:15 How about Cloud City? The name you'll see?
0:18 It doesn't really matter. Just use something that's meaningful to you. Now there's a whole
0:23 bunch of different types of workflow templates that we could choose to get started from
0:28 so we could have appointment reminders. We could have a messaging chat bot we could have
0:32 call forwarding. We could do JSON stuff so these blows can be exported to JSON
0:37 and they could be reimported here if you want to maybe store some stuff and GitHub
0:40 and then use it to generate something here and so on.
0:44 But what we're gonna do is just start from scratch.
0:47 Now, over here we have a nice bit of help from one of the twilio
0:51 evangelists, and that's great. I encourage you to watch this video when you get
0:55 started, but we're not gonna do it.
0:56 During this course, when we first get started,
0:59 we need to figure out what is going to kick off this workflow.
1:02 And that's the trigger. So we could listen to an incoming message.
1:06 That's what we're gonna do. That's our WhatsApp.
1:07 Hey, I need cake message coming in or we could listen to a phone call
1:11 or somebody could call a REST in point.
1:14 Our application can call a REST in point,
1:16 which could start this whole flow that does whatever it does,
1:19 does phone calls, does messaging and so on,
1:22 We're just going to focus on this particular trigger to get things started over on the
1:27 right. We have a flow chart like things, you can make that a little bit
1:31 bigger. We can have split based on.
1:34 That's like a if statement, we can define variables.
1:37 Maybe we've called an API,
1:38 and we want to hang on to that response and,
1:41 maybe parse it apart.
1:42 We're going to do that. We have our voice,
1:44 which we're not going to do,
1:45 but we have our messaging, which we can send a message and then carry on
1:49 doing things or we can send a message and pause the workflow until some work happens
1:53 We're also going to be doing things like making http requests over to our various
1:59 API endpoints and external API's as well.
2:03 So the interesting parts for us are going to be around the flow control,
2:07 the messaging and executing API and point calls.