# Build targeted prospect lists: find & enrich leads with Surfe: n8n workflow

> Started by an event in a connected app, and works across Gmail and HubSpot. 13 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

Source: https://millionrounds.com/workflow/build-targeted-prospect-lists-find-and-enrich-leads-with-sur (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)

# Build targeted prospect lists: find & enrich leads with Surfe

Started by an event in a connected app, and works across Gmail and HubSpot. 13 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

Medium

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fbuild-targeted-prospect-lists-find-and-enrich-leads-with-sur)

**13 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**1** Loop or waits

**2** Services it connects to

## The flow

Starts it 1 Logic 6 Service 6

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

- 1 **When clicking ‘Execute workflow’** Manual trigger *Starts it*
- 2 **Search ICP Companies** Http Request *Service*
- 3 **prepare JSON PAYLOAD WITH Company Domains** Code *Logic*
- 4 **Search People in Companies** Http Request *Service*
- 5 **Prepare JSON Payload Enrichment Request** Code *Logic*
- 6 **Surfe Bulk Enrichments API** Http Request *Service*
- 7 **Surfe check enrichement status** Http Request *Service*
- 8 **Is enrichment complete?** If *Logic*
- 9 **Extract list of peoples from Surfe API response** Code *Logic*
- 10 **Wait 3 secondes** Wait *Logic*
- 11 **Filter: phone AND email** Filter *Logic*
- 12 **HubSpot: Create or Update** Hubspot *Service*
- 13 **Gmail** Gmail *Service*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 13, with 1 branch, 1 loop or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Gmail, HubSpot
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Gmail and HubSpot accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

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. 13 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 13 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%2Fbuild-targeted-prospect-lists-find-and-enrich-leads-with-sur)
- **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.

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

## Workflows like it

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

- [**Automate company data enrichment with HubSpot and Sona** 13 steps · Google Sheets, HubSpot](https://millionrounds.com/workflow/automate-company-data-enrichment-with-hubspot-and-sona)
- [**Automate solar lead qualification & follow-ups** 13 steps · Gmail, Google Drive](https://millionrounds.com/workflow/automate-solar-lead-qualification-and-follow-ups)
- [**Enrich companies in your HubSpot, Salesforce or Close CRM** 13 steps · HubSpot, Salesforce](https://millionrounds.com/workflow/enrich-companies-in-your-hubspot-salesforce-or-close-crm)
- [**Enrich contacts with Wiza and HubSpot** 13 steps · Google Sheets, HubSpot](https://millionrounds.com/workflow/enrich-contacts-with-wiza-and-hubspot)
- [**Find scalable Meta Ads winners with Claude and Gmail** 13 steps · Gmail](https://millionrounds.com/workflow/find-scalable-meta-ads-winners-with-claude-and-gmail)
- [**Manage influencer campaigns across social media with Gmail** 13 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/manage-influencer-campaigns-across-social-media-with-gmail)
