Automation library · Lead generation

LinkedIn lead personalization with Google Drive and Apify

Started by an event in a connected app, and works across Google Drive, Google Sheets and Telegram. It hands the judgement calls to Claude and OpenAI. 18 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: Claude, OpenAI

18 stepsMedium: a working afternoon
1Branch: places the flow splits
1Loop or waits
3Services it connects to

The flow

Starts it 1Model 5Logic 6Service 6

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

  1. 1Anthropic Chat Model1Lm Chat AnthropicModel
  2. 2Anthropic Chat Model3Lm Chat AnthropicModel
  3. 3Google Drive Trigger1Google Drive triggerStarts it
  4. 4AI Agent_Personalization_no LN postAgentModel
  5. 5AI Agent1AgentModel
  6. 6Google Drive_DownLoad1Google DriveService
  7. 7PersonalizationSetLogic
  8. 8Google Sheet ParseSpreadsheet FileService
  9. 9Google Sheets Update with PersonalizationGoogle SheetsService
  10. 10Code1CodeLogic
  11. 11Loop Over Items1Split In BatchesLogic
  12. 12End of LoopsCodeLogic
  13. 13Scrape LinkedIn Profile PostHttp RequestService
  14. 14Lead Enrichment is readyTelegramService
  15. 15Date & TimeDate TimeLogic
  16. 16OpenAIOpen AiModel
  17. 17If the LN post is in the last 30 daysIfLogic
  18. 18Colect LinkedIn DataHttp RequestService

How it's built

Starts on
An event in a connected app
Steps
18, with 1 branch, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Google Drive, Google Sheets, Telegram
Model
Claude, OpenAI

Questions

What does it need to run?

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

How long does it take to set up?

Plan an afternoon. 18 steps is enough that you should read each one before running it.

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