Handle ManyChat WhatsApp leads with OpenAI, Brevo CRM, and Slack alerts
Ready for 3.0What this workflow does
This workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.openai.com, api.brevo.com and api.manychat.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Instant 200 OK Handshake (<150ms) (Respond to Webhook): sends the response back to the webhook caller
- Parse & Qualify Subscriber (Code): runs custom JavaScript code
- AI WhatsApp Copy Generator (HTTP Request): calls api.openai.com (POST)
- Brevo CRM Async Upsert (HTTP Request): calls api.brevo.com (POST)
- Format WhatsApp Message (Code): runs custom JavaScript code
- ManyChat WhatsApp Callback API (HTTP Request): calls api.manychat.com (POST)
- Is Hot WhatsApp Lead? (If): checks a condition and branches into true / false
- Slack SDR WhatsApp Alert (HTTP Request): calls an HTTP API (POST)
HTTP calls to: api.openai.com, api.brevo.com, api.manychat.com
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.
Nodes used (5)
- Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if
From the author
Quick overview This workflow receives a ManyChat webhook, instantly returns a 200 OK to avoid ManyChat’s 10-second timeout, then asynchronously generates a WhatsApp reply with OpenAI, syncs the lead to Brevo CRM, and optionally notifies an SDR team in Slack…