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. Let me make this full screen because everything we're going to do is 100% in this
0:09 application here. So we're not going to be jumping between apps. Let's give us all the space we can get,
0:13 and we're gonna go over here and create one of these cynical in my first flow How about Cloud City? The name you'll see?
0:19 It doesn't really matter. Just use something that's meaningful to you. Now there's a whole
0:24 bunch of different types of workflow templates that we could choose to get started from
0:29 so we could have appointment reminders. We could have a messaging chat bot we could have
0:33 call forwarding. We could do JSON stuff so these blows can be exported to JSON
0:38 and they could be reimported here if you want to maybe store some stuff and GitHub and then use it to generate something here and so on.
0:45 But what we're gonna do is just start from scratch. Now, over here we have a nice bit of help from one of the twilio
0:52 evangelists, and that's great. I encourage you to watch this video when you get started, but we're not gonna do it.
0:57 During this course, when we first get started, we need to figure out what is going to kick off this workflow.
1:03 And that's the trigger. So we could listen to an incoming message. That's what we're gonna do. That's our WhatsApp.
1:08 Hey, I need cake message coming in or we could listen to a phone call or somebody could call a REST in point. Our application can call a REST in point,
1:17 which could start this whole flow that does whatever it does, does phone calls, does messaging and so on,
1:23 We're just going to focus on this particular trigger to get things started over on the
1:28 right. We have a flow chart like things, you can make that a little bit bigger. We can have split based on.
1:35 That's like a if statement, we can define variables. Maybe we've called an API, and we want to hang on to that response and, maybe parse it apart.
1:43 We're going to do that. We have our voice, which we're not going to do, but we have our messaging, which we can send a message and then carry on
1:50 doing things or we can send a message and pause the workflow until some work happens
1:54 We're also going to be doing things like making http requests over to our various API endpoints and external API's as well.
2:04 So the interesting parts for us are going to be around the flow control, the messaging and executing API and point calls.

Talk Python's Mastodon Michael Kennedy's Mastodon