Automation library · Lead generation

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.

LargeCalls a model: Gemini

30 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
7Loops or waits
1Service it connects to

The flow

Starts it 4Model 3Logic 13Service 10

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

  1. 1WebhookWebhookStarts it
  2. 2Structured Output ParserOutput Parser StructuredModel
  3. 3Google Gemini Chat ModelLm Chat Google GeminiModel
  4. 4Schedule TriggerSchedule triggerStarts it
  5. 5Schedule Trigger1Schedule triggerStarts it
  6. 6Schedule Trigger2Schedule triggerStarts it
  7. 7Split OutSplit OutLogic
  8. 8Linkedin Scraped FormaterAgentModel
  9. 9Get row(s) in sheetGoogle SheetsService
  10. 10Get row(s) in sheet1Google SheetsService
  11. 11Get row(s) in sheet3Google SheetsService
  12. 12Loop Over ItemsSplit In BatchesLogic
  13. 13Store valuesGoogle SheetsService
  14. 14If1IfLogic
  15. 15IfIfLogic
  16. 16If2IfLogic
  17. 17Loop Over Items1Split In BatchesLogic
  18. 18Loop Over Items2Split In BatchesLogic
  19. 19Loop Over Items4Split In BatchesLogic
  20. 20Company Name to DomainHttp RequestService
  21. 21People SearchHttp RequestService
  22. 22CodeCodeLogic
  23. 23Update row in sheetGoogle SheetsService
  24. 24Wait1WaitLogic
  25. 25Email FinderHttp RequestService
  26. 26WaitWaitLogic
  27. 27Update row in sheet1Google SheetsService
  28. 28Code1CodeLogic
  29. 29Wait2WaitLogic
  30. 30Update row in sheet2Google SheetsService

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.