Automation library · Lead generation

Automate personalized B2B outreach with LinkedIn

Started by an event in a connected app, and works across Apify, Gmail, Google Sheets and Slack. It hands the judgement calls to OpenAI. 25 steps, 2 branches, 3 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

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

The flow

Starts it 1Model 4Logic 9Service 11

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

  1. 1When clicking ‘Execute workflow’Manual triggerStarts it
  2. 2LinkedIn Profile ScraperApifyService
  3. 3Extract Key LinkedIn DataCodeLogic
  4. 4Email FinderHunterService
  5. 5Consolidate Prospect DataCodeLogic
  6. 6Initial Prospect StorageGoogle SheetsService
  7. 7Retrieve Prospects for OutreachGoogle SheetsService
  8. 8Prepare Data for AI AgentsCodeLogic
  9. 9Personalization Writer - Opening LineOpen AiModel
  10. 10Value Proposition Tailor - BodyOpen AiModel
  11. 11Subject Line & CTA OptimizerOpen AiModel
  12. 12Assemble Final EmailCodeLogic
  13. 13Send Personalized EmailGmailService
  14. 14Update Email Sent StatusGoogle SheetsService
  15. 15For Engagement TrackingWaitLogic
  16. 16Retrieve Prospect for Follow-upGoogle SheetsService
  17. 17Check for ReplyIfLogic
  18. 18Check Follow-up LimitIfLogic
  19. 19Notify Sales TeamSlackService
  20. 20Follow-up Email GeneratorOpen AiModel
  21. 21Archive ProspectGoogle SheetsService
  22. 22Send Follow-up EmailGmailService
  23. 23Update Follow-up StatusGoogle SheetsService
  24. 24For Next Follow-up or NurtureWaitLogic
  25. 25Loop Over ItemsSplit In BatchesLogic

How it's built

Starts on
An event in a connected app
Steps
25, with 2 branches, 3 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Apify, Gmail, Google Sheets, Slack
Model
OpenAI

Questions

What does it need to run?

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

How long does it take to set up?

Take your time. At 25 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 25 steps before you point it at anything that matters.