# Find B2B decision maker emails & build lead database: n8n workflow

> Started by a clock, and works across NocoDB. It hands the judgement calls to OpenAI. 27 steps, 1 branch, 2 loops or waits: large, and worth reading before...

Source: https://millionrounds.com/workflow/find-b2b-decision-maker-emails-and-build-lead-database (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)

# Find B2B decision maker emails & build lead database

Started by a clock, and works across NocoDB. It hands the judgement calls to OpenAI. 27 steps, 1 branch, 2 loops or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ffind-b2b-decision-maker-emails-and-build-lead-database)

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

**1** Branch: places the flow splits

**2** Loops or waits

**1** Service it connects to

## The flow

Starts it 2 Model 1 Logic 13 Service 11

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

- 1 **When clicking ‘Execute workflow’** Manual trigger *Starts it*
- 2 **Schedule Trigger2** Schedule trigger *Starts it*
- 3 **Get many rows** Noco Db *Service*
- 4 **Loop Over Items** Split In Batches *Logic*
- 5 **Wait** Wait *Logic*
- 6 **Filter1** Filter *Logic*
- 7 **serper search domains** Http Request *Service*
- 8 **extract url & domain** Open Ai *Model*
- 9 **Update Companies Domains** Noco Db *Service*
- 10 **Get Sales Decision Maker Email** Http Request *Service*
- 11 **Get CEO Email** Http Request *Service*
- 12 **Get Marketing Email** Http Request *Service*
- 13 **Extract Data5** Set *Logic*
- 14 **Extract Data3** Set *Logic*
- 15 **Extract Data4** Set *Logic*
- 16 **Merge1** Merge *Logic*
- 17 **Filter** Filter *Logic*
- 18 **Remove Duplicates** Remove Duplicates *Logic*
- 19 **Create Contacts** Noco Db *Service*
- 20 **Determine Email Status by Company** Code *Logic*
- 21 **Update Company Status** Noco Db *Service*
- 22 **Get All Company Status** Noco Db *Service*
- 23 **If Email Found1** If *Logic*
- 24 **If Only Risky Emails1** Filter *Logic*
- 25 **Merge** Merge *Logic*
- 26 **Get All Company Emails** Http Request *Service*
- 27 **Update Company Emails** Noco Db *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 27, with 1 branch, 2 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** NocoDB
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own NocoDB account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 27 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 27 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%2Ffind-b2b-decision-maker-emails-and-build-lead-database)
- **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.

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

## Workflows like it

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

- [**LinkedIn lead generation: Auto DM system with Unipile** 24 steps · NocoDB](https://millionrounds.com/workflow/linkedin-lead-generation-auto-dm-system-with-unipile)
- [**Enrich Instagram Reels with Mistral** 17 steps · NocoDB](https://millionrounds.com/workflow/enrich-instagram-reels-with-mistral)
- [**Discover, enrich & store cryptocurrency data** 16 steps · NocoDB](https://millionrounds.com/workflow/discover-enrich-and-store-cryptocurrency-data)
- [**Automate bounce email management for lead generation** 14 steps · Gmail, NocoDB](https://millionrounds.com/workflow/automate-bounce-email-management-for-lead-generation)
- [**Enrich LinkedIn profiles in NocoDB CRM with Apify** 13 steps · NocoDB](https://millionrounds.com/workflow/enrich-linkedin-profiles-in-nocodb-crm-with-apify)
- [**Scrape Google Maps leads and find emails with Apify** 13 steps · NocoDB](https://millionrounds.com/workflow/scrape-google-maps-leads-and-find-emails-with-apify)
