I build on the WhatsApp Business Platform (Meta’s Cloud API), and two things kept failing without any warning: calling quietly switched off on a number, and a message template got paused or rejected. Either way, the first sign was usually a customer saying “I didn’t get anything”.
So I built a small n8n workflow that checks both every morning and only alerts when something is wrong. It uses core nodes only, with no community or paid nodes.
How it works, node by node
- Schedule Trigger: runs every day at 07:00. Set your timezone under Workflow settings, or 07:00 means UTC.
- Code (Config): one CONFIG object holding the Graph API base URL with a pinned version (v23.0 by default), the phone number ID, the WhatsApp Business Account ID, a business name and the alert webhook URL. Bumping the Graph version means changing one line.
- HTTP Request (Get calling settings): GET /{phone-number-id}/settings?fields=calling.
- HTTP Request (List templates): GET /{waba-id}/message_templates?fields=name,status,category,language&limit=200.
- Code (Find problems): builds a list of problems. Calling is anything other than ENABLED, or a template is REJECTED, PAUSED or DISABLED. If either Graph call returns an error, it reports that too, so an expired token doesn’t look like “all fine”. If the list is empty, the node returns no items, so on a healthy day nothing is sent.
- HTTP Request (Send alert): POSTs the message to an incoming webhook. The body carries the same text as both “text” and “content”, so one node works with Slack, Teams or Discord.
Both Graph calls use a single Header Auth credential (Authorization: Bearer ), so no token ever sits in a Code node.
Example of the alert format (sample values):
WhatsApp health check (Your Business):
- Calling is DISABLED on 123456789012345
- Template order_update (en) is PAUSED
Limits, to be honest about them
- It reads up to 200 templates in one call, with no paging.
- I tested it on n8n 2.45.5 against a mock Graph API. Test it with your own number before you rely on it.
- You need your own Cloud API number, a System User token and an n8n instance that can reach graph.facebook.com.
Where it comes from
It’s one of three workflows in a paid pack I sell, the Cloud API Starter Pack for n8n (USD 19, one-time download, sold as-is with no support or updates). The other two are a webhook hub (Meta’s verify handshake, an optional X-Hub-Signature-256 check, and routing of message, status and call events) and a key-protected endpoint for sending approved templates. Everything above is enough to build the health check yourself.
Not affiliated with Meta or n8n.
Happy to answer questions about the Graph calls or the alert logic here in the thread. And if you handle template status changes another way, for example through the message_template_status_update webhook, I’d like to hear how it went for you.