Templates / Capture Gmail website leads in Google Sheets with internal email alerts

Capture Gmail website leads in Google Sheets with internal email alerts

Ready for 3.0

by Faraz Shoaib ✓ · 0 views · created 2026-08-17 · 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-10-19.

What this workflow does

This workflow has 15 nodes and runs on Gmail events. Along the way it connects Gmail and Google Sheets.

How it runs

Trigger: On Gmail events.

  1. Extract Classify And Score Lead (Code): runs custom JavaScript code
  2. Has Email Address? (If): checks a condition and branches into true / false
  3. Find Existing Lead (Google Sheets): uses Google Sheets
  4. Alert Missing Email (Gmail): uses Gmail
  5. Prepare CRM Record (Edit Fields (Set)): sets 18 fields: createdAt, name, email…
  6. Is Duplicate Lead? (If): checks a condition and branches into true / false
  7. Send Duplicate Lead Alert (Gmail): uses Gmail
  8. Add Lead To CRM Sheet (Google Sheets): append
  9. Send Personalized Auto Reply (Gmail): uses Gmail
  10. Create Activity Log Entry (Google Sheets): append

…plus 4 more steps. See the full node list below.

Services it uses

GmailGoogle 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.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (New Real Estate Inquiry).

Nodes used (7)

From the author

Quick overview Qualify Real Estate Leads From Gmail And Build A Google Sheets Mini CRM Automatically classify real estate inquiries from Gmail, score lead urgency, prevent duplicate records, save new leads to Google Sheets, create an activity log, send…

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