Score and log form leads with Google Gemini, Google Sheets and Gmail
Ready for 3.0What this workflow does
This AI workflow has 11 nodes and runs when someone submits an n8n form (“Request a Free Quote”). Along the way it connects Google Gemini Chat Model, Google Sheets and Gmail.
How it runs
Trigger: When someone submits an n8n form (“Request a Free Quote”).
- Clean Lead & Spam Check (Code): runs custom JavaScript code
- Settings (Edit Fields (Set)): sets 6 fields: business_name, business_type, services…
- Real Enquiry? (If): checks a condition and branches into true / false
- AI: Score Lead (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Lead Score Format
- Prepare Row (Code): runs custom JavaScript code
- Save Lead to Sheet (Google Sheets): append
- Hot Lead? (If): checks a condition and branches into true / false
- Email Hot Lead Alert (Gmail): uses Gmail
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Gemini + Google Sheets templates (819) · Other Google Gemini + Gmail templates (518)
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)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - 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 - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow captures quote enquiries via an n8n Form, filters spam, uses Google Gemini to classify and score each lead, appends the results to Google Sheets, and sends a Gmail alert with an AI-drafted reply when the score meets your hot-lead…