# Automated LinkedIn lead enrichment pipeline with Google Sheets: n8n workflow

> Started by another system calling it, and works across Google Sheets. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/automated-linkedin-lead-enrichment-pipeline-with-google-shee (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)

# Automated LinkedIn lead enrichment pipeline with Google Sheets

Started by another system calling it, and works across Google Sheets. It hands the judgement calls to Gemini. 30 steps, 3 branches, 7 loops or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomated-linkedin-lead-enrichment-pipeline-with-google-shee)

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

**3** Branches: places the flow splits

**7** Loops or waits

**1** Service it connects to

## The flow

Starts it 4 Model 3 Logic 13 Service 10

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

- 1 **Webhook** Webhook *Starts it*
- 2 **Structured Output Parser** Output Parser Structured *Model*
- 3 **Google Gemini Chat Model** Lm Chat Google Gemini *Model*
- 4 **Schedule Trigger** Schedule trigger *Starts it*
- 5 **Schedule Trigger1** Schedule trigger *Starts it*
- 6 **Schedule Trigger2** Schedule trigger *Starts it*
- 7 **Split Out** Split Out *Logic*
- 8 **Linkedin Scraped Formater** Agent *Model*
- 9 **Get row(s) in sheet** Google Sheets *Service*
- 10 **Get row(s) in sheet1** Google Sheets *Service*
- 11 **Get row(s) in sheet3** Google Sheets *Service*
- 12 **Loop Over Items** Split In Batches *Logic*
- 13 **Store values** Google Sheets *Service*
- 14 **If1** If *Logic*
- 15 **If** If *Logic*
- 16 **If2** If *Logic*
- 17 **Loop Over Items1** Split In Batches *Logic*
- 18 **Loop Over Items2** Split In Batches *Logic*
- 19 **Loop Over Items4** Split In Batches *Logic*
- 20 **Company Name to Domain** Http Request *Service*
- 21 **People Search** Http Request *Service*
- 22 **Code** Code *Logic*
- 23 **Update row in sheet** Google Sheets *Service*
- 24 **Wait1** Wait *Logic*
- 25 **Email Finder** Http Request *Service*
- 26 **Wait** Wait *Logic*
- 27 **Update row in sheet1** Google Sheets *Service*
- 28 **Code1** Code *Logic*
- 29 **Wait2** Wait *Logic*
- 30 **Update row in sheet2** Google Sheets *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 30, with 3 branches, 7 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Sheets
- **Model:** Gemini

## Questions

What does it need to run?

An n8n account, plus your own Google Sheets account, and a key for 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 Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 30 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 30 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%2Fautomated-linkedin-lead-enrichment-pipeline-with-google-shee)
- **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.

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

## Workflows like it

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

- [**Lead generation and qualification with OpenAI** 30 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/lead-generation-and-qualification-with-openai)
- [**Lead workflow: Yelp & Trustpilot scraping + OpenAI analysis** 30 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/lead-workflow-yelp-and-trustpilot-scraping-openai-analysis)
- [**AI-Powered Cold Calling Automation with Google Sheets** 30 steps · Google Sheets, Slack](https://millionrounds.com/workflow/ai-powered-cold-calling-automation-with-google-sheets)
- [**Triage Gmail, draft replies and log leads with OpenAI** 30 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/triage-gmail-draft-replies-and-log-leads-with-openai)
- [**Automated lead generation & AI research with Apollo** 31 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/automated-lead-generation-and-ai-research-with-apollo)
- [**Enrich FAQ sections on your website pages at scale with OpenAI** 29 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/enrich-faq-sections-on-your-website-pages-at-scale-with-open)
