Templates / Capture and score website leads with Gemini RAG, Supabase, Google Sheets and Slack alerts

Capture and score website leads with Gemini RAG, Supabase, Google Sheets and Slack alerts

Ready for 3.0

by Dean Pike ✓ · 153 views · created 2025-11-05 · Lead Nurturing, AI Chatbot

Ready 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 22 nodes and runs when a chat message arrives (plus 1 other trigger). Along the way it connects Supabase Vector Store, Embeddings Google Gemini, Reranker Cohere and HTTP Request and 5 more.

How it runs

Trigger: When a chat message arrives (plus 1 other trigger).

  1. Check Identity In DB (Supabase): get many
  2. Get All Leads (Google Sheets): uses Google Sheets
  3. AI Support Specialist (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; 6 tools (Vector Store, Check if Lead Exists in CRM, Append row in Google Sheets CRM, Update row in Google Sheets CRM…); memory: Postgres Chat Memory
  4. Filter: keeps only the items that match a condition
  5. Respond to Chat (Chat): uses Chat
  6. If: checks a condition and branches into true / false
  7. AI Leader Scorer (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; 1 tool (Update row in Google Sheets CRM (2))
  8. Mark as Scored (Google Sheets): append or update

Services it uses

Supabase Vector StoreEmbeddings Google GeminiReranker CohereHTTP RequestSupabaseGoogle Gemini Chat ModelPostgres Chat MemoryGoogle SheetsSlack

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 (16)

From the author

Turn your website chat into a lead-generating machine. Visitors chat with an AI that answers questions from your knowledge base, captures their contact info, syncs everything to Google Sheets, and automatically scores leads based on buying signals - all…

Excerpt from Dean Pike's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.