Templates / Monitor WhatsApp template health with OpenAI, Gmail and Slack alerts

Monitor WhatsApp template health with OpenAI, Gmail and Slack alerts

Ready for 3.0

by Zhang Lixiang ✓ · 0 views · created 2026-11-13 · DevOps, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 38 nodes and runs on a schedule (every day at 08:00) (plus 2 other triggers). Along the way it connects Google Sheets, OpenAI Chat Model, HTTP Request and Slack and 1 more.

How it runs

Trigger: On a schedule (every day at 08:00) (plus 2 other triggers).

  1. Set Health Check Settings (Edit Fields (Set)): sets 15 fields: business_name, phone_number_ids, waba_id…
  2. Fetch Phone Number Status (HTTP Request): calls an HTTP API
  3. If: checks a condition and branches into true / false
  4. Shape Number Result (Code): runs custom JavaScript code
  5. Describe Phone API Error (Code): runs custom JavaScript code
  6. List Phone Numbers (Code): runs custom JavaScript code
  7. Stop Until Settings Filled (Stop and Error): stops the run with an error
  8. Check Each Number (Execute Sub-workflow): calls another n8n workflow
  9. Fetch Message Templates (HTTP Request): calls an HTTP API
  10. Build Health Snapshot (Code): runs custom JavaScript code

…plus 21 more steps. See the full node list below.

Services it uses

Google SheetsOpenAI Chat ModelHTTP RequestSlackGmail

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (18)

From the author

Quick overview This workflow runs daily to check WhatsApp Cloud API phone number health and message template status via the Meta Graph API, compares results with the previous run, optionally generates OpenAI rewrite suggestions for newly rejected templates,…

Excerpt from Zhang Lixiang's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.