Templates / Qualify and route inbound leads with HubSpot and Gmail

Qualify and route inbound leads with HubSpot and Gmail

Ready for 3.0

by Onur Olgun ✓ · 3 views · created 2026-10-16 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 8 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects HubSpot and Gmail.

How it runs

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

  1. Set Lead Data Fields (Edit Fields (Set)): sets 5 fields: name, email, budget…
  2. Compute Lead Score (Code): runs custom JavaScript code
  3. Add Contact to HubSpot (HubSpot): uses HubSpot
  4. If: checks a condition and branches into true / false
  5. Send Email to Hot Lead (Gmail): uses Gmail
  6. Notify Sales of Hot Lead (Gmail): uses Gmail
  7. Send Email to Cold Lead (Gmail): uses Gmail

Services it uses

HubSpotGmail

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

From the author

Quick overview This workflow receives lead submissions via a webhook, normalizes and scores them, creates a contact in HubSpot, and uses Gmail to email the lead and notify the sales team when the lead is classified as hot. How it works 1. Receives a POST…

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