Home / WhatsApp Chatbot

How to Create a WhatsApp Chatbot

By Kushagra Kumar, founder of Shre. Updated 1 July 2026.

A WhatsApp chatbot answers common customer questions automatically, day or night, inside the app your customers already use. Set up well, it handles FAQs, captures leads, and hands off to a human when needed.

This guide walks through creating one the right way, using official WhatsApp tools and proper opt-in, so your messages are reliable and your number stays in good standing.

Quick answer

To create a WhatsApp chatbot, choose an official WhatsApp Business tool (the free Business app for simple auto-replies or the WhatsApp Business Platform for full automation), map out the questions customers ask most, build a flow that answers them, collect opt-in, and test before going live.

What a WhatsApp chatbot is, and the two ways to build one

A WhatsApp chatbot is an automated assistant that replies to messages on your business number. It can greet people, answer frequently asked questions, share your catalog, book appointments, and route complex issues to a human. There are two official routes, and the right one depends on your size.

Step 1: choose the right official tool

If you just need auto-greetings and a handful of canned answers, download the free WhatsApp Business app and you are done in minutes. If you want branching conversations, CRM connections, or to serve many customers at once, you will use the WhatsApp Business Platform through an approved solution provider. Always stay on official tooling. Unofficial "mod" apps and bulk senders risk getting your number banned, which takes your whole audience with it.

Step 2: define what your bot should do

Before building anything, list the messages your business actually receives. Pull the last few weeks of chats and group them: hours and location, pricing, order status, booking, returns. The most common five or six questions are what your bot should answer first. A focused bot that nails the top FAQs beats an ambitious one that tries to do everything and confuses people.

Write down the goal for each conversation too. Is it to book a call, share a price list, or collect an email? A clear goal keeps every flow short and useful.

Step 3: build the conversation flow

Map the chat as a simple tree. Start with a friendly greeting that sets expectations, then offer a short menu of options. Each option leads to a clear answer and, where useful, a next step such as a link or a booking. Keep replies concise, write the way you speak, and always give an easy path to reach a human.

Step 4: get opt-in, test, and go live

WhatsApp requires that people opt in before you message them. Collect consent clearly, for example a checkbox at checkout or a keyword people send to start. Then test every branch yourself, fix dead ends, and launch. Watch the first week of real chats and tune the answers people actually struggle with.

Common use cases and pairing with Instagram

WhatsApp chatbots shine for order updates, appointment booking, lead qualification, and simple support. Many businesses connect it to their other channels so a single system handles messaging everywhere. If Instagram is where you find people, you can automate DMs there and continue the conversation on WhatsApp. See how WhatsApp automation works and how it pairs with Instagram DM automation for one connected flow.

Frequently asked questions

Is building a WhatsApp chatbot free?

The WhatsApp Business app is free and covers basic auto-replies. Full chatbots use the WhatsApp Business Platform, which is priced per conversation through an official provider. Check current rates in the app or with your provider.

Do I need to code to build a WhatsApp chatbot?

No. Most people use a visual builder from an official platform provider to design flows without code. Coding is only needed for deep custom integrations.

Can I send bulk marketing on WhatsApp?

Only to people who opted in, and using approved message templates. Sending unsolicited bulk messages breaks WhatsApp's rules and can get your number banned.

What is opt-in and why does it matter?

Opt-in is explicit permission from a person to receive your messages. WhatsApp requires it. It keeps your number in good standing and your messages welcome instead of flagged as spam.

Automate messaging across WhatsApp and Instagram
Shre helps you automate DMs on Instagram and continue on WhatsApp, using official tools and proper opt-in. Try it free for 7 days, no card.
Start free

Related

Source and reference: Instagram Platform, Meta for Developers. Shre sends messages through the official Instagram Graph API within Instagram's rules.