WhatsApp automation for business with AI: a practical guide
Automate WhatsApp for your business with AI: choose between the Business app and the API, follow the 24-hour and template rules, and keep a person in charge.
WhatsApp automation with AI means connecting your WhatsApp Business number to a workflow that reads each incoming message, answers routine questions from your own information, captures leads into your CRM and passes anything unusual to a person. It runs on the WhatsApp Business Platform (the API), follows Meta’s messaging rules, and works best when people approve the replies that matter.
In short
- The free WhatsApp Business app handles quick replies and away messages; AI and CRM connections need the Business Platform API.
- You can reply freely for 24 hours after a customer’s last message. After that, only approved templates, and only with opt-in.
- Let AI read, sort and draft; keep a person approving anything sensitive.
- Ground AI answers in your own documents, never in what the model guesses.
- Check Meta’s current pricing and policies before you build, because both change.
Which WhatsApp option do you need?
There are two ways a business uses WhatsApp, and the choice decides what you can automate.
| WhatsApp Business app | WhatsApp Business Platform (API) | |
|---|---|---|
| Cost to start | Free | Per-message charges for templates, plus build |
| Setup | Install on a phone | Meta business account, verified number, often a provider |
| Built-in automation | Greeting, away messages, quick replies, labels | None by itself; you connect your own systems |
| AI replies | Not supported natively | Yes, through your own integration |
| CRM and help desk | Manual | Connected by webhook and API |
| Best for | One person or a small team answering by hand | Volume, several staff, or any AI step |
If a handful of messages a day arrive and one person answers them, the app’s built-in features may be all you need. Once messages pile up, several people share the number, or you want enquiries logged in a CRM, the API is the route. Many businesses access it through a Business Solution Provider, or directly through Meta’s Cloud API.
What are the rules you have to build around?
WhatsApp is stricter than email, and an automation that ignores the rules risks a blocked number. The main ones:
- The 24-hour customer service window. When a customer messages you, you can send free-form replies for 24 hours after their last message. This is where most AI-assisted support and sales conversations happen.
- Templates outside the window. To start a conversation, or to follow up after the window closes, you must use a message template that Meta has approved. Templates are grouped into categories such as marketing, utility and authentication.
- Opt-in. Customers must have agreed to receive WhatsApp messages from you before you send them templates.
- Quality. If many people block or report your messages, Meta can lower your sending limits or restrict the number.
- AI policy. Meta’s terms set limits on how AI can be used on the Business Platform. An assistant that helps your own customers with your own products and orders is the intended use; check the current policy before you build anything broader.
Meta has changed WhatsApp pricing and policies several times, so treat any figure you read, including in guides like this one, as something to confirm against Meta’s current documentation.
What can AI automate on WhatsApp?
The useful work is the same as in an email inbox, with shorter messages and higher expectations of a fast reply.
- Enquiry triage. Read each message and tag it: new lead, order question, booking, complaint, spam.
- Lead capture. Pull name, product interest and urgency out of a chat and create a CRM record, then route it to the right person. Our step-by-step guide to automating lead follow-up with AI covers this in detail.
- Answers from your own information. Opening hours, prices, delivery areas, order status, using retrieval-augmented generation over your help pages and policies.
- Booking and reminders. Offer slots from your calendar and send approved reminder templates.
- Hand-off. Pass the conversation to a person, with a short summary, when the AI is unsure or the customer asks for one.
How does a WhatsApp AI automation work, step by step?
- A message arrives and Meta sends it to your webhook.
- The message is logged with the sender, time and raw text before any AI step runs.
- An AI step reads it, works out the intent and checks the 24-hour window.
- Routine questions are answered from your approved sources; anything uncertain is drafted for a person instead.
- Sensitive actions wait for approval: refunds, price exceptions, cancellations and anything that changes an order. This is human-in-the-loop design.
- The CRM or help desk is updated, and the run is written to a log you can review.
- Follow-ups outside the window go out only as approved templates to customers who opted in.
How do you keep it safe?
WhatsApp messages come from anyone who has your number, so treat every message as untrusted input. A customer can type instructions aimed at the AI, a technique called prompt injection, and an assistant that can issue refunds or read other customers’ orders is a target.
- Give the assistant only the tools the task needs. Answering order status does not require the ability to edit orders.
- Look up order details only for the number that is messaging, never for one named in the message.
- Keep a person approving money, cancellations and account changes.
- Send the model only the data each step needs, and redact what it does not.
- Log every message, decision and reply.
These are the same safeguards described in how to keep AI automations safe, applied to a channel where replies are expected within minutes.
What does it cost?
Costs come in two parts.
Running costs. Meta charges for template messages, with rates that vary by country and category. Replies inside the 24-hour window have historically been the cheapest part, so a flow that mostly answers inbound messages costs far less than one built around outbound campaigns. A provider may add its own fee. AI model usage is usually small for short chat messages.
The build. At Relaywork:
| Scope | Example | From |
|---|---|---|
| Starter | WhatsApp enquiry → AI summary → CRM record and alert | $150 |
| Standard | Triage, answers from your docs, drafted replies with approval, logs | $500 |
| Advanced | AI agent across WhatsApp, CRM, calendar and order system | $1,200 |
Full details are on the pricing page. The relevant services are sales and lead automation and AI support agents.
What mistakes should you avoid?
- Messaging people who did not opt in. It risks reports, lower limits and a restricted number.
- Letting the AI invent answers. If the information is not in your sources, it should hand off, not guess.
- No easy route to a person. Customers should be able to reach a human by asking.
- Long automated replies. WhatsApp is a chat; short, specific answers work better.
- Building before checking the rules. Confirm current pricing, template rules and AI policy with Meta first.
Where to start
Look at a week of your WhatsApp messages and sort them into three piles: questions the same answer would cover, leads that need capturing, and conversations that need a person. The first two piles are what to automate. If you want help choosing, the automation audit starts at $50, or tell us about your WhatsApp volume and you will get a reply within one business day.
Quick answers
Can I use AI to reply to WhatsApp messages?
Yes, through the WhatsApp Business Platform (the API). An AI step can read each message, answer routine questions from your own information and hand anything unusual to a person.
Do I need the WhatsApp Business API, or is the app enough?
The free Business app covers quick replies, greeting and away messages and labels for one team. You need the API to connect WhatsApp to your CRM, help desk or an AI assistant.
Can a business send WhatsApp messages to customers at any time?
Only within rules. Free-form replies are allowed for 24 hours after the customer's last message. Outside that window, you need the customer's opt-in and a pre-approved message template.
How much does WhatsApp automation cost?
There are two parts: Meta's per-message charges for template messages, which vary by country and category, and the build. At Relaywork, builds start at $150 for a simple flow and $500 for a multi-step flow with approvals.