Home / Companies / Twilio / Blog / Post Details
Content Deep Dive

Building a WhatsApp Recipe Bot with Python, Flask, MongoDB and Twilio

Blog post from Twilio

Post Details
Company
Date Published
Author
Philip Obosi
Word Count
1,596
Language
English
Hacker News Points
-
Summary

We built an application that provides information on food and recipes to users over WhatsApp using Twilio, Python, Flask, and MongoDB. The user journey involves sending a message with the name of a recipe and receiving a response with instructions to prepare the meal. We set up the Twilio WhatsApp sandbox, created a database with dummy recipe data, and wrote code to handle searches and send messages. We also exposed the application over the internet using ngrok and tested it by sending a message to a phone number.