Templates / Classify contact form leads with Google Gemini and log to Google Sheets

Classify contact form leads with Google Gemini and log to Google Sheets

Ready for 3.0

by Oriol · 2 views · created 2026-11-12 · Lead Generation, AI Summarization

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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 9 nodes and runs when someone submits an n8n form (“Contact us”). Along the way it connects Google Gemini Chat Model and Google Sheets.

How it runs

Trigger: When someone submits an n8n form (“Contact us”).

  1. Business settings (Edit Fields (Set)): sets 7 fields: business_name, business_description, categories…
  2. Classify and draft reply (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini model; output parser: Parse AI output
  3. Prepare row (Edit Fields (Set)): sets 9 fields: Date, Name, Email…
  4. Log lead in Google Sheets (Google Sheets): append
  5. Not spam? (If): checks a condition and branches into true / false
  6. Email lead alert (Send Email): sends an email over SMTP

Services it uses

Google Gemini Chat ModelGoogle Sheets

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

From the author

Quick overview This workflow captures website contact form submissions, uses Google Gemini to classify the lead and draft a reply, logs every message to Google Sheets, and emails an internal alert for non-spam inquiries. How it works 1. Receives a new…

Excerpt from Oriol'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.