Automation library · Content

Create and publish AI YouTube videos from Google Sheets

Started by a clock, and works across Google Sheets and YouTube. It hands the judgement calls to OpenAI. 21 steps, 2 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

21 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
2Loops or waits
2Services it connects to

The flow

Starts it 3Model 3Logic 4Service 11

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

  1. 1Run on ScheduleSchedule triggerStarts it
  2. 2OpenAI GPT-4 ChatLm Chat Open AiModel
  3. 3Parse Structured OutputOutput Parser StructuredModel
  4. 4Manual Publish TriggerManual triggerStarts it
  5. 5Scheduled Publish TriggerSchedule triggerStarts it
  6. 6Read from SheetsGoogle SheetsService
  7. 7Chain LLM PromptsChain LlmModel
  8. 8Read Approved VideoGoogle SheetsService
  9. 9Fetch Music from SheetsGoogle SheetsService
  10. 10Ready to Publish?IfLogic
  11. 11Post to Json2Video APIHttp RequestService
  12. 12Fetch Approved VideoHttp RequestService
  13. 13Wait 10 MinutesWaitLogic
  14. 14Publish to YouTubeYou TubeService
  15. 15Check Json2Video StatusHttp RequestService
  16. 16Update YouTube ComplianceHttp RequestService
  17. 17Route by Video StatusSwitchLogic
  18. 18Mark Process CompleteGoogle SheetsService
  19. 19Update Video StatusGoogle SheetsService
  20. 20Wait 30 SecondsWaitLogic
  21. 21Log Errors to SheetsGoogle SheetsService

How it's built

Starts on
A clock
Steps
21, with 2 branches, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Sheets, YouTube
Model
OpenAI

Questions

What does it need to run?

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

How long does it take to set up?

Take your time. At 21 steps it is large: read it before trusting it with anything live.

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 21 steps before you point it at anything that matters.