The short answer
You can put ChatGPT or Claude behind a WhatsApp Business number if the bot serves your business (support, sales, bookings), because Meta has barred general-purpose AI assistants from the Business API since 15 January 2026. Connect the number through the official Cloud API to a builder that calls the model.
Last verified: 25 October 2026 against the Meta Terms for WhatsApp Business Platform (last modified 23 September 2026), the WhatsApp Business Messaging Policy, Meta's Cloud API and pricing documentation, and the European Commission's 9 June 2026 decision.
The distinction Meta draws is between AI as your product and AI as a feature of your business. A retailer whose WhatsApp bot uses Claude to answer delivery questions is fine. A company that offers "chat with GPT on WhatsApp" as its service is what the rule targets.
| Use case | Allowed? | Why |
|---|---|---|
| Support bot answering questions about your products, orders and policies | Yes | AI is incidental to your customer service |
| Sales or lead-qualification bot for your own catalogue | Yes | AI supports your own selling |
| Booking assistant for your clinic, salon or restaurant | Yes | AI supports your own service |
| An "ask me anything" assistant offered as the product itself | No | AI is the primary functionality being made available |
| Reselling access to an LLM through a WhatsApp number | No | That is an AI Provider distributing its technology |
The rest of this guide covers the exact wording, the setup, a code sample, and the WhatsApp rules your AI bot still has to follow.
What Meta's AI Provider rule actually says
The rule is in section 4.7 of the Meta Terms for WhatsApp Business Platform (the old business-solution-terms URL now redirects there). It defines AI Providers as "Providers and developers of artificial intelligence or machine learning technologies, including but not limited to large language models, generative artificial intelligence platforms, general-purpose artificial intelligence assistants, or similar technologies as determined by Meta in its sole discretion".
Such providers "are strictly prohibited from accessing or using the WhatsApp Business Platform, whether directly or indirectly, for the purposes of providing, delivering, offering, selling, or otherwise making available such technologies when such technologies are the primary (rather than incidental or ancillary) functionality being made available for use".
Three things follow from the text:
- The test is "primary vs incidental or ancillary". The terms do not list allowed use cases. When the AI is a tool your business uses to serve its own customers, it is ancillary. When the AI is what people come to the number for, it is primary.
- You may still use an AI company's tools. The same section says you "may retain an AI Provider as your Solution Provider". Calling OpenAI's or Anthropic's API from your bot, or using a chatbot builder that does, is not the problem the rule addresses.
- There is a data rule as well. Platform data may not be used "to create, develop, train, or improve any machine learning or artificial intelligence systems", with an exception for fine-tuning a model for the business's own exclusive use. Check your LLM provider's data settings so WhatsApp conversations are not used to train their general models.
Where does 15 January 2026 come from? The European Commission's 9 June 2026 press release records that "On 15 October 2025 Meta introduced a new policy, banning third-party general-purpose AI assistants", with the ban taking effect on 15 January 2026. Meta's spokesperson framed the purpose at the time as helping "businesses provide customer support and send relevant updates," as reported by TechCrunch.
The regulatory caveat (EU and Italy)
The rule is being challenged. Italy's competition authority ordered Meta on 24 December 2025 to suspend the relevant terms while it investigates. On 9 June 2026 the European Commission went further and "ordered Meta to restore free access to WhatsApp for rival general-purpose AI assistants" until the end of its antitrust investigation, noting that Meta had re-admitted such assistants on 4 March 2026 but with a fee the Commission viewed as "equivalent to the previous access ban." These actions concern AI assistant providers. For an ordinary business running its own support or sales bot, nothing changes: your use was allowed before and still is.
How the pieces fit
A WhatsApp AI chatbot is four parts in a loop:
| Part | What it does | Who runs it |
|---|---|---|
| WhatsApp Cloud API | Receives the customer's message and delivers your reply | Meta |
| Webhook endpoint | Receives Meta's POST, answers 200 fast, queues the work | You or your builder |
| Bot logic | Keeps conversation state, adds your knowledge, decides when to hand over | You or your builder |
| LLM API | Generates the reply from your instructions and context | OpenAI, Anthropic, Google, etc. |
Two constraints shape the design. First, your webhook must acknowledge Meta quickly, so the model call should happen after you return 200, not before. LLM calls can take seconds. Second, the reply must go out while the customer service window is open, which is not a problem for real-time chat but matters if you queue work for later.
Step 1: Put the number on the Cloud API
Follow Meta's Cloud API get-started guide:
- Create a Meta app: "Open the Meta App Dashboard to create a new Meta app with the WhatsApp use case."
- Connect a Messaging account. Meta's docs now call the WhatsApp Business Account a "Messaging account". Meta provides a test number to start with.
- Add your phone number and verify it. The number cannot be active in the WhatsApp or WhatsApp Business app at the same time; if registration fails, see our registration failed guide.
- Create a permanent token. The temporary token on the API Setup page "expires quickly and is not suitable for development purposes." In Business Settings → System users, create a system user and generate a token with
whatsapp_business_messaging,whatsapp_business_managementandbusiness_management. - Copy the Phone Number ID from API Setup. You send messages to
/<PHONE_NUMBER_ID>/messages. - Register the webhook. Meta verifies it with a GET request:
hub.modeis "always set to subscribe",hub.verify_tokenis the string you entered in the dashboard, and you must "Respond with the hub.challenge value." Then subscribe to themessagesfield.
If you would rather not do this by hand, our guide to the free WhatsApp API covers the official vs unofficial options, and the WhatsApp Business API setup guide walks the dashboard screen by screen.
Step 2: Connect the webhook to the model
This Node.js sketch verifies the webhook, acknowledges messages immediately, asks Claude for a reply with your business instructions, and sends it back. Swap the model call for OpenAI's API if you prefer GPT; the WhatsApp side does not change. Keep model names in configuration rather than code, because providers retire models regularly.
import express from "express";const app = express();app.use(express.json());const GRAPH = "https://graph.facebook.com/v26.0";// 1. Webhook verification (GET)app.get("/webhook", (req, res) => {const ok = req.query["hub.mode"] === "subscribe" &&req.query["hub.verify_token"] === process.env.VERIFY_TOKEN;ok ? res.send(req.query["hub.challenge"]) : res.sendStatus(403);});// 2. Incoming messages (POST): acknowledge first, then workapp.post("/webhook", (req, res) => {res.sendStatus(200);const msg = req.body.entry?.[0]?.changes?.[0]?.value?.messages?.[0];if (msg?.type === "text") reply(msg.from, msg.text.body).catch(console.error);});async function reply(to, text) {const ai = await fetch("https://api.anthropic.com/v1/messages", {method: "POST",headers: {"x-api-key": process.env.ANTHROPIC_API_KEY,"anthropic-version": "2023-06-01","content-type": "application/json",},body: JSON.stringify({model: process.env.MODEL,max_tokens: 400,system: "You are the support assistant for Acme Bikes. Answer only about Acme orders, " +"products and policies. If unsure, or if the customer asks for a person, say you " +"will connect them to the team.",messages: [{ role: "user", content: text }],}),}).then((r) => r.json());await fetch(`${GRAPH}/${process.env.PHONE_NUMBER_ID}/messages`, {method: "POST",headers: { Authorization: `Bearer ${process.env.WA_TOKEN}`, "Content-Type": "application/json" },body: JSON.stringify({messaging_product: "whatsapp",to,type: "text",text: { body: ai.content?.[0]?.text ?? "Sorry, something went wrong. A person will follow up." },}),});}app.listen(3000);What this sketch leaves out, and a production bot needs: conversation history per customer (the model sees only one message here), deduplication (Meta can deliver the same webhook more than once), retrieval from your help content so answers are grounded, a handover path to a human, and signature verification of incoming webhooks. Those are where most of the build time goes, and they are what a builder gives you out of the box.
Step 3: Stay inside WhatsApp's messaging rules
The AI Provider rule is about who may use the platform. Your bot also has to follow the everyday messaging rules in the WhatsApp Business Messaging Policy, and these catch AI bots more often:
- The 24-hour window. "When a WhatsApp user messages you or calls you, a 24-hour timer called a customer service window starts" (Meta pricing docs). Inside it, your AI can reply freely. "Outside the 24-hour customer service window, you may only send messages via approved Message Templates." Send a free-form AI reply too late and the API rejects it with error 131047. Check templates before submitting with our template checker.
- Escalation is mandatory. The policy allows automation inside the window, but you "must also have available prompt, clear, and direct escalation paths" such as transfer to a human agent, a phone number, email or a support form. An AI bot that loops forever without a way out breaches the policy, not just good practice.
- Opt-in and templates for outbound. "You may only initiate conversations using an approved Message Template." Your AI cannot start conversations with free text.
Meta's policy does not, as far as we could find, require you to state that replies come from AI. Say so anyway, in the greeting. It sets expectations, and it makes the escalation path ("type agent to talk to a person") feel natural rather than like an error state.
Keep the system prompt tight on scope. Instructing the model to answer only about your business is good customer service, and it also keeps the bot clearly on the "ancillary" side of the AI Provider rule.
What it costs to run
You pay three separate bills: Meta for messages, the LLM provider for tokens, and your host or builder.
| Cost | How it is charged (October 2026) |
|---|---|
| Inbound messages from customers | Not charged by Meta |
| Your replies inside the window (service messages) | Since 1 October 2026: 1,000 free per business phone number per month, then charged per message |
| Utility templates sent inside an open window | Charged per message since 1 October 2026 (previously free) |
| Marketing, utility and authentication templates | Charged per delivered message, by category and country (per-message pricing since 1 July 2025) |
| LLM tokens | Billed by your model provider per input and output token |
Meta's pricing updates page describes the October change: Meta "resumed charging, on a per-message basis, for messages that were previously free," and it warns that without a valid payment method Meta "will stop delivering service messages" once they become charged. If your AI bot handles a lot of support volume on one number, budget for it; our service-message billing explainer has the detail, and the WhatsApp API cost calculator estimates a monthly bill. Throughput limits are on the WhatsApp limits page.
A practical tip on LLM cost: cap max_tokens (WhatsApp replies should be short anyway), send only the last few turns of history, and route simple FAQs to fixed answers instead of the model.
The no-code route
If you do not want to host the webhook, build the state handling and maintain the API version, a chatbot builder does those parts. With Conferbot's WhatsApp chatbot:
- Put your number on the Cloud API (Step 1 above) and copy the Phone Number ID and access token.
- In Conferbot, open Channels → WhatsApp → Connect and enter them. Conferbot generates a webhook URL and verify token to paste into Meta's webhook settings.
- Design the flow in the visual builder, and add an AI agent step for the open-ended questions. You choose the model provider: OpenAI GPT, Anthropic Claude, Google Gemini, DeepSeek and 17 others are supported.
- Give the AI your content through the knowledge base (website URLs and documents such as PDFs) so answers come from your policies, not the model's guesses.
- Set the escalation: human handover to the shared inbox is included on every plan, including Free.
Conferbot's Free plan covers 600 conversations a month and two bots; paid plans start at $19 a month. Meta bills WhatsApp messages separately, as described above. If you want to start with a rule-based bot and add AI later, the free WhatsApp chatbot guide covers that path.
Same bot, other channels: the flow and AI settings can also run on your website, Messenger, Telegram, Slack, Discord, LINE and Microsoft Teams.
Was this article helpful?
Build and deploy in 10 minutes. No coding needed.
How to Build a WhatsApp AI Chatbot With ChatGPT or Claude (Inside Meta's 2026 Rules) FAQ
Everything you need to know about chatbots for how to build a whatsapp ai chatbot with chatgpt or claude (inside meta's 2026 rules).
About the Author
The Conferbot team writes about building, deploying, and improving AI chatbots.
View all articlesRelated Articles
From the reference shelf
Fact-checked reference pages and free tools for the platform this article covers.