Automation library · Lead generation

Create AI personalized video & voice outreach with HeyGen

Started by a change in a Google Sheet, and works across Gmail, Google Drive, Google Sheets and Twilio. It hands the judgement calls to OpenAI and OpenRouter. 18 steps, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: OpenAI, OpenRouter

18 stepsMedium: a working afternoon
0Branches: places the flow splits
1Loop or waits
4Services it connects to

The flow

Starts it 1Model 8Logic 2Service 7

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

  1. 1Google Sheets TriggerGoogle Sheets triggerStarts it
  2. 2Message a model in PerplexityPerplexity ToolService
  3. 3OpenAI Chat ModelLm Chat Open AiModel
  4. 4OpenRouter Chat ModelLm Chat Open RouterModel
  5. 5OpenAI Chat Model1Lm Chat Open AiModel
  6. 6OpenAI Chat Model2Lm Chat Open AiModel
  7. 7Code in JavaScriptCodeLogic
  8. 8Research AgentAgentModel
  9. 9Scripting AgentAgentModel
  10. 10AI AgentAgentModel
  11. 11Structured Output ParserOutput Parser StructuredModel
  12. 12Heygen Clone AI CreationHttp RequestService
  13. 13Convert text to speechEleven LabsService
  14. 14Send a messageGmailService
  15. 15Wait 30sWaitLogic
  16. 16Upload fileGoogle DriveService
  17. 17GET ResultHttp RequestService
  18. 18Send an SMS/MMS/WhatsApp messageTwilioService

How it's built

Starts on
A change in a Google Sheet
Steps
18, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Gmail, Google Drive, Google Sheets, Twilio
Model
OpenAI, OpenRouter

Questions

What does it need to run?

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

What starts it?

It starts on a change in a Google Sheet.

Does it use AI?

Yes. It calls OpenAI and OpenRouter. 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.