Templates / Score and reply to new leads using OpenRouter, Gmail and Google Sheets

Score and reply to new leads using OpenRouter, Gmail and Google Sheets

Ready for 3.0

by Hamza · 1 views · created 2026-10-06 · 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 16 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Gmail, Google Sheets and OpenRouter Chat Model.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Client Settings + Clean Lead (Edit Fields (Set)): sets 10 fields: businessName, ownerEmail, settingsSheetId…
  2. OpenRouter — Score + Draft Reply (Basic LLM Chain): sends a prompt to an LLM, with model: OpenRouter Chat Model
  3. Parse Claude JSON Safely (Code): runs custom JavaScript code
  4. Prepare Error Log (Edit Fields (Set)): sets 4 fields: errorTimestamp, errorNode, errorMessage…
  5. Can We Email This Lead? (If): checks a condition and branches into true / false
  6. Log Error in Google Sheets (Google Sheets): append
  7. Send Personal Reply by Gmail (Gmail): uses Gmail
  8. Save Lead — No Email (Google Sheets): append
  9. Is No-Email Lead Hot? (If): checks a condition and branches into true / false
  10. Alert Owner — Workflow Error (Gmail): uses Gmail

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

Services it uses

GmailGoogle SheetsOpenRouter Chat Model

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 receives website leads via webhook, uses OpenRouter to score the enquiry and draft a short reply, then sends the response through Gmail and logs the lead (and any errors) to Google Sheets. How it works 1. Receives a lead…

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