# Clean and deduplicate Webflow leads with HubSpot: n8n workflow

> Started by another system calling it, and works across HubSpot and Salesforce. 9 steps, 3 branches: a working afternoon to understand properly.

Source: https://millionrounds.com/workflow/clean-and-deduplicate-webflow-leads-with-hubspot (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)

# Clean and deduplicate Webflow leads with HubSpot

Started by another system calling it, and works across HubSpot and Salesforce. 9 steps, 3 branches: a working afternoon to understand properly.

Medium

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fclean-and-deduplicate-webflow-leads-with-hubspot)

**9 steps** Medium: a working afternoon

**3** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Logic 4 Service 4

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

- 1 **Receive Webflow Form Submission** Webhook *Starts it*
- 2 **Normalize and Score Lead Quality** Code *Logic*
- 3 **Continue Only with Accepted Leads** If *Logic*
- 4 **Route Lead to HubSpot or Salesforce** If *Logic*
- 5 **Upsert HubSpot Contact by Email** Hubspot *Service*
- 6 **Find Salesforce Lead by Email** Salesforce *Service*
- 7 **Salesforce Lead Already Exists** If *Logic*
- 8 **Update Existing Salesforce Lead** Salesforce *Service*
- 9 **Create New Salesforce Lead** Salesforce *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 9, with 3 branches
- **Size:** Medium: a working afternoon
- **Connects to:** HubSpot, Salesforce
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own HubSpot and Salesforce accounts. 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?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 9 steps is enough that you should read each one before running it.

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 9 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%2Fclean-and-deduplicate-webflow-leads-with-hubspot)
- **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.

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

## Workflows like it

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

- [**AI Inbound Lead Qualifier: Score, Enrich & Route Leads** 9 steps · Airtable, HubSpot](https://millionrounds.com/workflow/ai-inbound-lead-qualifier-score-enrich-and-route-leads)
- [**Collect web form leads and create contacts in HubSpot** 9 steps · HubSpot](https://millionrounds.com/workflow/collect-web-form-leads-and-create-contacts-in-hubspot)
- [**Enrich existing HubSpot company records with Veridion** 9 steps · HubSpot](https://millionrounds.com/workflow/enrich-existing-hubspot-company-records-with-veridion)
- [**Enrich new HubSpot contacts with Lusha** 9 steps · HubSpot, Slack](https://millionrounds.com/workflow/enrich-new-hubspot-contacts-with-lusha)
- [**HubSpot to Reply.io: auto-recover "drop-off" leads** 9 steps · HubSpot](https://millionrounds.com/workflow/hubspot-to-reply-io-auto-recover-drop-off-leads)
- [**Lead routing system: Qualify & direct Typeform leads** 9 steps · Airtable, Gmail](https://millionrounds.com/workflow/lead-routing-system-qualify-and-direct-typeform-leads)
