Qualify Facebook leads and run WhatsApp outreach with GoHighLevel, Redis and Gemini
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs on Facebook Lead Ads events (plus 1 other trigger). Along the way it connects Facebook Lead Ads, HighLevel, Redis and WhatsApp Business Cloud and 2 more.
How it runs
Trigger: On Facebook Lead Ads events (plus 1 other trigger).
- Check Lead Payload Validity (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- If: checks a condition and branches into true / false
- Extract User Message Info (Edit Fields (Set)): sets 3 fields: sessionId, userMessage, profileName
- Fetch Contact from GHL (HighLevel): get many
- AI WhatsApp Assistant (AI Agent): runs an AI agent, with model: Activate Google Gemini AI; memory: Utilize Redis Chat Memory
- Check Contact Presence (If): checks a condition and branches into true / false
- Deliver WhatsApp Response (WhatsApp Business Cloud): send
- Build Outreach Message (Edit Fields (Set)): sets 5 fields: contactId, firstName, phone…
- Update or Insert in GHL (HighLevel): uses HighLevel
…plus 2 more steps. See the full node list below.
Services it uses
Other WhatsApp + Google Gemini templates (84) · Other Google Gemini + Redis templates (34) · Other Google Gemini + HighLevel templates (25)
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 (12)
- Facebook Lead Ads Trigger
n8n-nodes-base.facebookLeadAdsTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - HighLevel
n8n-nodes-base.highLevel - Edit Fields (Set)
n8n-nodes-base.set - Redis
n8n-nodes-base.redis - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Redis Chat Memory
@n8n/n8n-nodes-langchain.memoryRedisChat - WhatsApp Business Cloud
n8n-nodes-base.whatsApp
From the author
Quick overview Youtube Video: https://youtu.be/4eBS3peutkI This workflow captures Facebook Lead Ads submissions, validates and normalizes contact data, upserts the lead into GoHighLevel, and immediately sends a WhatsApp welcome template while saving the first…