Python-powered chat apps with Twilio and SendGrid Transcripts
Chapter: Sending outbound text messages
Lecture: The messages we can send, and the ones we can't

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Now, before we go and write the message we want to send,
0:02 we need to talk for just a moment about sandbox message templates.
0:07 What are those? It turns out that WhatsApp doesn't want you to arbitrarily start spamming
0:12 people, Surprise, Surprise Right?
0:15 While we're in this sandbox mode,
0:17 we can only send a couple of messages so we can send your some piece of
0:22 information, code is something your appointment is coming up on at such and such place or
0:29 your blank order of whatever has shipped.
0:32 And it's to be delivered on whatever day with some more details.
0:36 Outside of that, you have to go to WhatsApp and have your messages approved in
0:41 this template format. It also says there's this 24 hour window.
0:46 So if you have a conversation with somebody and they interact with you,
0:50 you have 24 hours to send them whatever you want.
0:53 Like, we have a small, medium and large cake.
0:56 What size of that cake would you like?
0:58 Right that is good for 24 hours.
1:00 But if days are going to go by and then eventually their cake is ready and
1:04 we want to tell them we're going to have to in this horse.
1:07 And this test mode and this development mode probably use something like this for our format
1:12 in practice. What you would do is you would go to WhatsApp.
1:15 You'd get something verified. You can click here and say,
1:17 Learn more about templates and there's a whole section on how to go through and do
1:21 that. But what you need to do is get the types of messages that you
1:24 want to send as a inbound message to the user outside of the 24 hour window
1:29 You got to get that approved.
1:31 So we're just gonna go with something simple like this to make sure that it's going
1:34 to work. Your cake code is ready for pickup, or something weird like that.