Qualify WhatsApp real estate leads with Gemini and Supabase
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 9 nodes and runs on WhatsApp events (messages). Along the way it connects Supabase, WhatsApp Business Cloud and Google Gemini Chat Model.
How it runs
Trigger: On WhatsApp events (messages).
- Set Configuration (Edit Fields (Set)): sets 7 fields: agent_whatsapp_number, high_score_threshold, medium_score_threshold…
- Classify Lead Intent (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini Chat Model; output parser: Lead Data Parser
- Save Lead to Supabase (Supabase): insert
- Route By Intent Score (Switch): routes items into 2 branches
- Alert Agent via WhatsApp (WhatsApp Business Cloud): send
Services it uses
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 (9)
- Supabase
n8n-nodes-base.supabase - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - Edit Fields (Set)
n8n-nodes-base.set - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Switch
n8n-nodes-base.switch - No Operation, do nothing
n8n-nodes-base.noOp - WhatsApp Business Cloud
n8n-nodes-base.whatsApp
From the author
Quick overview This workflow triggers on incoming WhatsApp messages, uses Google Gemini to extract and score real estate lead details, stores each lead in Supabase, and sends a WhatsApp alert to the agent only for high-intent inquiries based on configurable…