Guide

Discover The Benefits of a WhatsApp Chatbot

By Alessandro Botticelli -- October 03, 2020

Creating a WhatsApp Chatbot with Twilio and Dialogflow: In this article, we cover WhatsApp business and dive into creating a WhatsApp chatbot.

WhatsApp operates with 1.5 billion active users across 180 countries, making it the world's most popular instant messaging application. Approximately 65 billion messages per day traverse the platform, equating to roughly 750,000 messages every second.

WhatsApp for Business

In 2018, WhatsApp unveiled its dedicated business platform, enabling companies to communicate with clients through official business accounts rather than personal numbers. This infrastructure allows organisations to automate, categorise, and respond to messages across this widely-used channel. By May 2018, the service had attracted 3 million users. The platform maintains WhatsApp's signature commitment to data protection through end-to-end encryption.

WhatsApp Business App

The app targets small and medium enterprises, facilitating customer support and notification delivery. Business profiles enhance brand loyalty through personalised identity presentation. Users access the free application and establish profiles containing address information, business descriptions, email addresses, and website links.

The client offers automated messaging capabilities including welcome messages for first-time contacts, quick reply templates for standardised responses, and away messages for offline periods. Users manage conversations through organisational labels and access comprehensive statistics tracking sent, delivered, read, and received messages.

WhatsApp Business API

The enterprise-grade offering presents prerequisites requiring either direct WhatsApp account applications or access purchases from official solution providers. The programme operates under limited public preview, with approximately 40+ solution providers currently listed. Third-party solution providers offer faster, simpler alternatives during approval waits.

What's a WhatsApp Chatbot and What Are Its Benefits?

Comparable to Facebook Messenger chatbots, WhatsApp chatbots handle user interactions when customers message business numbers. Benefits include: customers contact businesses through their preferred platform; immediate response capabilities; mission-critical message delivery for notifications, confirmations, and alerts; sales funnel progression; enhanced customer trust and loyalty; personalised experiences; secure communications through WhatsApp encryption; and multimedia support for images, audio, video, and PDF files.

Creating a WhatsApp Chatbot with Twilio and Dialogflow

The demonstration project builds a chatbot for a bicycle shop capable of answering typical service questions and booking maintenance appointments. Dialogflow powers the conversational intelligence, connected to Twilio's WhatsApp Sandbox for prototype development without phone number approval delays.

Step 1: Set up your Twilio account. Registration requires no credit card. Access the sandbox option, complete email authentication, and conduct message tests.

Step 2: Create your Dialogflow agent. Pre-built agents can be imported using Dialogflow's zip restoration feature.

Step 3: Enable Twilio integration in the Dialogflow agent. Configure the Request URL and enter Twilio credentials: Account SID, Auth Token, and phone number.

Step 4: Test your agent. Properly configured systems allow WhatsApp message sending to the number, receiving responses from the Dialogflow chatbot.

Going into Production

Production deployment requires enabling Twilio numbers for WhatsApp through formal requests. Facebook Business Manager ID provision follows number provisioning.

Conclusion

WhatsApp connects billions daily, creating business opportunities for customer engagement at scale. Companies now interact with customers through their preferred platforms. Alternative WhatsApp API providers include Clickatell, MessageBird, Nexmo, Sendbee, and Trengo.

Want to build with conversational AI?

Book a short call and we will help you choose the right approach.