Automation library · Lead generation

Generate personalized sales outreach with OpenAI and Email

Runs on demand, and works across Gmail, Google Sheets, Telegram and WhatsApp. It hands the judgement calls to OpenAI. 15 steps, 1 branch, 2 loops or waits: a working afternoon to understand properly.

MediumCalls a model: OpenAI

15 stepsMedium: a working afternoon
1Branch: places the flow splits
2Loops or waits
4Services it connects to

The flow

Model 2Logic 5Service 8

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

  1. 1Get row(s) in sheet4Google SheetsService
  2. 2OpenAI Chat Model3Lm Chat Open AiModel
  3. 3Loop Over Items4Split In BatchesLogic
  4. 4AI Agent (Data Analysis & Personalisation)2AgentModel
  5. 5Send a message5GmailService
  6. 6Edit Fields2SetLogic
  7. 7Cleans up2CodeLogic
  8. 8If3IfLogic
  9. 9Update row in sheet2Google SheetsService
  10. 10LinkedIn Requests3Http RequestService
  11. 11Get row(s) in sheet5Google SheetsService
  12. 12Loop Over Items5Split In BatchesLogic
  13. 13Send a message6GmailService
  14. 14Send messageWhats AppService
  15. 15Send a text message2TelegramService

How it's built

Starts on
Nothing automatic; you run it
Steps
15, with 1 branch, 2 loops or waits
Size
Medium: a working afternoon
Connects to
Gmail, Google Sheets, Telegram, WhatsApp
Model
OpenAI

Questions

What does it need to run?

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

What starts it?

Nothing starts it automatically. You run it by hand.

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?

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