Templates / Qualify inbound email leads with Claude Haiku, Gmail, and Google Sheets

Qualify inbound email leads with Claude Haiku, Gmail, and Google Sheets

Ready for 3.0

by nexum ✓ · 20 views · created 2026-05-21 · 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 AI workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Anthropic Chat Model, Gmail and Google Sheets.

How it runs

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

  1. Set Lead Fields (Edit Fields (Set)): sets 4 fields: name, email, company…
  2. Score Lead with Claude (Basic LLM Chain): sends a prompt to an LLM, with model: Claude Haiku; output parser: Structured Output Parser
  3. Route by Score (Switch): routes items into 2 branches
  4. Alert: Email HOT Lead (Gmail): send
  5. Log WARM Lead (Google Sheets): append
  6. Return Score to Caller (Respond to Webhook): sends the response back to the webhook caller

Services it uses

Anthropic Chat ModelGmailGoogle 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 (9)

From the author

Quick overview This workflow receives inbound lead data via a webhook, uses Anthropic Claude to qualify it as HOT, WARM, or COLD, then routes HOT leads to Gmail and WARM leads to Google Sheets, and finally returns the score in the webhook response. How it…

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