3 min readAutomation
WhatsApp Cloud API with n8n: a missed-call follow-up that books the job
How to send a WhatsApp reply to every missed call or new lead with the official Cloud API and n8n, within Meta's rules, with a person taking over.
To reply on WhatsApp to every missed call, you need three pieces: your phone system tells n8n a call was missed, n8n sends an approved WhatsApp template through Meta's Cloud API, and replies come back to n8n so it can ask a couple of questions, send a booking link and hand over to a person. WhatsApp itself never sees the phone call, so the trigger has to come from your phone provider.
What you need before you start
- A Meta Business account and a WhatsApp Business number on the Cloud API, in your own name.
- A phone system that can send a webhook on a missed call, such as Twilio or most cloud PBX tools. A plain mobile number can't.
- n8n, self-hosted or Cloud. It has a WhatsApp Business Cloud node for sending and a WhatsApp trigger for replies.
- At least one message template approved by Meta, because you're writing first.
The Meta rules that shape the flow
- The 24-hour windowOnce a customer messages you, you can reply freely for 24 hours. Outside that window, every message you start must use an approved template.
- Opt-inWrite first only to people who gave you their number and expect to hear from you, and make it easy to stop. Messages people report as spam lower your number's quality rating and can limit how many you can send.
- You pay for templatesMeta charges for template messages by category and country, so the plan should estimate the monthly cost before you build.
The flow, step by step
- Missed call webhookYour phone system calls an n8n webhook with the caller's number and the time.
- Check before you sendSkip numbers that already have an open chat, opted out, or are in your contacts as staff or suppliers. Format the number in international form.
- Send the templateSomething short: "Sorry we missed your call. What can we help with?" with two or three quick-reply buttons.
- Read the replyThe WhatsApp trigger receives the answer. A Switch node routes each button; free text goes to a person.
- Book or hand overSend a booking link for simple requests. For anything else, post a summary to Slack or your CRM and stop the automation for that chat.
- Log every stepSave the number, the messages and the outcome, so you can see how many missed calls became bookings.
Keep a person in it
The automation should answer the easy part and get out of the way. Complaints, refunds and anything unclear go to a person, and once someone replies by hand the flow should stay quiet. An AI reply drafted from your own prices and FAQ can help, but I'd have a person approve it until the answers have proved reliable.
For many small businesses a pre-filled chat link is enough, and it costs nothing to run. The yoga site I built works that way, with click tracking on every button. I wrote about why in WhatsApp is the checkout.
Questions people ask
- Can WhatsApp detect missed calls on its own?
- No. The Cloud API handles messages, not your phone line. The missed-call signal has to come from your phone system as a webhook, and n8n takes it from there.
- Do I need approved templates for a missed-call reply?
- Yes. You're writing to the caller first, outside a 24-hour customer service window, so Meta requires an approved template. Replies inside the window can be free text.
- Can I keep using my WhatsApp Business app number?
- Sometimes. Meta now lets some numbers use the WhatsApp Business app and the Cloud API together; otherwise a separate number for automation is simplest. Check the options in your Meta Business settings before you start.
- Will automated WhatsApp messages get my number banned?
- Not if you stay within Meta's rules: message people who opted in, use approved templates, and make it easy to stop. Bulk messages to cold lists and unofficial tools are what get numbers restricted.