{"product_id":"qualify-route-leads-with-n8n-hubspot-gmail-webhook","title":"Qualify \u0026 Route Leads with n8n, HubSpot \u0026 Gmail Webhook","description":"\u003ch3\u003eAutomatically qualify new leads, create HubSpot contacts, and email the right people—using n8n\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow listens for lead submissions on a \u003cstrong\u003ewebhook\u003c\/strong\u003e, normalizes and \u003cstrong\u003escores\u003c\/strong\u003e each lead (Hot vs. Cold), creates a \u003cstrong\u003eHubSpot\u003c\/strong\u003e contact, and then sends the appropriate \u003cstrong\u003eGmail\u003c\/strong\u003e email(s)—including a sales notification when a lead is classified as \u003cem\u003eHot\u003c\/em\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives lead intake\u003c\/strong\u003e via a POST request to \u003ccode\u003e\/lead-intake\u003c\/code\u003e with fields such as name, email, budget, urgency, and timeline.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes incoming data\u003c\/strong\u003e and applies defaults (for example, missing \u003cstrong\u003ebudget\u003c\/strong\u003e becomes \u003ccode\u003e0\u003c\/code\u003e, and missing \u003cstrong\u003etimeline\u003c\/strong\u003e becomes \u003ccode\u003e999\u003c\/code\u003e weeks).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCalculates a 0–100 lead score\u003c\/strong\u003e based on budget, urgency, and timeline, then labels the lead as \u003cstrong\u003eHot (score ≥ 60)\u003c\/strong\u003e or \u003cstrong\u003eCold\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates a HubSpot contact\u003c\/strong\u003e using the lead’s email and name.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRoutes email behavior using lead classification\u003c\/strong\u003e:\n    \u003cul\u003e\n      \u003cli\u003eIf \u003cstrong\u003eHot\u003c\/strong\u003e: sends a Gmail message to the lead and a separate Gmail alert to your sales team.\u003c\/li\u003e\n      \u003cli\u003eIf \u003cstrong\u003eCold\u003c\/strong\u003e: sends a standard Gmail acknowledgement email to the lead.\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eA SaaS website form posts lead details to n8n for instant qualification and outreach.\u003c\/li\u003e\n  \u003cli\u003eSales teams want immediate alerts for high-intent leads (Hot) while Cold leads receive an acknowledgement email only.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers need a practical HubSpot + Gmail + webhook lead routing template in n8n.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWebhook\u003c\/strong\u003e trigger receiving JSON on \u003ccode\u003e\/lead-intake\u003c\/code\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes used\u003c\/strong\u003e: \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003cstrong\u003ewebhook\u003c\/strong\u003e, \u003cstrong\u003egmail\u003c\/strong\u003e, \u003cstrong\u003ehubspot\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\u003c\/strong\u003e:\n    \u003cul\u003e\n      \u003cli\u003eHubSpot App Token credential to create contacts and map properties (email, first name)\u003c\/li\u003e\n      \u003cli\u003eGmail OAuth2 credential for sending lead and sales notification emails\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eReplace \u003ccode\u003esales-team@yourcompany.com\u003c\/code\u003e with your real sales notification address and adjust email subjects\/bodies as needed.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46232432541875,"sku":"N8N-21041","price":57.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/5iHf8yqdul0wwXFFGB0k0_n6MWOg8V.png?v=1792142217","url":"https:\/\/buyflowscripts.com\/products\/qualify-route-leads-with-n8n-hubspot-gmail-webhook","provider":"N8N Commerce","version":"1.0","type":"link"}