Welkai logoWelkai

Rule-based chatbot vs AI agent: which one you need

On this page
  1. Side by side
  2. Where a rule-based bot wins
  3. Where an AI agent wins
  4. The rules both must follow
  5. What they cost
  6. How to choose
  7. Sources

"Chatbot" covers two very different things. A rule-based chatbot follows a script you write: menus, buttons and keyword replies. An AI agent reads what the customer actually wrote and composes an answer. Both can work well on WhatsApp. Here is how they compare, as of 29 October 2026.

Side by side

Rule-based chatbotAI agent
UnderstandsThe options and keywords you setFree text, typos, mixed languages
AnswersExactly what you wroteComposes from the knowledge you give it
Set-upMap every path by handWrite a knowledge base and instructions
RiskCustomers get stuck in loopsWrong answers if knowledge is missing or vague
Cost to runUsually fixed; no per-answer AI costUsually charged by usage (tokens or credits)
Best forNarrow, predictable tasksVaried questions in the customer's own words

Where a rule-based bot wins

  • Short, fixed flows: choosing a branch, picking a time slot, confirming yes or no.
  • Exact wording matters: terms, prices or legal text that must not be paraphrased.
  • Low volume where an AI's per-answer cost is not worth it.

Where an AI agent wins

  • Questions vary: "Can I bring my dog?", "Do you deliver to Seremban?", "Is this halal?"
  • Languages mix: a customer writes half in BM, half in English. See multilingual customer service on WhatsApp.
  • After hours: it can answer routine questions properly instead of only promising a reply tomorrow.

The rules both must follow

  • Automation is for replies. WhatsApp's Business Messaging Policy allows automation when you respond within the 24-hour window, and requires clear escalation paths to a human.
  • Your business, not general chat. Meta's terms for the WhatsApp Business Platform bar general-purpose AI assistants offered as the main product. A business using AI to answer questions about its own products and services is a different thing. Our AI chatbot rules guide explains the line.

What they cost

A rule-based bot's replies inside the customer service window are ordinary service messages on the API. An AI agent adds its own AI cost. Meta's own Meta Business Agent, for example, is priced at USD 2.00 per million tokens, and Meta says one message typically uses 20,000 to 25,000 tokens. Third-party AI tools price in their own ways; check what a reply costs before you switch it on for every chat. Our Meta Business Agent guide has worked examples.

How to choose

  1. List last month's first messages. If most fit five or six options, start with a menu bot.
  2. If they are varied and in several languages, an AI agent saves more time.
  3. Many businesses use both: a menu for fixed tasks like booking, and AI for open questions, with a person behind both.

Our first automation guide builds the menu, and the AI replies guide covers the AI side.

Sources

Checked on the date shown. Rules change, so open the source before you rely on it.

  1. WhatsApp Business Messaging Policywhatsappbusiness.com, checked
  2. Meta Terms for WhatsApp Business Platform, section 4.7facebook.com, checked
  3. Meta for Developers: WhatsApp Business Platform pricingdevelopers.facebook.com, checked