n8n · Meta API · Webhooks · Node.js
Wappy — WhatsApp Business Automation
Problem
Build a real-time WhatsApp Business automation backend that handles two-way messaging, order confirmations, and multi-step workflow routing without manual intervention.
Architecture
Key Decisions
- Meta WhatsApp Cloud API via webhooks — real-time message ingestion without polling. Webhook verification and signature validation for security.
- n8n as the orchestration engine — visual workflow builder for non-technical team members to modify routing logic without code changes.
- Multi-step workflow routing — incoming messages classified and routed to order confirmation, chat logging, or escalation branches based on content.
- Automated order confirmations — triggered immediately on purchase events, reducing response time from minutes to seconds.
Outcome
Eliminated manual messaging overhead. Order confirmations delivered in under 3 seconds. Non-technical staff can modify automation flows independently via n8n.
Stack
n8nMeta WhatsApp Cloud APIWebhooksNode.js