Automation library · Lead generation

B2B outreach automation: LinkedIn to email sequence

Started by an event in a connected app, and works across Google Sheets. It hands the judgement calls to OpenAI and Perplexity. 19 steps, 1 branch, 2 loops or waits: a working afternoon to understand properly.

MediumCalls a model: OpenAI, Perplexity

19 stepsMedium: a working afternoon
1Branch: places the flow splits
2Loops or waits
1Service it connects to

The flow

Starts it 1Model 4Logic 8Service 6

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

  1. 1When clicking ‘Execute workflow’Manual triggerStarts it
  2. 2OpenAI Chat Model4Lm Chat Open AiModel
  3. 3OpenAI Chat Model5Lm Chat Open AiModel
  4. 4Get row(s) in sheet1Google SheetsService
  5. 5Structured Output Parser2Output Parser StructuredModel
  6. 6EmailChain LlmModel
  7. 7Set input1SetLogic
  8. 8Update FinalGoogle SheetsService
  9. 9Set credentialsSetLogic
  10. 10Loop Over Items1Split In BatchesLogic
  11. 11Set Email TemplateSetLogic
  12. 12WaitWaitLogic
  13. 13Limit1LimitLogic
  14. 14HTTP RequestHttp RequestService
  15. 15If3IfLogic
  16. 16Message a modelPerplexityService
  17. 17Update no find emailGoogle SheetsService
  18. 18Personal LinkedIn Account POSTHttp RequestService
  19. 19CodeCodeLogic

How it's built

Starts on
An event in a connected app
Steps
19, with 1 branch, 2 loops or waits
Size
Medium: a working afternoon
Connects to
Google Sheets
Model
OpenAI, Perplexity

Questions

What does it need to run?

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

How long does it take to set up?

Plan an afternoon. 19 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 19 steps before you point it at anything that matters.