Automation library · Lead generation

Personalized sales outreach from LinkedIn job signals

Started by an event in a connected app, and works across Apify and Google Sheets. It hands the judgement calls to Gemini. 23 steps, 4 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini

23 stepsLarge: read it before trusting it with anything live
4Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Model 3Logic 12Service 7

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

  1. 1Google Gemini Chat ModelLm Chat Google GeminiModel
  2. 2Structured Output ParserOutput Parser StructuredModel
  3. 3When clicking ‘Execute workflow’Manual triggerStarts it
  4. 4Lead Email GeneratorChain LlmModel
  5. 5Run the LinkedIn Job ScraperApifyService
  6. 6Update Sheet with EmailGoogle SheetsService
  7. 7Get dataset ItemsApifyService
  8. 8Checks Company Size < 250IfLogic
  9. 9Remove DuplicatesRemove DuplicatesLogic
  10. 10Removes HR Related IndustryIfLogic
  11. 11Prepare Final Company DetailsCodeLogic
  12. 12Checks Domain ExistenceIfLogic
  13. 13Limit Companies SearchLimitLogic
  14. 14Merge DataMergeLogic
  15. 15Apollo Get Targeted PersonnelHttp RequestService
  16. 16Structuring Complete Details of PersonCodeLogic
  17. 17Sanitising Person DetailsCodeLogic
  18. 18Adding Leads to SheetsGoogle SheetsService
  19. 19Apollo Email FinderHttp RequestService
  20. 20Fetching Leads DataGoogle SheetsService
  21. 21Sanitising Email DetailsCodeLogic
  22. 22Validates Email Id and Email ContentIfLogic
  23. 23Filter for BatchingFilterLogic

How it's built

Starts on
An event in a connected app
Steps
23, with 4 branches
Size
Large: read it before trusting it with anything live
Connects to
Apify, Google Sheets
Model
Gemini

Questions

What does it need to run?

An n8n account, plus your own Apify and Google Sheets accounts, and a key for Gemini. 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?

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 23 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 23 steps before you point it at anything that matters.