Qualify Meta ads leads with WhatsApp verification, Gemini AI & Zoho CRM
Needs changesWhat this workflow does
This AI workflow has 22 nodes and runs on a schedule (every second) (plus 1 other trigger). Along the way it connects Google Gemini Chat Model and Zoho CRM. It also calls graph.facebook.com and api.twilio.com over HTTP.
How it runs
Trigger: On a schedule (every second) (plus 1 other trigger).
- Fetch FB Leads (HTTP Request): calls graph.facebook.com
- Classify Response (AI) (AI Agent): runs an AI agent, with model: Gemini LLM
- Extract Lead Info (Edit Fields (Set)): sets 3 fields: Name, Phone Number, Email
- Parse AI JSON Output (Code): runs custom JavaScript code
- Check Zoho Contact Exists (HTTP Request): calls an HTTP API
- Route by Classification (Switch): routes items into 4 branches
- If: checks a condition and branches into true / false
- Reply: Confirmed (HTTP Request): calls api.twilio.com (POST)
- Reply: Declined (HTTP Request): calls api.twilio.com (POST)
- Reply: Request Human (HTTP Request): calls api.twilio.com (POST)
…plus 9 more steps. See the full node list below.
Services it uses
HTTP calls to: graph.facebook.com, api.twilio.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Classify Response (AI) (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Classify Response (AI) (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (10)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Webhook
n8n-nodes-base.webhook - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Zoho CRM
n8n-nodes-base.zohoCrm - If
n8n-nodes-base.if
From the author
🧩 What Problem Does It Solve? Meta’s ad forms often generate unqualified leads from casual scrollers. This workflow uses WhatsApp and AI to automatically verify, qualify, and prioritize real leads — saving time and boosting sales efficiency. 📝 Description…