Python-powered Chat Apps with Twilio and SendGrid Transcripts
Chapter: Messaging and workflows with Twilio Studio
Lecture: Gather personal info (name, email, etc)

Login or purchase this course to watch this video and the rest of the course contents.
0:00 So we're almost done. We've got the price through our API. We've confirmed it. They said yes, we do want this. Well,
0:07 we asked them the question over here. We confirm it with our split based on,
0:11 and I've gone ahead and just added the final couple of steps, we need to ask them for their Name. We need to ask them for their Email,
0:19 and then we're ready to send that off to our Python application to begin the whole process of placing the order, sending their receipts and so on.
0:27 So I've simply asked the question. Send and wait for Reply. Excellent. To place the order, we're gonna need a lot info.
0:34 What's your name? And then make a little personal like, Nice to meet you, Michael. Now tell me you're Email address. And then finally we thank them.
0:42 Your order has been placed. Not really. See you soon and it will be under your name and your Email. The reason it says not really,
0:49 is that functionality is not in place yet. And that's going to be written in Python over on our Dev machine.
0:56 Not appear in the cloud, at least not within twilio studio. So let's do a final test to make sure this is working.
1:02 And then we'll be ready to start writing some Python code to interact with these endpoints back here in WhatsApp. Say,
1:09 yo!, Greetings Greetings. How about a small cake? Because you probably have a belly ache from all that rainbow cake.
1:16 I do. That's why I'm going for vanilla. I'm gonna get some cream cheese on there. And how about it's hard to turn down some good Sprinkles,
1:25 so we'll get a small vanilla cream cheese cake with Sprinkles on top. Do some pricing. How much that cost? Let's find out cool. That's 14 coins.
1:32 A pretty inexpensive cake, it seems. Do we want to place it? Yeah, sure. We'll place it excellent to place your order.
1:41 We need a little info from you first. How about your name? My name is Michael. Great. Nice to meet you, Michael. Cool. Little personal touch,
1:49 huh? How about that Email address? Michael at So far, it doesn't matter. We can just put arbitrary stuff in here,
1:57 but eventually, when we start communicating back over email, you want to have a real email address here? Awesome. Your order has been placed?
2:05 Not really. See you soon it will be under Michael with email. Pretty awesome, huh? We've got our entire workflow.
2:15 And we spent a lot of time and energy over in twilio studio, which was great. We were able to build this nice interaction,
2:23 but you'll see from here on out, we're going to be just handing a couple of things off to the Python side of
2:28 things that would be writing a lot of Python code and doing most of the remaining
2:31 work processing, the order notifying of the order complete and so on in Python code
2:36 it'll just require a little bit of integration between Twilio studio and our web app

Talk Python's Mastodon Michael Kennedy's Mastodon