Log inStart Free Trial
Meta Tech Provider

WhatsApp customer service automation with AI

WhatsApp customer service automation usually layers five pieces on one business number: a welcome for first-time contacts, fixed answers for common keywords, AI replies written by your own model for everything else, an after-hours message, and a clear hand-off to a person. Watching the runs and the number's connection keeps the setup from failing silently.

easyCoexistence connects the WhatsApp Business number your team already answers in the app to Meta's Cloud API through Coexistence and runs the service layers on it: fixed answers, welcome and after-hours messages, AI replies on your own key, and a pause whenever a person answers from the phone.

1 automation

Answers an incoming message, picked by kind: Has keyword, then First message, then After hours, then Every message.

4 hours

Default pause on a chat after you answer it from the phone app, adjustable from 0 to 168 hours.

10 per hour

Default cap on the AI replies one chat can get, adjustable from 1 to 60.

6 hours

Shortest gap between two failure emails for one automation, sent so you can answer that customer yourself.

Escalation paths

WhatsApp's Business Messaging Policy asks for prompt, clear and direct routes to a person beside automated replies.

24 hours

Window after the customer's last message in which replies that are not templates can be sent.

What does a WhatsApp customer service setup include?

Six pieces cover the service most businesses give on WhatsApp, and all of them run on the same number your team keeps answering in the WhatsApp Business app. Four are automations you create, from the starting points in the New automation gallery; the hand-off is built in too, with a Hand to a person step when you want a chat to go to you at a point you choose, and the monitoring needs nothing added. Build them in the order below, fixed answers first, so the parts that must be exact never depend on a model.

WelcomeFirst message: Reply with text with a greeting, then Reply with AI so the first question is answered too
Fixed answersHas keyword: Reply with text for prices, payment details, address and opening hours
AI repliesEvery message: Reply with AI on your own model, with your business facts in Instructions
After hoursAfter hours: a fixed text with your opening time, or Reply with AI if the AI should cover nights
Hand-offA person replies from the phone and the automation pauses on that chat, 4 hours by default
MonitoringThe Runs tab, failure emails and 24/7 monitoring of the number's connection

How do the pieces avoid replying twice?

An incoming message gets at most one automation, chosen by kind: keyword automations first, then First message, then After hours, then Every message, the oldest first within a kind. That rule lets a catch-all AI sit beside fixed answers without both replying, and it has consequences worth planning for:

  • A keyword wins over the AI. A message asking the price gets your fixed price text, not a model's paraphrase, which keeps figures exact.
  • The welcome takes a newcomer's first message. Put Reply with AI after the greeting in the same automation, or the first question waits for the next message.
  • After hours wins over Every message. If the AI should answer at night, use Reply with AI inside the After hours automation instead of fixed text.
  • The app's own greeting and away messages sit outside this rule. They fire from the phone, so switch off whichever one an automation replaces.

Which questions should get fixed text instead of AI?

Anything where a changed word costs money or trust. Fixed text says the same thing to everyone, spends no tokens and cannot be paraphrased into a mistake, so use Has keyword with Reply with text for these, and leave the AI the open questions: whether a product fits, how something works, what to do next.

  • Payment details: a PIX key, bank details or the payment link, copied exactly.
  • Prices and fees that rarely change, or a link to a price list you keep current.
  • Address, parking and a maps link.
  • Opening hours and holiday closures, edited the day they change.
  • Policies with legal weight, such as returns, cancellations and warranty.

What should the AI handle, and how does it know your business?

The Reply with AI step writes from two things: your Instructions, up to 20,000 characters, and the last messages of the chat, 10 by default and up to 20. Put in what a new team member would need on day one: what you sell, prices or where to find them, delivery areas, hours, the tone, and the cases to hand over. The model is your own, on your Anthropic, OpenAI or OpenRouter key, so you choose its quality and pay your provider directly.

Under your instructions, the AI also follows fixed rules: write a short, plain chat message in the customer's language, say a person will answer when the customer asks for one or the AI cannot help, introduce itself as the business's automated assistant in its first reply of the day, and never invent prices, stock, dates or policies the instructions leave out. Keep answers brief with Longest reply (tokens), 600 by default.

How does a person take over a conversation?

From the phone, as before. The team answers in the WhatsApp Business app; a reply typed there reaches the automation as an echo, and the automation pauses on that chat for 4 hours by default. Set "Pause on a chat after I answer it (hours)" under Advanced, from 0 to 168, longer when your conversations stretch over days. Replies the automation sent sit in the same chat thread on the phone, so whoever takes over reads the whole exchange first. You can also answer from the Conversations screen in the dashboard, and the automation pauses the same way.

Four routes bring a chat to a person: the customer asks, and the AI says someone will answer; the AI cannot help and says the same; a Hand to a person step pauses the bot on the chat and emails you; or a run fails, and an email tells you so you can answer that customer yourself. WhatsApp's Business Messaging Policy asks for this kind of clear route to a human beside automated replies.

How do you know the automation keeps working?

Several signals tell you, and none of them needs someone watching the phone:

  • The Runs tab keeps 30 days of runs per automation: Queued, Running, Waiting, Done, Failed or Skipped, with the skip reason in plain words, such as "You answered this chat from your phone recently".
  • When a step fails on a real message, an email names the customer and the error, at most once per automation every 6 hours.
  • If your AI provider refuses the key, the automation shows Paused, one email explains it, and it starts again once a working key is saved.
  • The connection itself is monitored 24/7, with email alerts when the number disconnects, the 14-day rule included, or when Meta blocks it from sending.
  • From ChatGPT or Claude, ask for the number's health (get_number_health) or an automation's latest runs (list_automation_runs).

How to set it up

  1. Turn on automations for the numberOn the number's page, the card Where incoming messages go should show Through easyCoexistence; choose it if the card shows Straight to your system.
  2. Save your AI keyClick AI keys on the Automations page, add your Anthropic, OpenAI or OpenRouter key and click Test and save.
  3. Add the fixed answers firstCreate Keyword reply automations for payment details, prices, address and hours, so the most sensitive answers never depend on a model.
  4. Add the welcome and after-hours messagesUse Welcome message and Away message, with your timezone, open days and hours, and add Reply with AI after the welcome text.
  5. Add the AI for the restStart from Blank, set the match to Every message, add a Reply with AI step, write the Instructions, pick the model and set the switch to Off before you click Save.
  6. Test, then switch onClick Test and run real customer questions through Try it, then switch each automation On and save.

Common mistakes

  • Leaving the app's away message on beside an After hours automation. Both fire, so a customer writing at night gets two texts; turn the app's version off in its Tools tab.
  • Expecting the AI at night when the After hours automation sends fixed text. After hours outranks Every message, so the fixed text answers; add Reply with AI to the After hours automation instead.
  • Setting the pause to 0 hours on a number your team answers. The automation keeps replying in chats a person is handling, and the customer gets answers from both.
  • Putting payment details only in the AI's Instructions. A model can shorten or reformat a key or account number; send it with a keyword automation as fixed text.
Doing this with EasyCoexistence

Every number is monitored 24/7, and automations cost nothing extra. US$ 9 down to US$ 0.75 per number per month, falling as you add numbers, with the first 3 days free.

easyCoexistence is a multichannel API and MCP server that connects AI agents such as Claude and ChatGPT to WhatsApp, Instagram, TikTok, Facebook and more. On WhatsApp it uses Coexistence: the business keeps using its number in the WhatsApp Business app while the AI works through Meta's official API.

Frequently asked questions

How fast do automated replies go out?

Fixed replies and templates go out seconds after the message arrives. An AI reply adds the time your model takes to write, and a webhook hand-off waits up to 20 seconds for your system. Sends are spaced to at most 10 per second per number, under Meta's 20 per second for a Coexistence number.

Will customers know a reply was automated?

Partly. Fixed replies arrive from your number like any other message, so say so in the welcome text if you want customers told. The first AI reply to a customer in a day opens by saying it is the business's automated assistant, and a customer who asks whether they are talking to a person is told it is a machine.

Does this replace a shared inbox for my team?

Not entirely. The Conversations screen in the dashboard lists the chats of numbers that go through easyCoexistence, with each person's fields, tags and notes, and an answer box that sends from your number; the bot steps aside when you answer there or from the phone. The team can also keep answering in the WhatsApp Business app, where the whole thread stays. A business that keeps its own inbox or CRM can receive the messages there too through a Forward URL on the number.

What does customer service automation cost to run?

easyCoexistence charges per connected number, between US$ 9 and US$ 0.75 a month depending on how many you connect, with nothing extra for automations. Your AI provider bills tokens to your own key. Meta bills your own WhatsApp Business Account beyond each number's 1,000 free service messages a month, and for templates by category and country, never marked up by us.

Keep reading

Ready to get started?

Set up WhatsApp Coexistence in minutes, not months. The app keeps working on the phone.

Start Free Trial

Verified on