Python-powered Chat Apps with Twilio and SendGrid Transcripts
Chapter: Messaging and workflows with Twilio Studio
Lecture: Twilio dashboard
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
To begin building our application. We're going to start over on twilio.com, and you need to create an account.
0:07
It's free, but you have to set one up, since I've already logged in. If I click log in, it takes me straight to the Twilio dashboard.
0:14
And over here there's a couple of things you can use to manage your account and notice. I have a few things that are stuck to the side that might not
0:21
show up in yours. So the first thing that we want to do is actually
0:25
find the relevant sections because there's many things you can do over here in the twilio
0:29
dashboard, and we want to pin those, so we can just quickly jump around them and not get distracted with other stuff. So if you expand this out,
0:36
what we want to do is we're gonna pin programmable messaging. Just click that so we we pin that one.
0:44
If you scroll down, we're going to use the studio to develop our workflow and our message exchange. Once we've done,
0:50
those two things should have them pinned on the left. In the messaging Section though does a little information about what's been going on.
0:59
A few errors we may have had potentially as we're developing our application,
1:04
Now the part that's going to be relevant for this course is under the try it out section and we can do SMS text messages.
1:11
But we're going to do whatsApp. Now In order to use WhatsApp, you have to set up your account.
1:18
You have to come over here and you have a unique joint code for this number here. What you need to do is find that code and text it to this
1:27
number you can see down here. It says your sandbox for a particular WhatsApp account is valid for three days and worked
1:34
on it for a while. It's going to expire, and you have to come back and reactivate it with this same code.
1:38
So it says, we're waiting for you to send a message. Let's go and do that. Now you saw I was already working with this earlier
1:46
so it's actually okay, but just to take you through the workflow, I'm going to send that message here, as it's fantastic.
1:54
You're all set. You can now send and receive to this particular message. You can reply Stop to make it stop or if you wait too long,
2:02
it's going to expire, right, So now we're going to be able to interact with this. As we develop our application through our WhatsApp account,
2:10
you'll notice here that I'm using WhatsApp the desktop version. But of course, you can use it from your phone or your tablet or whatever
2:15
It doesn't really matter. The app you're using to send the WhatsApp messages. And there it is. Message received.
2:22
So we've pinned are programmable messaging and we've set up our WhatsApp sandbox here. The other thing that's interesting is studio,
2:30
which we pinned, and this is where we're going to build out our application, notice It has our recent workflows.
2:37
This is the one I built ahead of time to show you what's going on. We could delete it. It opened the logs and in the logs,
2:43
you'll actually see running workflow. So here's somebody who is partially through one of these
2:47
workflow conversations, and you can actually stop it to reset it. But what we're gonna do is we'll go create a new one,
2:54
a cloud city one, that will build up through this entire course, so those are the three things. Well, two things.
3:00
So we've got our dashboard, but we also need to pin programmable messaging and enable our WhatsApp sandbox for our particular account.
3:07
And then we're going to use studio to create these workflows that orchestrate the messages that
3:12
come in from WhatsApp, interact with the various API's and send messages ultimately over to our Flask web app.