AI lead qualification with n8n, OpenAI and HubSpot by Josue FigueroaAI lead qualification with n8n, OpenAI and HubSpot by Josue Figueroa

AI lead qualification with n8n, OpenAI and HubSpot

Portfolio project
Josue Figueroa
Demo workflow built in my own n8n instance with sample data. It shows the kind of automation I set up for B2B marketing teams.
How it works
1. A demo request form sends the lead into n8n.
2. Fields are cleaned up: email, name, company, job title and team size.
3. GPT scores fit and intent from 0 to 100 and returns a fixed JSON with score, tier and a one-line reason for sales.
4. The contact is created or updated in HubSpot with the score and reason.
5. A switch routes the lead: 70+ alerts sales by email, 40 to 69 goes to a nurture list, the rest stays in the CRM.
The structured output keeps the AI step predictable, so the next nodes never break on free text.

0 likes · 1 view · Nov 20, 2026

Demo n8n workflow: an AI step scores inbound leads, HubSpot is updated with the score and reason, and hot leads are routed to sales automatically.

Tags