Introduction to WhatsApp Bots
- Getting Started
- Bot Building
- Smart Agent Chat
- Conversation Design
-
Developer Guides
Code Step Integration Static Step Integration Shopify Integration SETU Integration Exotel Integration CIBIL integration Freshdesk KMS Integration PayU Integration Zendesk Guide Integration Twilio Integration Razorpay Integration LeadSquared Integration USU(Unymira) Integration Helo(VivaConnect) Integration Salesforce KMS Integration Stripe Integration PayPal Integration CleverTap Integration Fynd Integration HubSpot Integration Magento Integration WooCommerce Integration Microsoft Dynamics 365 Integration
- Deployment
- External Agent Tool Setup
- Analytics & Reporting
- Notifications
- Commerce Plus
- Troubleshooting Guides
- Release Notes
Table of Contents
Prerequisites for WhatsApp IntegrationTypes of WhatsApp ConversationsWhatsApp Bot ConversationsHighly Structured Message (HSM)Setup WhatsApp Business AccountShare your WhatsApp BotWhatsApp helps more than 1.5 billion people connect and share with the people they care about. WhatsApp is a simple, secure, and reliable way for businesses to reach their customers all over the world.
The WhatsApp Business API Client supports a subset of the features provided by the WhatsApp applications you already know from Android, iOS, Web, and other platforms including end-to-end encryption. The difference is that this application can be deployed on a server, providing a local API that allows you to programmatically send and receive messages and integrate this workflow with your own systems (CRMs, customer care, etc.).
If you would like us to consider your business for inclusion in the limited public preview of the WhatsApp Business API, please visit here.
Prerequisites for WhatsApp Integration
- A Facebook Business Manager account
- A verified business
- A WhatsApp Business Account
- A-Line of Credit for your WhatsApp Business Account — You can refer to About WhatsApp Business API Billing for more information about the billing process as well.
- A command-line tool such as a terminal or an app like Postman can perform cURL requests.
Types of WhatsApp Conversations
There are two types of conversations that are possible on WhatsApp.
- A regular user-initiated conversation where the user sends a message to the WhatsApp bot and the bot replies back to the user. The bot is allowed to reply back to the user within a 24-hour window from the last message sent by the user.
- A conversational flow is bot-initiated conversations. In this type whenever a transactional event occurs for eg: a user bought a movie ticket, a bill has been generated, etc. a pre-approved template message can be sent out.
WhatsApp Bot Conversations
On WhatsApp, users can get their queries resolved with the help of AI-powered conversational journeys. The conversational journeys are present for users 24 * 7 and help the user resolve their queries within minutes.
To build the conversational flows, read here.
Highly Structured Message (HSM)
WhatsApp message templates and media message templates are specific message formats that businesses use to send out notifications or customer care messages to people that have opted into notifications.
Messages can include appointment reminders, shipping information, issue resolution, and payment updates. These are the preferred methods of reaching customers.
Other types of messages such as text and media, must be sent within a 24-hour window of a message received from a customer.
WhatsApp Business API provides the following features:
- Industry Information - People can now easily identify your business by its category or industry and find out more information (i.e., hours of operation, website, location, description).
- Send and Receive - Enable two-way high-value conversations with customers.
- Message Templates - Create message formats that are needed for sending notifications to users.
Templates are also known as HSMs. HSM stands for Highly Structured Message. An HSM template will have placeholders in it which can be filled with dynamic user-specific values. Here’s a sample HSM:
Hi {{1}}! Thanks for starting your personal training plan. We’ll send you a {{2}} update with your new schedule. You can log-in online using your training ID {{3}}. Stay fit!
After filling in user-specific data the HSM will be sent out as:
Hi Joey! Thanks for starting your personal training plan. We’ll send you a weekly update with your new schedule. You can log-in online using your training ID 123456. Stay fit!
To know more about HSMs, read here.
Setup WhatsApp Business Account
Once you decide which type of conversation is well suited for your business need, you can now proceed to set up the WhatsApp Business Account which is the first step for businesses to communicate with customers on WhatsApp.
Create the WhatsApp Business Account and set up a line of credit.
This business account will allow people to easily identify your business and find out more information such as your address, hours of operation, website, and description.
Through your account, in the Facebook Business Manager, you will have the ability to create message templates for sending notifications to customers at scale.
We have covered the detailed setting up process, here.
Share your WhatsApp Bot
If you want to share the WhatsApp bot link on the website (or marketing content) wherein the user clicks on it, and it directly opens the WhatsApp conversation with the bot on their device - On the website, you can add a link with your WhatsApp number (e.g. 1XXXXXXXXXX) and the default text as a query parameter (e.g. I'm interested in your car sale) as follows:
https://wa.me/1XXXXXXXXXX?text=I'm%20interested%20in%20your%20car%20for%20sale
Clicking on it will redirect the user to the WhatsApp chat window for your number.
You can read more about sharing WhatsApp links, here.