Qualify and route inbound leads with HubSpot and Gmail
Ready for 3.0What 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.
- Set Lead Data Fields (Edit Fields (Set)): sets 5 fields: name, email, budget…
- Compute Lead Score (Code): runs custom JavaScript code
- Add Contact to HubSpot (HubSpot): uses HubSpot
- If: checks a condition and branches into true / false
- Send Email to Hot Lead (Gmail): uses Gmail
- Notify Sales of Hot Lead (Gmail): uses Gmail
- Send Email to Cold Lead (Gmail): uses Gmail
Services it uses
Other HubSpot + Gmail templates (102)
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)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HubSpot
n8n-nodes-base.hubspot - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail
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…