Platform
Chatbot Builder Bulk Messaging Team Inbox Mini CRM API & Webhooks AI Integration WhatsApp Flows
Industries
E-commerce & D2C Real Estate Education Healthcare Finance & BFSI Logistics Hospitality Retail
Integrations 📚 Learn 🗂 Codex Compare Pricing About Contact Start Free Trial →

n8n + WhatsApp API Integration — Complete Guide 2025

n8n is for teams that want the power of Make or Zapier but with full code access, self-hosting capability, and no per-execution pricing. If your team has a developer and values data sovereignty — n8n + WA.Expert is the most powerful WhatsApp automation stack available.

Connect n8n + WhatsApp → Talk to an Expert
Open source
Self-hosted — your data stays on your servers
Zero
Per-execution cost on self-hosted n8n
Full code
JavaScript/Python code nodes for complex logic
400+
Native integrations + WA.Expert via HTTP node

Top use cases for n8n + WhatsApp API

n8n is an open-source, self-hostable workflow automation platform. For technically minded teams that want complete control over their automation infrastructure — no vendor lock-in, no per-task pricing, and full code access when needed.

🖥️
Self-hosted WhatsApp automation
All automation runs on your own server — complete data sovereignty for regulated industries.
💻
Custom code + WhatsApp
Use n8n's Code node to write JavaScript/Python logic, then fire WhatsApp via WA.Expert — unlimited flexibility.
🔄
Complex multi-step flows
Build WhatsApp workflows with loops, conditions, sub-workflows, and error handling that no-code tools can't replicate.
🏢
Enterprise internal automation
Internal WhatsApp notifications for ERP events, system alerts, approval workflows — self-hosted for security.

How n8n events trigger WhatsApp messages

n8n triggerWhatsApp action (WA.Expert)Business impact
Any webhook triggerHTTP Request to WA.Expert → WhatsApp sentWorks with any system that can POST
Cron scheduleTimed WhatsApp reports or reminders — fully automatedDaily reports, weekly digests
Database change (via polling)New record in PostgreSQL/MySQL → WhatsApp notificationInternal operational alerts
Code node logicComplex conditional template selection → WhatsAppFull code flexibility
Error in any nodeError handler → WhatsApp alert to adminSystem monitoring

How to connect n8n to WhatsApp API

1

Deploy n8n (cloud or self-hosted)

Use n8n Cloud (managed) or self-host on your own server via Docker. Self-hosting is recommended for data-sensitive industries.

2

Create a new workflow

In n8n, create a workflow. Add your trigger node — this can be a Webhook, Cron, or any of n8n's 400+ native app triggers.

3

Add HTTP Request node for WA.Expert

Add an "HTTP Request" node. Set Method: POST, URL: https://api.wa.expert/v1/send. Add Authorization header with your WA.Expert API key.

4

Configure request body

In the body, add the JSON with "to" (phone), "template" (template name), and "variables" (dynamic fields from your trigger). Use n8n's expression editor to map trigger data.

5

Add Code node for complex logic (optional)

For advanced use cases, insert an n8n Code node before the HTTP Request to transform data, apply business logic, or handle conditional template selection in JavaScript.

Sample n8n → WhatsApp trigger

// n8n HTTP Request node — WA.Expert config Method: POST URL: https://api.wa.expert/v1/send Auth: Header Auth Name: Authorization Value: Bearer {{$env.WA_EXPERT_KEY}} Body (JSON): { "to": {{$json["phone"]}}, "template": {{$json["template_name"]}}, "variables": { "name": {{$json["customer_name"]}}, "amount": {{$json["amount"]}} } }

WA.Expert handles WhatsApp API authentication, template management, and message delivery — you only need to pass the trigger data from n8n. No WhatsApp API knowledge required.

n8n + WhatsApp — common questions

Is n8n free?
n8n is open-source and free to self-host. You pay only for your server costs (a ₹500–2,000/month VPS is sufficient for most use cases). n8n also offers a managed cloud plan starting at €20/month for teams that don't want to manage infrastructure.
How is n8n different from Zapier or Make?
n8n is open-source and self-hostable — your data never leaves your servers. It has Code nodes for full JavaScript/Python logic. There are no per-execution costs on self-hosted. The trade-off: it requires more technical setup than Zapier or Make and the UI is less polished.
Does n8n have a native WhatsApp integration?
n8n has a WhatsApp Business Cloud node (for direct Meta API access). For WA.Expert specifically, use the HTTP Request node — it's equally capable and gives you access to all WA.Expert features including template management and inbox routing.
Can n8n handle WhatsApp replies (inbound)?
Yes — WA.Expert can forward incoming WhatsApp messages to an n8n webhook. The n8n workflow then processes the inbound message — parsing text, routing based on keywords, updating databases, and triggering reply messages.
What is the right use case for n8n vs Zapier?
n8n is best for: technical teams, data-sensitive industries (fintech, healthcare), high-volume automations where per-task cost is prohibitive, and complex logic requiring code. Zapier is best for: non-technical teams, fast setup, standard business apps with pre-built integrations.
Can I use n8n for WhatsApp chatbot logic?
Yes — n8n's Switch and IF nodes enable keyword-based routing for simple chatbot logic. For complex NLU-based chatbots, WA.Expert's native chatbot builder is recommended. n8n is excellent for event-triggered and rule-based WhatsApp automation.

More WhatsApp integration guides

Ready to connect n8n to WhatsApp?

Self-hosted, open-source, zero per-execution cost. The most powerful WhatsApp automation stack for technical teams.

Start Free Trial → Talk to an Expert