# Enrich and score leads with Claude and PDL: n8n workflow

> Started by another system calling it, and works across Apify, Gmail, HubSpot and Slack. It hands the judgement calls to Claude, Gemini and one other.

Source: https://millionrounds.com/workflow/enrich-and-score-leads-with-claude-and-pdl (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Lead generation](https://millionrounds.com/workflows?category=Lead+generation#library)

# Enrich and score leads with Claude and PDL

Started by another system calling it, and works across Apify, Gmail, HubSpot and Slack. It hands the judgement calls to Claude, Gemini and one other. 23 steps, 1 branch: large, and worth reading before you trust it with anything live.

Large Calls a model: Claude, Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fenrich-and-score-leads-with-claude-and-pdl)

**23 steps** Large: read it before trusting it with anything live

**1** Branch: places the flow splits

**0** Loops or waits

**4** Services it connects to

## The flow

Starts it 1 Model 6 Logic 7 Service 9

The steps in the order they run, from what starts it.

- 1 **Anthropic Chat Model** Lm Chat Anthropic *Model*
- 2 **Webhook** Webhook *Starts it*
- 3 **ICP & Use Case** Google Docs Tool *Service*
- 4 **AI Reasoning** Tool Think *Model*
- 5 **AI Agent** Agent *Model*
- 6 **Validate & Parse Input** Code *Logic*
- 7 **Parse & Structure Output** Code *Logic*
- 8 **PDL Enrich** Http Request *Service*
- 9 **Merge All Sources** Merge *Logic*
- 10 **Route by Score** Switch *Logic*
- 11 **Individual Research** Perplexity *Service*
- 12 **Company Research** Perplexity *Service*
- 13 **LinkedIn Profile Scraper** Apify *Service*
- 14 **Merge Enrichment Data** Code *Logic*
- 15 **Format for CRM** Code *Logic*
- 16 **Format Hot Lead Slack** Google Gemini *Model*
- 17 **Format Hot Lead Email** Google Gemini *Model*
- 18 **Format Warm Lead Slack** Google Gemini *Model*
- 19 **Upsert to HubSpot CRM** Hubspot *Service*
- 20 **Send Hot Lead Slack Alert** Slack *Service*
- 21 **Parse Email JSON** Code *Logic*
- 22 **Send Warm Lead to Digest** Slack *Service*
- 23 **Send Hot Lead Email** Gmail *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 23, with 1 branch
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Apify, Gmail, HubSpot, Slack
- **Model:** Claude, Gemini, Perplexity

## Questions

What does it need to run?

An n8n account, plus your own Apify, Gmail, HubSpot and Slack accounts, and a key for Claude and Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls Claude, Gemini and Perplexity. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 23 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 23 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fenrich-and-score-leads-with-claude-and-pdl)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Apify](https://millionrounds.com/workflows?service=Apify#library)[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[HubSpot](https://millionrounds.com/workflows?service=HubSpot#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also lead generation, with the same services where possible, closest in size first.

- [**Draft human-reviewed first-touch outreach with DeepSeek** 23 steps · calls a model · Pipedrive, Slack](https://millionrounds.com/workflow/draft-human-reviewed-first-touch-outreach-with-deepseek)
- [**Personalized sales outreach from LinkedIn job signals** 23 steps · calls a model · Apify, Google Sheets](https://millionrounds.com/workflow/personalized-sales-outreach-from-linkedin-job-signals)
- [**Reddit lead finder: prospecting with OpenAI and Supabase** 23 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/reddit-lead-finder-prospecting-with-openai-and-supabase)
- [**Scrape LinkedIn B2B leads with Apify** 23 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/scrape-linkedin-b2b-leads-with-apify)
- [**Send validated outreach emails with Gmail and Google Sheets** 23 steps · Gmail, Google Drive](https://millionrounds.com/workflow/send-validated-outreach-emails-with-gmail-and-google-sheets)
- [**AI-powered outreach & follow-up automation with OpenAI** 22 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-powered-outreach-and-follow-up-automation-with-openai)
