Score leads and send WhatsApp proposals with Gemini, HighLevel and Apify
UnknownWhat this workflow does
This AI workflow has 28 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Google Gemini Chat Model, HighLevel, WhatsApp Business Cloud and Redis Chat Memory and 2 more.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Prepare Lead Data (Edit Fields (Set)): sets 6 fields: First Name, Last Name, Full Name…
- If: checks a condition and branches into true / false
- Fetch Google AI Lead Overview (Apify): run actor and get dataset
- Fetch GHL Contacts (HighLevel): get many
- Lead Processor Agent (AI Agent): runs an AI agent, with model: Gemini Chat Model; output parser: Parse Structured Output
- Get Opportunities (HighLevel): get many (opportunity)
- Route by Lead Type (Switch): routes items into branches
- If: checks a condition and branches into true / false
- Upsert Contact B (HighLevel): uses HighLevel
- Upsert Contact A (HighLevel): uses HighLevel
…plus 8 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Fetch Google AI Lead Overview).
Nodes used (14)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Switch
n8n-nodes-base.switch - HighLevel
n8n-nodes-base.highLevel - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - If
n8n-nodes-base.if - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - Redis Chat Memory
@n8n/n8n-nodes-langchain.memoryRedisChat - High Level Tool
n8n-nodes-base.highLevelTool - Telegram Tool
n8n-nodes-base.telegramTool - Apify
@apify/n8n-nodes-apify.apify
From the author
Quick overview Youtube Video Explanation: https://youtu.be/A9IURUQlvQs?si=l5USqTcSmCEBEORP This workflow receives new leads via webhook, enriches them with Apify Google AI Mode, scores them with Google Gemini, and then updates HighLevel contacts and…