# How to build a WhatsApp AI chatbot on your own number (2026)

How to build a WhatsApp AI chatbot in 2026: official API or your existing number, free options, grounded answers and the guardrails that keep it safe.

Canonical URL: https://superskope.com/blog/whatsapp-ai-chatbot
Updated: 2026-11-27
Author: SuperSkope

## Short answer

A WhatsApp AI chatbot is a program that reads incoming WhatsApp messages, asks a language model for a reply grounded in your business information, and sends that reply back.

In 2026 you can build one on Meta’s official WhatsApp Business Platform, or connect your existing number as a linked device and run your own model. The official route suits large-scale 1:1 service; the linked-device route keeps your current number and groups but is not official and carries Terms of Service risk.

## What are the ways to put AI on WhatsApp in 2026?

There are four realistic routes, and they differ in which number you use, whether groups work and what can go wrong. Pick the route first; the model and prompts come later.

General-purpose assistants are a separate case. OpenAI says ChatGPT stopped being available on WhatsApp after 15 January 2026 because of a WhatsApp policy change, and TechCrunch reported that Meta’s business terms now bar general-purpose AI assistants from the WhatsApp Business API while still allowing business bots for support, sales and notifications. A chatbot for your business is fine; a free-for-all assistant on your number is not what the platform is for.

| Route | Which number | Groups | Main trade-off |
| --- | --- | --- | --- |
| WhatsApp Business app tools | Your existing Business app number | Not automated | Greeting and away messages plus quick replies. Rule-based, no language model. |
| Official WhatsApp Business Platform (Cloud API) with your own bot or a provider | A number registered on Meta’s platform | Only groups created through the API, up to 8 participants | Policy-compliant and built for scale, but needs business verification, message templates and per-message charges. |
| Linked-device connection (for example SuperSkope or self-hosted WAHA) with your own model | Your existing number, linked like WhatsApp Web | The regular groups the number already belongs to | Keeps your number, chats and groups, but it is not the official platform. WhatsApp’s terms prohibit automated and bulk messaging, and accounts can be restricted. |
| A hosted chatbot builder on the official API | A number onboarded with that provider | Usually none | Fastest to start; you are limited to the builder’s flows and pricing. |

## Is there a free WhatsApp AI chatbot?

Partly. The WhatsApp Business app’s greeting messages, away messages and quick replies are free, but they are not AI. Every AI reply costs a model call, so a free AI chatbot only exists while someone else pays for the model, inside a trial or a free plan that includes AI.

The cheapest serious setups are a self-hosted WAHA Core instance (free software, you run and secure the server) or a managed service with a free tier. SuperSkope offers a 14-day free trial with no card, including 200 AI credits for built-in answers from knowledge you approve and the scoped API; paid plans start at ₹2,000 or US$25 per workspace a month. You can also connect your own model and pay its provider directly. On the official platform, Meta charges per message on its own price list, plus any provider fee.

## How does a WhatsApp AI chatbot work?

Whatever route you choose, a reliable chatbot follows the same loop. The parts that usually break are the ones around the model, not the model itself.

1. Receive the event. A webhook or event feed tells your server a message arrived. Verify the signature before trusting it.
2. Record it once. Store the event ID durably so a redelivered webhook cannot trigger a second reply.
3. Decide whether to answer at all. Check that the chat is enabled for the bot, that no person has taken over, and in groups that the bot was actually addressed.
4. Fetch context. Read the message and a bounded slice of recent history through the API.
5. Ask the model with approved knowledge. Give it your policies, prices and FAQs, and tell it to say it does not know when the answer is not there.
6. Check the output. Reject replies that promise refunds, discounts or bookings your system has not confirmed.
7. Send with a stable request key. One intended reply gets one idempotency key, so a timeout never becomes two messages.
8. Record the outcome and hand off. If the send is uncertain, stop and inspect. If the customer needs a person, assign the chat and pause the bot.

## How do you stop the chatbot making things up?

Ground every answer in text you have approved. Keep a short, versioned knowledge base: opening hours, delivery areas, fees, return rules, documents customers ask for. The model should quote from it, not from memory, and a missing answer should produce a handoff rather than a guess.

Citations help staff check answers quickly. In SuperSkope, on every plan and in the free trial, built-in AI answers and drafts (one AI credit each) come only from knowledge an owner has approved, each with a citation to the exact source version. Retrieval is keyword-based, and when no approved evidence matches, the assistant returns no answer instead of calling the model. Citations prove where a sentence came from, not that the model summarised it correctly, so review still matters.

## When should the chatbot stay quiet?

A bot that answers everything creates more work than it saves. Write the silence rules before the prompts.

- In groups, reply only when the bot is mentioned by name or someone replies to the bot’s own message. Everything else is conversation between people.
- After a person takes over, the bot must stop for that chat until someone explicitly hands it back.
- On complaints, payments, medical, legal or anything involving a refund, collect details and hand off.
- Outside the chats you enabled. A bot should start with no conversations and gain them one at a time.
- When the customer asks for a human. Never make them argue with the bot.

## What guardrails does a WhatsApp chatbot need before it goes live?

Most bans and embarrassing incidents come from the plumbing, not the AI. On a regular number, WhatsApp’s own help center says its products are not intended for bulk or automated messaging and that it uses machine learning and user reports to find abuse. Keep the bot reply-first: it answers people who wrote to you.

- No cold or bulk outreach from the bot. Use the official platform and opted-in templates for marketing.
- Narrow permissions: one number, chosen conversations, only the actions the bot needs.
- A rate limit on sends, and no automatic retry of a send whose result is unknown.
- A visible log of what the bot sent and why, so staff can correct it.
- A human takeover switch that the system enforces, not one the model is asked to remember.

- [Human handoff for WhatsApp AI agents](https://superskope.com/blog/ai-agent-human-handoff)
- [Give an AI agent narrow WhatsApp permissions](https://superskope.com/blog/scoped-whatsapp-agent-permissions)
- [Why WhatsApp numbers get banned](https://superskope.com/blog/whatsapp-ban)

## For teams: running your chatbot through SuperSkope

SuperSkope connects your existing number as a WhatsApp linked device, the same way WhatsApp Web works. It is not the official WhatsApp Business Platform and is not affiliated with WhatsApp or Meta. It suits teams that already run customer chats and groups on one number and want their own model in the loop without giving it the whole account.

Your backend receives signed webhooks or registers a pull agent, fetches the message with a scoped API key, calls whichever model you choose and replies through the API with an idempotency key. Staff see the same conversations in the shared inbox and can take over at any time, which pauses the agent for that chat. Built-in cited answers from approved knowledge are included in every plan and in the free trial, without running your own model.

- [SuperSkope WhatsApp AI agent](https://superskope.com/whatsapp-ai-agent)
- [SuperSkope WhatsApp API](https://superskope.com/whatsapp-api)
- [Build a WhatsApp agent around your existing number](https://superskope.com/blog/build-whatsapp-agent)
- [Pricing](https://superskope.com/pricing)

## Next step

Write down the ten questions customers ask most and the answer you would want each time. That list is your first knowledge base and your test set. Then connect one test chat, run the loop above end to end, and widen to real conversations only after a week of reviewed replies.

- [How to create a WhatsApp bot](https://superskope.com/blog/how-to-create-whatsapp-bot)
- [WhatsApp chatbot vs AI agent](https://superskope.com/blog/whatsapp-chatbot-vs-ai-agent)
- [Read the developer documentation](https://docs.superskope.com/)

## Frequently asked questions

**Can I use ChatGPT as my WhatsApp chatbot?** You can use an OpenAI model inside your own business chatbot, called from your server with your own API key. What you cannot do is put a general-purpose assistant on WhatsApp: OpenAI ended ChatGPT on WhatsApp after 15 January 2026, and Meta’s business terms bar general-purpose AI assistants on its Business API. Keep the bot focused on your business tasks.

**Will a WhatsApp AI chatbot get my number banned?** Replying to people who message you is low risk on the official platform. On a regular number connected as a linked device, the risk is real: WhatsApp’s terms prohibit automated and non-personal use, and restrictions follow spam reports. Avoid cold or bulk messages, keep volumes human, and never retry uncertain sends automatically.

**Can a WhatsApp chatbot work in groups?** Not in normal groups through Meta’s official API, which only supports groups it created, capped at 8 participants. A linked-device connection can read and reply in the regular groups your number belongs to. In groups, reply only when the bot is mentioned or replied to, and keep administrative actions limited to current group admins.

**Do I need to code to build one?** For a hosted chatbot builder on the official API, no. For a bot on your existing number with your own model, some backend work is needed: a webhook receiver, a model call and an API send. Workflow tools such as n8n reduce the code, but you still have to handle signatures, duplicates and handoff.

## Sources



- [OpenAI: ChatGPT on WhatsApp transition (21 Oct 2025)](https://openai.com/index/chatgpt-whatsapp-transition/)
- [TechCrunch: WhatsApp changes its terms to bar general-purpose chatbots (18 Oct 2025)](https://techcrunch.com/2025/10/18/whatssapp-changes-its-terms-to-bar-general-purpose-chatbots-from-its-platform)
- [Meta for Developers: WhatsApp Groups API overview and limits](https://developers.facebook.com/documentation/business-messaging/whatsapp/groups)
- [WhatsApp Help Center: unauthorized automated or bulk messaging](https://faq.whatsapp.com/5957850900902049)
- [WhatsApp Terms of Service: acceptable use](https://www.whatsapp.com/legal/terms-of-service)
- [WhatsApp Business: Business app features](https://www.whatsappbusiness.com/products/business-app-features/)
- [WAHA: how to avoid blocking](https://waha.devlike.pro/docs/overview/how-to-avoid-blocking/)

## Continue reading

- [WhatsApp chatbot vs AI agent: what to build in 2026](https://superskope.com/blog/whatsapp-chatbot-vs-ai-agent)
- [Human handoff for WhatsApp AI agents: how to design it](https://superskope.com/blog/ai-agent-human-handoff)
- [Build a WhatsApp agent around your existing number.](https://superskope.com/blog/build-whatsapp-agent)
