AI Lead Enrichment & Scoring — Free n8n Workflow Template
When a new lead enters your CRM, this workflow looks up the company domain, pulls publicly available data, and uses AI to assign a lead score based on company size, industry fit and engagement signals. High-scoring leads get fast-tracked to your sales team.
Instant download · No signup · MIT license
Workflow nodes
Apps used
Setup guide
Requirements
- An n8n instance (Cloud or self-hosted)
- HubSpot account with API access
- OpenAI API key
Credentials
| App | Type | Where to get it |
|---|---|---|
| HubSpot | Private App Token | HubSpot → Settings → Integrations → Private Apps |
| OpenAI | API key | platform.openai.com → API keys |
- 1
Import the workflow
Download and import the JSON into n8n.
- 2
Connect HubSpot
Add your HubSpot Private App token with Contacts read/write scope.
- 3
Add OpenAI credentials
Connect your OpenAI API key in the scoring node.
- 4
Define your scoring criteria
Edit the AI prompt to reflect your ideal customer profile, industry focus and company size preferences.
- 5
Map the score field
Create a custom property in HubSpot for the AI lead score, then map it in the update node.
- 6
Test with a sample lead
Create a test contact in HubSpot and verify the enrichment and score appear correctly.
Frequently asked questions
What data does it use for enrichment?+
It looks up the lead's email domain to find public company information like employee count, industry, website content and social profiles.
How accurate is the AI scoring?+
It is a helpful first pass, not a replacement for human judgment. The AI scores based on criteria you define, so accuracy improves as you refine your prompt.
Can I use Salesforce instead of HubSpot?+
Yes. Replace the HubSpot nodes with Salesforce nodes and adjust the field mappings. The enrichment and scoring logic stays the same.
What happens to low-scoring leads?+
They stay in your CRM with their score. You can set up a follow-up workflow to add them to a nurture email sequence.
Related templates
AI Blog Autopilot
Turns keywords or RSS items into AI-written blog drafts and posts them to WordPress.
GSC Weekly Report
Sends a weekly Google Search Console performance summary to email or Slack.
GA4 Traffic Drop Alert
Alerts you when GA4 traffic drops significantly compared to the previous period.
Want us to set it up for you?
We install the workflow on your n8n instance, connect credentials, and leave you with a running automation.
Get setup help