# Extract & enrich LinkedIn comments to leads: n8n workflow

> Started by someone submitting a form, and works across Google Sheets. 28 steps, 1 branch, 2 loops or waits: large, and worth reading before you trust it...

Source: https://millionrounds.com/workflow/extract-and-enrich-linkedin-comments-to-leads (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)

# Extract & enrich LinkedIn comments to leads

Started by someone submitting a form, and works across Google Sheets. 28 steps, 1 branch, 2 loops or waits: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fextract-and-enrich-linkedin-comments-to-leads)

**28 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 Logic 20 Service 6

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

- 1 **Trigger manually** Manual trigger *Starts it*
- 2 **On form submission** Form trigger *Starts it*
- 3 **Set manual fields** Set *Logic*
- 4 **Set fields from the form** Set *Logic*
- 5 **Set APIFY Token** Set *Logic*
- 6 **Run Apify Comments Scraper** Http Request *Service*
- 7 **Aggregate** Aggregate *Logic*
- 8 **More runs needed?** If *Logic*
- 9 **Set pagination** Code *Logic*
- 10 **Create Unique List of Leads** Code *Logic*
- 11 **Split Out** Split Out *Logic*
- 12 **Split in batches** Code *Logic*
- 13 **Loop Over Comments** Split In Batches *Logic*
- 14 **Split Out Batches** Split Out *Logic*
- 15 **Aggregate All Comments** Aggregate *Logic*
- 16 **Run Apify Comments Scraper Loop** Http Request *Service*
- 17 **Loop Over Profiles** Split In Batches *Logic*
- 18 **Gather All Comments** Set *Logic*
- 19 **Aggregate Comments** Aggregate *Logic*
- 20 **Aggregate All Profiles** Aggregate *Logic*
- 21 **Run Apify Profile Enrichment** Http Request *Service*
- 22 **Prepare the list for export** Code *Logic*
- 23 **Aggregate Profiles** Aggregate *Logic*
- 24 **Create Google Sheet** Google Sheets *Service*
- 25 **Convert to File** Convert To File *Service*
- 26 **Set the list for sheets** Code *Logic*
- 27 **Add Leads** Google Sheets *Service*
- 28 **Done** No Op *Logic*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 28, with 1 branch, 2 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Sheets
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Google Sheets account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

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?

Take your time. At 28 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 28 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%2Fextract-and-enrich-linkedin-comments-to-leads)
- **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.

- [**Automated lead research – from LinkedIn to ready-to-send report** 28 steps · calls a model · Google Docs, Google Sheets](https://millionrounds.com/workflow/automated-lead-research-from-linkedin-to-ready-to-send-repor)
- [**Manage Patreon and Ko-fi leads with Gmail and OpenAI** 28 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/manage-patreon-and-ko-fi-leads-with-gmail-and-openai)
- [**Personalized cold email system with Gemini and Telegram** 28 steps · calls a model · Email, Google Sheets](https://millionrounds.com/workflow/personalized-cold-email-system-with-gemini-and-telegram)
- [**Scrape B2B leads from Apollo, generate Groq AI emails, and send** 28 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/scrape-b2b-leads-from-apollo-generate-groq-ai-emails-and-sen)
- [**Audit CRM lead data quality with Google Sheets and NeverBounce** 27 steps · Google Sheets](https://millionrounds.com/workflow/audit-crm-lead-data-quality-with-google-sheets-and-neverboun)
- [**Google Maps scraper: companies with Google Sheets** 29 steps · Google Sheets](https://millionrounds.com/workflow/google-maps-scraper-companies-with-google-sheets)
