Automation library · Content

Convert Google Sheets scripts into HeyGen AI videos

Started by a change in a Google Sheet, and works across Google Sheets. 11 steps, 3 branches, 3 loops or waits: a working afternoon to understand properly.

Medium

11 stepsMedium: a working afternoon
3Branches: places the flow splits
3Loops or waits
1Service it connects to

The flow

Starts it 1Logic 7Service 3

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

  1. 1Google Sheets TriggerGoogle Sheets triggerStarts it
  2. 2Has Script?IfLogic
  3. 3Process One at a TimeSplit In BatchesLogic
  4. 4Sanitize ScriptCodeLogic
  5. 5Generate VideoHttp RequestService
  6. 6IfIfLogic
  7. 7WaitWaitLogic
  8. 8Video StatusHttp RequestService
  9. 9Is Complete?1IfLogic
  10. 10Update Sheet with Video1Google SheetsService
  11. 11Wait Before Retry1WaitLogic

How it's built

Starts on
A change in a Google Sheet
Steps
11, with 3 branches, 3 loops or waits
Size
Medium: a working afternoon
Connects to
Google Sheets
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Google Sheets account. 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?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

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