Skip to content
ZeeGrowth logozeegrowth
Leads & CRMFree

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.

Free

Instant download · No signup · MIT license

Download JSON

Workflow nodes

HubSpot TriggerHTTP Request (enrichment)OpenAI ChatCodeHubSpot (update)IFSlackGoogle SheetsSticky Note

Apps used

Setup guide

Requirements

  • An n8n instance (Cloud or self-hosted)
  • HubSpot account with API access
  • OpenAI API key

Credentials

AppTypeWhere to get it
HubSpotPrivate App TokenHubSpot → Settings → Integrations → Private Apps
OpenAIAPI keyplatform.openai.com → API keys
  1. 1

    Import the workflow

    Download and import the JSON into n8n.

  2. 2

    Connect HubSpot

    Add your HubSpot Private App token with Contacts read/write scope.

  3. 3

    Add OpenAI credentials

    Connect your OpenAI API key in the scoring node.

  4. 4

    Define your scoring criteria

    Edit the AI prompt to reflect your ideal customer profile, industry focus and company size preferences.

  5. 5

    Map the score field

    Create a custom property in HubSpot for the AI lead score, then map it in the update node.

  6. 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

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

Free n8n automations that grow your business.