Skip to content
TMTiger Mendez

GuidesOctober 18, 2026

Guide · WhatsApp + AI

Connecting WhatsApp to an AI: what nobody tells you

Every week there's a new tutorial: scan a QR code, paste a key, and five minutes later an AI is answering your WhatsApp. It works, until it doesn't. I build AI assistants for businesses, and this is what those tutorials leave out: the risks of the QR code, the fine print of the official route, and what to decide before you connect anything.

8 min readFor business ownersMeta facts checked in October 2026

In one sentence

The AI isn't the problem: the bridge is. With a QR code, your WhatsApp is connected as if it were WhatsApp Web, without WhatsApp's permission. Meta's official API is the safe route, but it has rules worth knowing before you start.

The two ways to connect it

Almost everything you'll find online is one of these two. From the outside they look the same: an AI answers your customers. Inside, they have nothing in common.

With a QR code

Linked device

A third-party service connects to your WhatsApp just like WhatsApp Web does and passes the messages to the AI. It takes minutes and nobody has to approve it.

With the official API

WhatsApp Business Platform

Your number is registered on WhatsApp's platform for businesses. Meta delivers the messages to your system through an official channel and the AI answers from there. It takes more work to set up, but it's what WhatsApp allows.

Does WhatsApp allow it?

QR codeNo. Its terms forbid using the service through automated means without its permission.

Official APIYes. It's its official channel for businesses.

Risk to your number

QR codeIt can get suspended.

Official APILow, as long as you follow its policies.

Who sees your chats

QR codeThe service gets all your chats, personal ones included.

Official APIYour system only gets the messages sent to the business number.

If your phone is off

QR codeAfter 14 days without using the phone, WhatsApp logs out linked devices and the bot goes down.

Official APIIt keeps working: it doesn't depend on any phone.

Setup

QR codeMinutes.

Official APIA few days: Meta account, number, server and AI.

Costs

QR codeThe third-party service plus the AI.

Official APIMeta (per its rate card, replies within 24 h are free; templates aren't), the AI and the server.

What nobody tells you about the QR code

QR tutorials show you the setup and skip all of this:

  1. 01

    Your number can get suspended

    WhatsApp's terms forbid accessing the service through automated means without its permission, and allow it to suspend the account. It isn't illegal, but if it happens you lose the number your customers message you on.

  2. 02

    A third party reads all your chats

    A linked device gets everything that reaches your WhatsApp: customers, family, the school group chat. And that service keeps your AI key on its server.

  3. 03

    Your phone is still in charge

    If the phone goes 14 days without being used, WhatsApp logs out linked devices. The bot goes down without warning and you have to scan the QR code again.

  4. 04

    Maintenance is on you

    The instructions, the model, what to do when the AI gets it wrong or the service raises its price. The tutorial takes five minutes; the maintenance lasts forever.

So is it useless? To experiment with a test number, it can be fine. For the number you serve your customers on, I wouldn't use it.

The fine print of the official route

The official API isn't magic either. These rules are Meta's, not mine, and it's better to know them now than to discover them once the assistant is live:

  1. 01

    The 24-hour window

    When a customer messages you, a 24-hour window opens in which you can reply freely, and per Meta's rate card those replies are free. After that, you can only message them first with an approved template, billed per message by country.

  2. 02

    Approved templates

    Appointment reminders, confirmations or promotions go in templates that Meta reviews before you can use them. Marketing templates are usually the most expensive and the most closely watched.

  3. 03

    A limit on messaging first

    A new account can start conversations with 250 different people every 24 hours. Verifying your business with Meta raises it to 2,000, and then it grows on its own if quality is good. Replying to people who message you doesn't count against it.

  4. 04

    Your number and the app

    A number connected to the API can no longer be used in the WhatsApp app. If you want to keep answering from your phone, there's coexistence: the WhatsApp Business app and the API on the same number. It changes a few things in the app (for example, it logs out linked devices), so check it first.

  5. 05

    The AI has to be about your business

    Meta's terms forbid using WhatsApp Business to offer general-purpose AI assistants, the “ask it anything” kind. An assistant that serves your business is allowed: it answers about your products, prices and appointments, and hands everything else to a person.

  6. 06

    Meta paperwork

    You need a business account on Meta, an app connected to WhatsApp, a number and a permanent token. To raise the limits, you verify the business with its documents.

How I build it

Always with the official API. This is how a message travels from your customer to the reply:

  1. 1

    Your customer

    Messages your WhatsApp, same as always.

  2. 2

    Meta · official API

    Receives the message and hands it to your system instantly.

  3. 3

    Your server

    Pulls that customer's history and your business information.

  4. 4

    The AI

    Writes the reply using only your information: prices, hours, services.

  5. 5

    Reply or a person

    Answers in seconds. If it doesn't know or the customer asks for someone, it alerts your team.

Everything in your business's name

The Meta account, the number, the server and the AI are in your name and on your payment method. If you ever switch providers, you take it all with you.

It answers with your information

The AI answers with your business's information, not with whatever it makes up. What it doesn't know, it hands to a person.

A person can always step in

Your team sees every conversation and can take over at any moment.

The direct messages on my Instagram are answered by an assistant built this way, on Meta's official API.

DM me DEMO on Instagram and see it in action

Before connecting anything, decide this

Six questions. Answering them first saves weeks of changes later:

  • Which number will you use? Ideally one just for the business. If it's the one your customers already know, look into coexistence.

  • What does the AI answer, and what doesn't it? Write down the 20 questions you get most and their answers. That's the foundation of everything.

  • When does it hand over to a person? Complaints, payments, unusual cases, or whenever the customer asks.

  • What happens after hours? The AI can handle it and leave the case ready for your team to pick up in the morning.

  • Do you say it's an assistant? Yes. It builds trust and avoids misunderstandings.

  • Who pays for each account? Meta, the AI and the server, in the business's name and on its card.

Frequently asked questions

What about WhatsApp Business auto-replies?

The free app has a greeting message, an away message and quick replies. If you don't get many messages, start there: you don't need AI yet. AI makes sense when the same questions eat hours of your day.

How much does the official route cost?

It has three parts: what Meta charges, what the AI uses per conversation, and the server. Per Meta's rate card, replies within the 24-hour window are free and templates are billed per message by country. If almost everything is replies to customers who message you, Meta's part is usually the smallest. Meta updates its prices: check its rate card before deciding.

Can I use my personal WhatsApp?

I wouldn't, with either route. For the API, the right choice is a business number; and with a QR code, the AI would have access to your whole private life.

What if the customer writes again days later?

A new 24-hour window opens and the AI replies as usual. You only need a template when you're the one messaging first.

Does this work for Instagram too?

Yes. Meta has a similar API for Instagram direct messages, with its own rules. It's the one I use on my account.

Sources

Everything I say about Meta and WhatsApp comes from their own pages, checked on October 18, 2026:

Want something like this in your business?

I build custom AI assistants, automations and multi-AI teams: to answer customers, review copy or prepare content without losing hours. Tell me what eats your time and we'll see what can be automated.

More guides

See all guides