Automation library · Lead generation

Send AI-personalized LinkedIn outreach from Google Sheets

Started by a clock, and works across Google Sheets. It hands the judgement calls to Azure OpenAI. 13 steps, 2 branches, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: Azure OpenAI

13 stepsMedium: a working afternoon
2Branches: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 1Model 2Logic 4Service 6

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

  1. 1Azure OpenAI GPT-4o-miniLm Chat Azure Open AiModel
  2. 2Daily Schedule Trigger (5 PM)Schedule triggerStarts it
  3. 3Generate Personalized Message with AIAgentModel
  4. 4Get Prospects from SheetGoogle SheetsService
  5. 5Save Generated Message to SheetGoogle SheetsService
  6. 6Check if Message ExistsIfLogic
  7. 7Fetch Updated Prospect DataGoogle SheetsService
  8. 8Batch Process ProspectsSplit In BatchesLogic
  9. 9Validate Message Not EmptyIfLogic
  10. 10Get LinkedIn Profile DataHttp RequestService
  11. 11Extract Profile URN and IdentifiersCodeLogic
  12. 12Send LinkedIn Message via ConnectSafelyConnect Safely Linked InService
  13. 13Update Sheet with Send StatusGoogle SheetsService

How it's built

Starts on
A clock
Steps
13, with 2 branches, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Google Sheets
Model
Azure OpenAI

Questions

What does it need to run?

An n8n account, plus your own Google Sheets account, and a key for Azure OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls Azure OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

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