AI AgentNovember 25, 2026by Amish Thaker

WhatsApp Chatbot: What It Is, How It Works, How to Build One

A WhatsApp chatbot is an automated assistant connected to your business number through the official WhatsApp Business API that replies to customers instantly, 24/7. Simple bots show a menu of buttons; AI chatbots understand free text and voice notes in any language, answer questions, qualify leads and book appointments. You can build one without code in an afternoon on a platform like Visity.

In this guide:

  • What a WhatsApp chatbot is (and what it is not)
  • How a WhatsApp chatbot works behind the scenes
  • The three types of WhatsApp chatbots
  • What a chatbot can do for your business, by industry
  • How to build a WhatsApp chatbot, step by step
  • What a WhatsApp chatbot costs in India
  • How to choose a chatbot platform
  • Why unofficial WhatsApp bots get numbers banned
  • Mistakes that make customers hate your bot

What is a WhatsApp chatbot?

A WhatsApp chatbot is a program that reads incoming WhatsApp messages to your business number and sends replies on its own. It lives on the WhatsApp Business API (Meta also calls this the WhatsApp Business Platform), not on the WhatsApp or WhatsApp Business app on your phone.

That distinction matters more than anything else in this guide. The WhatsApp Business app gives you a greeting message, an away message and a few quick replies. That is auto-reply, not a chatbot. A chatbot can hold a conversation: ask a follow-up question, remember what the customer said two messages ago, look up your price list, and offer three appointment slots. If you want to understand the app side first, read our guide to WhatsApp Business auto replies.

For most businesses in India, the UAE, Saudi Arabia, Brazil and Indonesia, WhatsApp is where customers already are. A chatbot means the customer who messages at 11:40 pm about your 2 BHK listing or your Saturday clinic timings gets an answer in seconds instead of the next morning, when they have already called your competitor.

How does a WhatsApp chatbot work?

Behind every WhatsApp chatbot on the official API, the same five pieces are working together:

  1. Your number on the WhatsApp Business API. You register a phone number with Meta through a provider (a Business Solution Provider or Tech Provider like Visity). Meta then sends every incoming message to that provider.
  2. A webhook.When a customer messages you, Meta pushes the message to the provider's server within a second or two.
  3. The bot logic.For a button bot, this is a flowchart: if the customer taps “Pricing,” send message 4. For an AI chatbot, a language model reads the message, checks your knowledge base and writes a reply.
  4. The reply.The provider sends the answer back through Meta's API to the customer.
  5. The inbox. Every conversation is saved in a shared team inbox, so a person can read it and take over when needed.

The 24-hour rule every chatbot follows

WhatsApp has one rule that shapes how every chatbot behaves. When a customer messages you, a 24-hour customer service window opens. Inside that window your bot can send any free-form reply, and in India those replies are free. Once the window closes, you can only start a conversation with a pre-approved template message, and Meta charges per template delivered. Templates use variables like {{1}}for the customer's name and are usually approved within minutes to a few hours.

In practice this means a chatbot is mostly about inbound conversations (free), while reminders, follow-ups and offers you send later use templates (paid, but cheap).

What are the types of WhatsApp chatbots?

There are three kinds, and the difference decides how your customers feel about talking to you.

TypeHow it worksGood atWeak at
Button bot (rule-based)A fixed menu of buttons and lists built in a flow builderVery predictable journeys: order status, choosing a branch, picking a languageAny question not on the menu; typed or spoken messages
AI chatbot (AI agent)A language model answers from your knowledge base, in the customer's own wordsOpen questions, any language, voice notes, qualifying leads in a natural chatNeeds good business information; you should review answers in week one
HybridAI handles conversation; buttons and WhatsApp Flows handle structured stepsMost real businesses: free chat plus a clean booking formSlightly more setup than either alone

Five years ago button bots were the only practical option. Today, for anything customer-facing, we recommend AI first, with buttons or WhatsApp Flows only where structure helps (a booking form, a survey). We go deeper in WhatsApp AI chatbot vs button bot.

What can a WhatsApp chatbot do for your business?

The jobs are similar across industries: answer, qualify, book, remind. What changes is the questions and the details you collect.

IndustryWhat the chatbot handlesWhat it collects
Real estateProject details, price ranges, possession dates, site visit bookingBudget, configuration (2 BHK, 3 BHK), location, timeline, loan need
Clinics and dentalTimings, doctor availability, treatment questions, appointment bookingName, concern, preferred date, new or returning patient
Coaching and educationCourse fees, batch timings, demo class bookingStudent class, subject, parent contact, preferred batch
Auto dealershipsVariants, on-road price questions, test drive bookingModel, fuel type, exchange vehicle, purchase timeline
Salons and spasServices and prices, slot booking, rebooking remindersService, stylist preference, date and time
Travel agenciesPackage questions, visa basics, quote requestsDestination, dates, number of travellers, budget
Ecommerce brandsProduct questions, sizing, shipping and return policyProduct interest, pincode, order number

For worked conversations in each industry, see 15 WhatsApp chatbot examples by industry and our guide to appointment booking chatbots.

How do you build a WhatsApp chatbot, step by step?

Here is the exact sequence we walk new Visity customers through. None of it needs code.

  1. Pick a number. Use a number you can dedicate to the API. A number cannot be on the WhatsApp Business app and the API at the same time, so either move your existing business number or use a new one.
  2. Set up your Meta Business account.You need a Meta Business portfolio. Business verification is recommended and unlocks higher messaging limits; Meta's requirements change, so check their current documentation. Our guide on how to get WhatsApp Business API covers this.
  3. Connect the number to a provider.In Visity you sign up free and follow Meta's embedded signup. It usually takes 10 to 20 minutes.
  4. Write your knowledge base. This is the most important step. Add your services, prices or price ranges, timings, locations, policies and the 20 questions customers ask most. Write it the way you would brief a new receptionist.
  5. Tell the AI its job.For example: “Answer questions, then collect name, budget and preferred visit date, and offer a site visit.” Decide what counts as a qualified lead.
  6. Add structure where it helps. If you need a clean form (booking details, a feedback survey), add a WhatsApp Flow. If you want a menu for the first message, add buttons.
  7. Test it yourself. Message the number from your own phone. Ask awkward questions, send a voice note, write in Hinglish, ask about something you do not offer.
  8. Invite your team to the inbox. Decide who takes over which chats. Any person can jump into a conversation and the AI steps back.
  9. Put the number everywhere. Website button, Instagram bio, Google Business Profile, a QR code at the counter, click-to-WhatsApp ads. Our free WhatsApp link generator and QR code generator help here.
  10. Review the first week. Read real conversations every evening. Wherever the bot was vague, add that answer to the knowledge base.

A shortcut for step 10: ask ChatGPT

If you connect Visity to ChatGPT or Claude, you can skip reading every chat. Ask:

What were customers asking most this week, and which questions did the AI not answer well?

The assistant groups similar questions, shows each group's share with real examples, and can add a missing answer to the AI's knowledge base when you tell it to. See how to connect WhatsApp to ChatGPT and how to ask ChatGPT what your WhatsApp customers are asking.

How much does a WhatsApp chatbot cost in India?

There are two separate costs: the platform, and Meta's per-message charges.

CostWhat you payNotes
Replies to customers who message youFree from MetaInside the 24-hour customer service window
Utility templates (reminders, confirmations)About ₹0.115 per message + 18% GSTMeta's India rate for 2026
Marketing templates (offers, re-engagement)About ₹0.86 per message + 18% GSTMeta's India rate for 2026
Visity Free plan₹0 foreverAI replies to 100 customers a month, 200 broadcast messages a month
Visity AI Agent plan₹5,000 a month (excl. taxes)AI replies without the 100-customer cap; see pricing for details

Visity passes Meta's message charges through at cost with zero markup. A business that mostly answers inbound enquiries can run a full AI chatbot for the platform fee plus very little in message costs. Full plan details are on our pricing page, and is WhatsApp Business API free? breaks down exactly what costs money.

A quick comparison with a human: one receptionist in a metro city costs far more per month than an AI agent plan, works one shift, and answers one chat at a time. The chatbot does not replace good people; it makes sure nobody waits for the first answer.

How do you choose a WhatsApp chatbot platform?

India has a crowded market. Well-known names include Wati, AiSensy, Interakt, Gupshup, Twilio and ManyChat, alongside Visity. They are all legitimate, and they lean in different directions:

  • Wati, AiSensy and Interakt are popular with Indian SMBs for broadcasts, a team inbox and flow-builder chatbots, and have added AI features over time.
  • Gupshup is a large messaging platform used by enterprises, with deep tooling for teams that have developers.
  • Twilio is a developer API. Powerful if you are building your own product, but you write the chatbot yourself.
  • ManyChat started with Instagram and Facebook Messenger automation and supports WhatsApp with a visual flow builder.
  • Visity is built AI-first: the default is an AI agent that understands free text and voice notes in any language, with buttons, Flows and drips added where useful.

Pricing changes often, so check each provider's current pricing. Compare on these questions instead:

  1. Is it on the official WhatsApp Business API? (If not, walk away.)
  2. Does the bot understand free text and voice notes, or only button taps?
  3. Does it reply in your customers' languages, including mixed ones like Hinglish?
  4. Can a person take over any chat instantly, from a shared inbox?
  5. Are Meta charges passed through at cost, or marked up?
  6. Is there an API or MCP so the data can flow to your CRM or to ChatGPT?

For a full side-by-side, read WhatsApp Business API providers compared and the best WhatsApp automation tools in India.

Why do unofficial WhatsApp bots get numbers banned?

Search for “WhatsApp chatbot” and you will find Chrome extensions, WhatsApp Web bots, and modified apps like GB WhatsApp promising automation for a one-time fee. They work by automating a normal WhatsApp session, as if a robot were tapping your phone screen.

That breaks WhatsApp's terms of service. WhatsApp detects automated behaviour on regular accounts, and the usual outcome is a temporary block, then a permanent ban of the number. For a business, losing the number means losing every customer chat history on it. We have spoken with clinic owners and property brokers who lost years of contacts this way. Our guide on why business WhatsApp numbers get banned covers the warning signs.

The official API costs a little more to set up but is designed for automation. That is the whole point of it.

What mistakes make customers hate a WhatsApp chatbot?

  • A 9-option menu as the first message. Customers came with a question. Let them ask it.
  • No way to reach a human. Always let people ask for a person, and make sure someone in your team sees that request.
  • Thin business information. An AI with a two-line knowledge base gives vague answers. Add real prices, policies and timings.
  • Ignoring voice notes.In India and the Gulf, many customers prefer speaking. A bot that replies “Sorry, I did not understand” to a voice note loses them.
  • Asking for everything at once. Ask one question at a time, the way a good salesperson would.
  • Never following up. Many leads go quiet after the first chat. A short drip of two or three useful follow-ups (a utility or marketing template, depending on content) recovers a share of them. Our WhatsApp automation playbook shows how.

How do you know your chatbot is working?

Track four numbers every week for the first month. You can pull all of them from the Visity dashboard, or ask ChatGPT “How did WhatsApp do this week?” once the connector is on.

  • First response time. It should be seconds, at any hour. If customers still wait, check that the AI is switched on for all chats.
  • Share of chats handled by AI vs team. Early on, your team will take over more often. As the knowledge base improves, that share should drop.
  • Leads captured. How many conversations ended with the details you asked for (name, budget, requirement, date).
  • Bookings or visits. The number that pays the bills. Compare it with the month before the chatbot went live.

If leads are up but bookings are flat, the problem is usually the hand-off: qualified leads are sitting in the inbox without a call back. Assign an owner for each lead and set a same-day follow-up rule.

Where to go next

A chatbot is the foundation. Once it is answering customers, the next layers are follow-up automation, opt-in marketing campaigns, and treating WhatsApp as your lead database. Our WhatsApp marketing guide and WhatsApp CRM guide pick up from here. If you already use ChatGPT daily, running your business on WhatsApp from ChatGPT shows how to manage the whole thing by chatting.

Get started with Visity

Build your WhatsApp chatbot today

Start free on the official WhatsApp Business API. Add your business info and the AI starts answering customers in any language.

Frequently Asked Questions

What is a WhatsApp chatbot?

A WhatsApp chatbot is software connected to a business WhatsApp number through the official WhatsApp Business API that replies to customers automatically. It can be a menu of buttons, an AI that understands free text and voice notes, or a mix of both. It answers questions, captures leads and books appointments without a person typing every reply.

Is a WhatsApp chatbot free?

You can start free. Visity has a free plan where the AI replies to 100 customers a month. Replies inside the 24-hour customer service window cost nothing from Meta. You only pay Meta when you start a conversation with a template message, such as a reminder or an offer.

Can I build a WhatsApp chatbot without coding?

Yes. On a no-code platform you connect your number, add your business information to a knowledge base, and the AI starts answering. Coding is only needed if you want to wire the bot into your own software, which Visity supports through a REST API and MCP.

Can I add a chatbot to the WhatsApp Business app?

No. The WhatsApp Business app only has a greeting message, an away message and quick replies. A real chatbot needs the WhatsApp Business API. Browser extensions that automate the app or WhatsApp Web break WhatsApp's terms and put your number at risk of a ban.

Does a WhatsApp chatbot understand Hindi, Arabic or voice notes?

A button bot only understands taps. An AI chatbot like Visity's understands free text in any language, including Hindi, Hinglish, Arabic, Portuguese and Bahasa, and it also understands voice notes, which many customers in India and the Gulf prefer to typing.

Will the chatbot replace my sales team?

It replaces the repetitive part: answering the same 20 questions, collecting name, budget and requirement, and booking a slot. Your team then gets warm, qualified leads. Any team member can take over a chat at any time from the shared inbox.

How long does it take to set up a WhatsApp chatbot?

Connecting your number to the API usually takes 10 to 20 minutes once your Meta Business account is ready. Writing a good knowledge base takes an hour or two. Most businesses have a working AI chatbot on the same day and spend the first week refining answers.

Written by

Amish Thaker

Founder & CEO, Visity

Amish Thaker is the Founder & CEO of Visity, a Meta Tech Provider building WhatsApp AI automation for businesses in India, the Middle East, Brazil, Indonesia and Europe. Previously on the founding team at SwiftSku (YC W21). Hardcore AI optimist.

While you read this, someone messaged your business. Did they hear back?

See Visity handle a real conversation from your business before you commit to anything.

No credit card. No commitment. Setup on a call. Approved Meta Tech Provider.