AleyaAI
Conversational AI

WhatsApp Business API Automation: The Complete Guide

How to automate sales and support with the WhatsApp Business API in 2026: setup steps, templates, opt-in, messaging limits, costs and mistakes to avoid.

  • 6 min read
Photo of Esharib Musawer

By Esharib Musawer · Co-Founder, AleyaAI

21 October 2026

Robot AI agents sorting chat bubbles on a smartphone, connecting it to shopping and calendar systems and handing a chat to a person
Conversational AI

Key takeaways

  • To automate WhatsApp at scale you need the WhatsApp Business Platform (the API), not the free WhatsApp Business app. The Cloud API, hosted by Meta, is now the only version.
  • Outside a 24-hour customer service window, a business can only send pre-approved message templates, and only to people who have opted in.
  • New business portfolios can message 250 unique people a day outside service windows; verification and good quality unlock 2,000, then 10,000, 100,000 and unlimited.
  • Meta charges per message by category and country; service replies are free up to 1,000 per number a month, then charged.
  • The best automations combine instant AI or rule-based answers with a clean handover to a person, and connect to your CRM, store or booking system.

WhatsApp Business API automation means connecting WhatsApp to software, so customer questions get instant answers, orders and bookings update automatically, and your team only handles the conversations that need a person. To do it you need the WhatsApp Business Platform (the API), approved message templates, customer opt-in and a clear plan for handing chats to humans.

This guide covers what the API is, how to set it up, the rules that matter in 2026, what it costs, and the mistakes that get businesses' numbers limited.

WhatsApp Business app vs the WhatsApp Business API

WhatsApp Business app WhatsApp Business Platform (API)
What it is Free phone app A connection for software; no app of its own
Who replies People, by hand Chatbots, AI agents and your team in a shared inbox
Users per number One account, a few linked devices Many agents on one number through your inbox software
Automation Greeting, away messages, quick replies Full automation, AI, CRM and store integrations
Sending at scale Broadcast lists to saved contacts Approved templates within your messaging limit
Cost Free Meta charges per message by category; platform costs extra

If you get more than a few dozen chats a day, need several people on one number, or want answers outside office hours, you have outgrown the app.

Cloud API is the only option now. Meta's own hosted version, the Cloud API, has been the standard for new numbers since July 2024, and the older self-hosted On-Premises API stopped working on 23 October 2025. Any provider you choose should be built on the Cloud API.

The rules that shape every WhatsApp automation

1. The 24-hour customer service window

When a customer messages you, a 24-hour customer service window opens. Inside it you can reply freely: text, images, buttons, lists. Outside it, Meta's rule is simple: template messages are the only messages you can send. So your automation should answer quickly and finish the job while the window is open.

2. Message templates

Templates are pre-written messages, with placeholders like a name or order number, that Meta reviews before you can use them. Every template is one of three categories:

  • Marketing: offers, launches, re-engagement.
  • Utility: order confirmations, delivery updates, appointment reminders.
  • Authentication: one-time passwords and login codes.

Review is automatic and can take up to 24 hours. Templates also get a quality rating; ones that collect complaints or low read rates can be paused or disabled, so write them for the customer, not the campaign.

3. Opt-in

You may only message people who have given you their number and agreed to hear from your business. Meta lets you collect opt-in on your website, by SMS, by phone or on paper, as long as you name the business and follow local law. Meta recommends saying what kind of messages people will get (order updates, offers) and making opting out of each type easy.

4. Messaging limits

Limits count how many unique people you can message outside service windows in a moving 24 hours, and they now apply to your whole business portfolio, shared by all its numbers.

Level How you get there
250 Starting level for new portfolios
2,000 Verify your business, or deliver 2,000 high-quality template messages to unique people in 30 days
10,000 → 100,000 → Unlimited Automatic: keep quality high and use at least half your limit in 7 days; Meta raises it one level within 6 hours

Replies inside a customer service window don't count, so customer-started conversations are never held back by your limit.

How to set up WhatsApp Business API automation, step by step

  1. Pick your use cases first. List the top questions and tasks in your chats: order status, prices, bookings, documents, lead qualification. Automate the frequent, simple ones first.
  2. Set up a Meta business portfolio and complete business verification. It unlocks higher limits and builds trust.
  3. Choose how you connect. Use the Cloud API directly or through a provider (a Business Solution Provider or a platform with a shared inbox). Directly is cheaper but needs development; providers are faster but add fees.
  4. Prepare a phone number that can receive a verification code and isn't tied up in another WhatsApp account. If the number is on the WhatsApp app today, check your provider's process for moving it.
  5. Get your display name approved. It should match your business name.
  6. Create your templates for the messages you'll send outside the window, starting with utility ones such as confirmations and reminders.
  7. Collect opt-in at every place customers give you their number: checkout, booking forms, lead forms, in store.
  8. Build the automation. Combine:
    • quick-reply buttons and menus for common paths,
    • an AI agent trained on your products, policies and FAQs for open questions,
    • integrations with your CRM, store, booking or ERP system, often with n8n, so answers use live data.
  9. Design the human handover. Complaints, sensitive topics, high-value deals and anything the bot isn't sure about go to a person, with the full chat history.
  10. Test, launch and monitor. Watch template quality, reply times, handover rates and the questions the bot couldn't answer, and improve weekly.

What it costs in 2026

Meta charges per message, based on the message category and the recipient's country:

  • Marketing, utility and authentication templates are charged per message.
  • Utility templates sent inside the service window have also been charged since 1 October 2026.
  • Service replies are free for the first 1,000 per business number each month, then charged.
  • Chats started from Click to WhatsApp ads open a free entry window.

We cover the October 2026 changes, and who pays more, in WhatsApp API pricing: what changed on 1 October. Always check Meta's official rate card for current prices; your provider may add a platform fee on top.

Good automation lowers the bill: an AI agent that resolves a question in two messages instead of eight costs less and keeps customers happier.

What businesses automate on WhatsApp

Industry Popular automations
E-commerce Product questions with live stock, order tracking, returns, abandoned-cart reminders
Real estate Instant lead replies, property matching, viewing bookings
Healthcare Appointment booking and reminders, results-ready notices, intake forms
Logistics Shipment status, delivery updates, document collection
Hospitality Booking confirmations, check-in details, guest questions

Mistakes that get numbers limited

  • Messaging without opt-in. Blocks and reports quickly lower your quality.
  • Marketing blasts disguised as utility. Meta can recategorise templates, and spammy sends get paused.
  • A bot with no way out. Customers who can't reach a person block you.
  • Ignoring quality signals. Check template quality and fix low performers before Meta pauses them.
  • Using unofficial WhatsApp tools. Automating the consumer or Business app with unofficial software breaks WhatsApp's terms and risks a ban; use the official API.

How AleyaAI can help

AleyaAI builds WhatsApp automation on the official Cloud API: AI agents trained on your business, templates and opt-in flows that keep quality high, integrations with your CRM, store or booking system, and human handover built in. We also build AI chatbots for websites and other channels, and serve businesses across the UAE, Saudi Arabia and Pakistan, where WhatsApp is often the main customer channel.

Most WhatsApp automation projects go live in 2–4 weeks. See a past WhatsApp automation build, then book a free 30-minute strategy call and we'll map which of your chats can be automated first.

Want this working in your business? We build it end to end.

See how we build it
FAQ

Frequently asked questions.

Can't find what you need? Talk to our team.

The Business app is a free phone app for one business account, best for a few people replying by hand. The WhatsApp Business Platform (the API) has no app of its own: it connects WhatsApp to software, so you can add chatbots and AI, connect a CRM, share one number across a team and send approved messages at scale.

Technical setup with the Cloud API can take a day, but plan for one to three weeks in practice. Business verification, display-name approval, template reviews (up to 24 hours each) and building your automation flows and integrations take longer than connecting the number itself.

Yes, but only with approved templates, only to people who opted in to hear from your business, and within your messaging limit. New portfolios start at 250 unique people per day outside service windows, rising with verification and good quality. Low-quality bulk sends get templates paused and limits reduced.

For anything beyond simple auto-replies, usually yes, or a provider that does the build for you. Connecting the API, designing flows, adding AI, linking your CRM or store and setting up human handover are technical steps. No-code tools such as n8n reduce the work but still need careful setup.

There are two parts: Meta's per-message fees, which depend on the message category and the recipient's country, and the cost of your platform or build. Service replies are free up to 1,000 per number each month. Check Meta's rate card for current prices in your markets.

Let’s talk

Ready to put AI to work in your business?

Tell us what slows your team down. In a free 30-minute call, we’ll show you where AI can save time and money — and how fast we can build it.

  • Free 30-minute call
  • Fixed quote after the call