Templates / Qualify and route inbound leads with GPT-5, Google Sheets, Gmail, and Slack

Qualify and route inbound leads with GPT-5, Google Sheets, Gmail, and Slack

Ready for 3.0

by Bhaskar Gorati ✓ · 50 views · created 2026-08-29 · 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 21 nodes and runs when someone submits an n8n form (“Get in Touch”). Along the way it connects Google Sheets, OpenAI Chat Model, Slack and Gmail.

How it runs

Trigger: When someone submits an n8n form (“Get in Touch”).

  1. Clean & Validate Lead (Code): runs custom JavaScript code
  2. Is Email Valid? (If): checks a condition and branches into true / false
  3. Check Existing Lead (Google Sheets): lookup
  4. Is New Lead? (If): checks a condition and branches into true / false
  5. Notify Workflow Error (Gmail): uses Gmail
  6. Enrich Company Data (HTTP Request): calls an HTTP API
  7. Merge Enrichment (Code): runs custom JavaScript code
  8. AI Lead Qualification (AI Agent): runs an AI agent
  9. Log All Leads (Google Sheets): append
  10. Route by Category (Switch): routes items into 3 branches

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

Services it uses

Google SheetsOpenAI Chat ModelSlackGmail

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

From the author

Quick overview This workflow captures leads via an n8n hosted form, validates and de-duplicates them in Google Sheets, enriches company details with Clearbit autocomplete, qualifies the lead with OpenAI, then logs results and routes follow-ups through Gmail…

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