Templates / Score and auto-reply to new leads with OpenAI and Gmail

Score and auto-reply to new leads with OpenAI and Gmail

Ready for 3.0

by Alejandro Alfonso ✓ · 82 views · created 2026-03-08 · Lead Nurturing, 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 OpenAI, Gmail and Google Sheets.

How it runs

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

  1. Configure Your Settings (Edit Fields (Set)): sets 5 fields: businessName, ownerName, ownerEmail…
  2. Score Lead & Draft Reply (OpenAI): uses OpenAI
  3. Parse AI Response (Code): runs custom JavaScript code
  4. Route by Lead Quality (Switch): routes items into 3 branches
  5. Log Lead with Score (Google Sheets): append
  6. Reply to Hot Lead (Gmail): uses Gmail
  7. Reply to Warm Lead (Gmail): uses Gmail
  8. Reply to Cold Lead (Gmail): uses Gmail

Services it uses

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

From the author

++Who is this for++ Small business owners, freelancers, and agencies who receive inbound leads through a web form and want instant, personalized follow-up — without manually reading every submission. ++What it does++ When someone fills out your lead intake…

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