Skip to content

Concept map· 6 connected terms

Chatbot

Also called: WhatsApp chatbot · WhatsApp bot · Chat bot · Conversational bot

In one line
Software that converses with customers on WhatsApp — through buttons and menus, keyword rules or AI — answering questions and completing simple tasks.

Reviewed

What is a chatbot?

A chatbot is software that holds a conversation with customers on its own. On WhatsApp it greets the customer, works out what they want, answers or completes a simple task — tracking an order, booking a slot, sharing a brochure — and hands the conversation to a human agent when it reaches the edge of what it can do. It runs inside the chat thread the customer already uses, with no app to install and no login to remember.

Chatbots span a spectrum. Rule-based bots use reply buttons, list menus and keyword triggers, so every path is designed in advance and behaves predictably. NLU bots classify free text into intents ("track order", "refund") and extract details such as an order number. LLM-powered bots generate answers from your knowledge base, and at the far end an AI agent plans steps and calls your systems to act. Most production WhatsApp bots are hybrids: buttons for common journeys, AI for free text, and a clear path to a person.

Technically, a WhatsApp chatbot is a service behind your webhook. Each customer message arrives as a messages webhook; the bot looks up the conversation state, decides the next step and replies through the Cloud API. WhatsApp's rules shape what it can send: free-form messages only inside the 24-hour customer service window, approved templates to start or restart a conversation, and — under the Business Messaging Policy — prompt, clear escalation paths to a human whenever automation is answering.

Nearby terms cover the pieces around it. An auto-reply is the single-rule tier below a chatbot; WhatsApp Flows are native multi-screen forms a bot can open; a no-code chatbot builder is one way of building a bot rather than a kind of bot. And since 15 January 2026 WhatsApp's terms bar general-purpose AI assistants as a core product, while bots serving a business's own customers are unaffected.

Key takeaways

  • A chatbot is software that converses with customers on its own, answering questions and completing simple tasks before handing over to a person.
  • WhatsApp chatbots range from button-and-keyword bots to NLU, LLM-powered bots and AI agents; most production bots are hybrids.
  • A bot may send free-form replies only within 24 hours of the customer's last message; to start a conversation it needs an approved template.
  • In India each bot reply inside the window is a service message charged at ₹0.145 since 1 October 2026.
  • WhatsApp's Business Messaging Policy requires a prompt, clear escalation path to a human whenever automation is replying.

One hybrid bot, three tiers in a single chat

8 / 8

Message 8 of 8

Corner GroceryReply buttonsDelivered (two grey ticks)

The AI tier answered and added the note through the order API. A person stays one tap away, as WhatsApp's policy expects.

Interactive reply buttons: up to three quick replies the customer taps instead of typing.

A WhatsApp bot using a list menu, a guided step, an AI answer to free text and a one-tap handoff. Focus each bubble to see which kind of automation produced it.

Message 8 of 8: Corner Grocery, Reply buttons, Delivered (two grey ticks). The AI tier answered and added the note through the order API. A person stays one tap away, as WhatsApp's policy expects.

How does InfiQ help with a chatbot?

InfiQ's Flow Builder lets you build WhatsApp chatbots by dragging blocks onto a canvas, with buttons, lists, questions and actions, and a phone preview of what the customer sees. When a chat needs a person, it moves to the shared inbox.

  • A waiting bot resumes at the same step, however late the reply.
  • Reports and a drop-off heatmap show where customers leave.
InfiQ Flow Builder

How does a chatbot work?

  1. A message arrives

    The customer's text, button tap or list choice reaches your webhook as a messages event and opens or refreshes the 24-hour customer service window.

  2. Understand it

    Rule-based bots match the button or list ID or a keyword; NLU and LLM bots classify the intent and pull out details such as an order number or PIN code.

  3. Decide the next step

    Using the stored conversation state, the bot picks the next node: ask a question, look up data in your systems, show a menu, open a Flow or answer.

  4. Reply

    It sends text, reply buttons (up to three), a list (up to ten rows) or media through POST /{PHONE_NUMBER_ID}/messages, and saves the new state.

  5. Hand off when needed

    On request, after repeated misunderstandings or for sensitive topics, it passes the chat and its history to the shared team inbox and stays silent while a person owns it.

  6. Re-engage with templates

    To start a conversation later — a reminder, a delivery update — the bot must use an approved template, billed per delivered message by its category.

Example: Admissions questions at a Lucknow coaching institute

A parent taps a Click-to-WhatsApp ad and types "fees for class 11 science?". The bot replies at once with a list of courses; the parent picks JEE Foundation, receives the fee brochure as a PDF, answers the student's current class with a button and books a free demo class. Because the chat began from the ad and the bot answered immediately, a free entry point window of up to 7 days applies to these replies. When the parent asks whether the hostel serves vegetarian food — outside the bot's flows — it hands the chat, with course and class already captured, to a counsellor.

Why does a chatbot matter?

In India WhatsApp is where customers already message friends and family, so it is where they expect instant answers — at night, on Sundays and during festival rushes. A chatbot lets a small team cover those hours, answers the repetitive questions that make up much of inbound volume (order status, timings, delivery areas, prices) and qualifies leads before a salesperson picks up. The value comes from doing a few journeys well and handing off cleanly; a bot that traps people in menus loses more customers than it saves agent hours.

A chatbot in code

// Buttons and lists for known journeys, stored state for follow-ups, a menu as fallback.
app.post("/webhooks/whatsapp", async (req, res) => {
res.sendStatus(200); // acknowledge first (signature check omitted for brevity)
const value = req.body.entry?.[0]?.changes?.[0]?.value;
const msg = value?.messages?.[0];
if (!msg) return; // a status update, not a customer message
const state = (await store.get(msg.from)) ?? { step: "idle" };
const choice =
msg.interactive?.button_reply?.id ??
msg.interactive?.list_reply?.id ??
msg.text?.body?.trim().toLowerCase();
if (choice === "agent") return handoff(msg.from, state);
if (choice === "track_order") {
await store.set(msg.from, { step: "awaiting_order_id" });
return sendText(msg.from, "Sure - please type your order number.");
}
if (state.step === "awaiting_order_id") {
const order = await orders.find(choice, msg.from);
await store.set(msg.from, { step: "idle" });
return sendText(msg.from, order
? `Order ${order.id}: ${order.status}`
: "I couldn't find that order. Tap Talk to a person for help.");
}
return sendMenu(msg.from); // fallback: show the main list menu
});

Route on interactive reply IDs first, use stored state to read follow-up answers, and always keep a person one tap away.

Key facts at a glance

A chatbot: key facts and limits

Bot types
Rule/button, NLU (intent), LLM-powered, AI agent
Reply buttons
Up to 3 per interactive message
List messages
Up to 10 rows across up to 10 sections
Free-form replies
Only within 24 hours of the customer's last message
Starting a conversation
Approved template, billed per delivery by category
Bot replies (India)
₹0.145 per service message since 1 October 2026
Human escalation
Required by WhatsApp's Business Messaging Policy
General-purpose AI bots
Barred as a core product since 15 January 2026

Common wrong turns

Common mistakes with a chatbot

  • Dead-end menus

    Customers forgive a bot that says "let me get a person"; they do not forgive one that loops. Put "Talk to a person" in every menu and escalate after two misunderstandings in a row.

  • Automating everything at once

    Covering every edge case on day one produces a fragile maze. Launch with the top five journeys by volume and expand using the log of unmatched messages.

  • Ignoring the window and template categories

    A bot cannot send a free-form follow-up two days later. Design re-engagement around approved templates and choose categories honestly — mixed or promotional content is treated as marketing.

  • Forgetting state

    If the bot forgets that it just asked for an order number, the customer's reply falls into the fallback. Persist the current step per customer, with a timeout.

  • Never measuring

    A bot nobody reviews slowly rots. Track containment rate, handoff reasons, fallback rate and CSAT, and read real transcripts every week.

Chatbot FAQs

What is a WhatsApp chatbot in simple terms?+
It is an automated conversation that answers questions and completes simple tasks on WhatsApp, then hands over to a person when needed. It runs in the customer's normal chat, so there is no app or login.
Is a chatbot the same as AI?+
Not necessarily. Many effective WhatsApp chatbots are rule-based, using buttons, lists and keywords. AI adds free-text understanding and generated answers, and an AI agent can also take actions, but reliable flows and clean handoff matter more than the model.
How much does a WhatsApp chatbot cost to run?+
You pay per delivered message, plus whatever your platform and any AI provider charge. In India bot replies inside the window are service messages at ₹0.145 each since 1 October 2026, and conversations the bot starts use templates priced by category, such as ₹0.19 for utility.
Can a chatbot message customers first?+
Yes, but only with an approved template and only to customers who have opted in. Free-form messages are allowed only within 24 hours of the customer's last message.
Do I need to code to build a WhatsApp chatbot?+
No. No-code builders let you design menus, conditions and handoffs visually; code becomes worthwhile when the bot needs custom integrations, complex logic or an AI agent that calls your own APIs.

Good practice

Best practices for a chatbot

  • Use buttons and lists for choices; reserve free text for details such as order numbers.
  • Write in the language your customers use, including Hinglish and regional languages.
  • Pass the transcript and captured details at handoff so customers never repeat themselves.
  • Keep messages short — one idea per bubble reads better on a phone.
  • Count every bot reply as a billed message when you estimate running costs.

See InfiQ pricing

* Per-message rates for India, ex-GST: marketing, utility and authentication effective 1 July 2026; service messages ₹0.145 since 1 October 2026 after the first 1,000 a month on each WhatsApp number, which are free (all were ₹0 until 30 September 2026). Volume commitments earn discounts — final rate is confirmed on your account; applicable GST extra. Rates for other countries differ (see the international rate table on /pricing).

Try it on the official WhatsApp Business API

InfiQ is an official Meta Business Partner. Start a 7-day free trial — no card needed — and see this running on your own number.