Skip to content

Blog · WhatsApp and channels

AI agent for WhatsApp: how to implement one and what you need first

How to set up an AI agent for WhatsApp with the official API: the line, 24-hour window, connected systems, limits and human handoff.

Alejandro Kratc Published Reviewed 5 min read

How do I put an AI agent in charge of answering my WhatsApp?

An AI agent for WhatsApp handles conversations, keeps context and consults authorized systems to answer or run the next step. Implementing one requires four things, in this order: a line connected through the official WhatsApp Business API (not the phone app), your business instructions, the data sources it must consult, such as inventory, calendar or receivables, and at least one Meta-approved template if you also plan to message people first. The 24-hour window drives the design: inside it the agent replies freely; outside it only approved templates go out.

The request usually arrives like this: “I want an AI agent for WhatsApp.” And the conversation almost always stalls at the same point, which is not the one people expect. It is not the model, not the prompt, not the price. It is the line.

This article is the order worth doing things in, awkward part included.

If you want to hire one rather than build it, start with the AI chatbot for business page, which sums up the commercial scope: what it handles, which systems it consults and when your team steps in. This guide answers the other question: what you have to get ready to implement it officially.

What an AI agent for WhatsApp does

An AI agent for WhatsApp receives the conversation, understands the request and uses the tools you authorized to move the case forward. It may work as a WhatsApp sales chatbot, a customer-service chatbot or the entry point to a CRM connected to WhatsApp. The difference is not natural-sounding copy; it is consulting the correct data, leaving traceability and handing exceptions to a person.

First: the line has to be the official one

WhatsApp has two worlds that look alike and never touch.

One is the app on your phone. The other is the official WhatsApp Business API, which is the only route by which a system can read and answer messages with Meta’s permission.

A number lives in one or the other, never both at once. When you register a number on the official API, it stops opening in the app. That sentence is usually the surprise of the first meeting, so it is better to have it clear up front: if your team answers from a phone today, that phone stops being the tool.

And one warning worth writing even though it is uncomfortable: there are services that connect WhatsApp by reading the app’s QR code, bypassing Meta entirely. They work until Meta notices, and then the number gets suspended. Losing the line your customers write to is not a risk worth the savings.

Second: the 24-hour window drives the design

This is the rule that reshuffles the most projects, and the one almost nobody mentions before selling.

  • Within 24 hours of the customer’s last message, your Met replies with free text. It can talk, ask, quote, book. No format restrictions.
  • Outside those 24 hours, the only thing that can go out is an approved template: text you registered beforehand in the WhatsApp Business manager and Meta reviewed.

This is not a limitation of the platform you hire. It belongs to the channel, and it applies to everyone equally.

The practical consequence is that your use cases split into two groups, and it pays to sort them before you start:

What you want to doWho startsWhat you need
Answer questions, quote, bookThe customerNothing extra
Remind someone of tomorrow’s appointmentYouApproved template
Chase an overdue invoiceYouApproved template
Recover an abandoned orderYouApproved template

Everything in the bottom half waits as long as Meta takes to approve your template. Which is why you register them on day one, not on the last day.

Third: the Met answers on its own, automation is something else

There is a confusion here that costs weeks: believing you have to draw a flow for the agent to reply.

You do not. The Met assigned to the channel receives the conversation and resolves it inside the conversation. There is no diagram to build for it to answer a question, quote or book. That is simply its job.

Automations are for the other half: whatever has to happen without anyone writing. The day-before reminder, Tuesday’s receivables sweep, the reaction to an order that changed status. Those are scheduled jobs that fire on their own.

Mixing the two leads to projects that try to model every possible branch of a conversation in a diagram, which is exactly the work a Met came to eliminate.

Fourth: with no systems connected, you have an expensive chatbot

A Met with no tools answers with whatever you wrote into it and nothing more. If you want it to say “yes, we have it in a medium” or “Thursday at 3 is open,” it has to be able to look that up.

The connection order we recommend follows the questions you get most:

  1. The CRM, which is native and asks for no credentials. Everyone who writes becomes a contact with their history, and without that there is no follow-up to speak of.
  2. Whatever answers your most frequent question. If you sell product, inventory. If you sell time, the calendar. If you collect, receivables.
  3. Everything else, once the first one is genuinely running.

The temptation to connect everything in month one is strong and usually backfires: it multiplies what has to be tested and pushes back the day the Met answers its first real message.

What to review in the first week

Once it is running, these are the four things worth watching. They are not dashboard metrics: they are the ones that catch a problem while it is still cheap to fix.

  • Conversations that ended without a useful answer. Read them in full, not the summary. What the Met is missing is written there.
  • Handoffs to a person. If there are many, that is not a failure: it is the list of what comes next.
  • Templates Meta rejected. It is almost always the wording, not the intent.
  • Answers that sounded right and were wrong. These are the dangerous ones and you only find them by reading. A wrong fact stated confidently is indistinguishable from a correct one.

Where to start if you have nothing

If you are starting from zero, the shortest path we have seen is this: begin Meta’s business verification on day one, because it is the only thing you cannot accelerate. While that moves, pick one concrete job and get it working end to end before adding the second.

Booking is usually the best first job, because the result shows up the same day and it does not depend on integrating your inventory.

The limits

What this article does NOT answer

We would rather say it here than leave you hunting for something that is not there.

Keep going

What this article mentions, in detail

The integrations, the Mets and the automations named above, each with its own page.

Where it comes from

Sources

Everything this article claims that we did not measure ourselves, with its origin.

Frequently asked

Questions on this topic

The number, yes, but it stops working in the phone app once it is registered on the official API. A number lives in one of the two, never both. That is why many teams start on a fresh line and migrate the well-known number once everything is tested.

Because Meta does not allow it. If the last conversation with that person is more than 24 hours old, the only thing that goes out is a template Meta reviewed and approved beforehand. This is not a limitation of the platform you pick, it is the rule of the channel, and anyone promising otherwise is describing a route that gets numbers suspended.

It answers on its own. The Met assigned to the channel receives the conversation and resolves it inside that conversation; there is no flow to draw for it to reply. Automations are for the other half: things that have to happen without anyone writing, like the day-before reminder or the daily receivables sweep.

It answers questions, qualifies opportunities and keeps conversation context. With authorized tools it can also consult the CRM, check inventory, book, quote or prepare a payment. When a case needs judgment or an exception, it hands it to a person with the available context.

Chatbot describes the conversational interface and may include AI and integrations. Agent describes the ability to choose steps and run actions in authorized systems. Compare which real data each option can consult, what tasks it can execute and how it hands an exception to a person.

The Met leaves an internal note with the summary and the reason, pauses itself and assigns the conversation to a person. The pausing is the important part: without it, the agent and the person answer over each other in the same thread.

The part nobody controls is Meta's business verification, which can take hours or several days depending on how your paperwork looks. Start there rather than leaving it for last, because it is the only step you cannot speed up by working harder.

Keep reading

Other articles on the same thing

Want to see it running on your operation?

We show it with your own accounts connected, not with a canned demo.