System Requirements

  • A Twilio account and a smartphone with an active phone number and WhatsApp installed.
  • Must have Python 3.9 or newer installed in the system.
  • Flask: We will be using a flask to create a web application that responds to incoming WhatsApp messages with it.
  • ngrok: Ngrok will help us to connect the Flask application running on your system to a public URL that Twilio can connect to. This is necessary for the development version of the chatbot because your computer is likely behind a router or firewall, so it isn’t directly reachable on the Internet.

Building WhatsApp bot on Python

A WhatsApp bot is application software that is able to carry on communication with humans in a spoken or written manner. And today we are going to learn how we can create a WhatsApp bot using python. First, let’s see the requirements for building the WhatsApp bot using python language.

Similar Reads

System Requirements:

A Twilio account and a smartphone with an active phone number and WhatsApp installed. Must have Python 3.9 or newer installed in the system. Flask: We will be using a flask to create a web application that responds to incoming WhatsApp messages with it. ngrok: Ngrok will help us to connect the Flask application running on your system to a public URL that Twilio can connect to. This is necessary for the development version of the chatbot because your computer is likely behind a router or firewall, so it isn’t directly reachable on the Internet....

Getting Started

Step 1: Set up the Twilio account using the Twilio WhatsApp API....