From your Twilio Console, select Programmable SMS and then click on WhatsApp. Let’s connect your smartphone to the sandbox. Once your application is complete you can request production access for your Twilio phone number, which requires approval by WhatsApp. Twilio provides a WhatsApp sandbox where you can easily develop and test your application. You can review the features and limitations of a free Twilio account. If you are new to Twilio create a free account now. A smartphone with an active phone number and WhatsApp installed.If you don’t have ngrok it installed, you can download a copy for Windows, MacOS or Linux. 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. We will use this handy utility to connect the Flask application running on your system to a public URL that Twilio can connect to. We will create a web application that responds to incoming WhatsApp messages with it. If your operating system does not provide a Python interpreter, you can go to to download an installer. To follow this tutorial you need the following components: Below you can see an example interaction I had with this chatbot: In this tutorial I’m going to show you how easy it is to build a chatbot for WhatsApp using the Twilio API for WhatsApp and the Flask framework for Python. While some chatbots have a fairly basic understanding of language, others employ sophisticated artificial intelligence (AI) and machine learning (ML) algorithms to achieve an almost human conversational level. The level of “intelligence” among chatbots varies greatly. A chatbot is a software application that is able to conduct a conversation with a human user through written or spoken language.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |