Automation library · Content

Create YouTube videos daily from Google Sheets with MagicHour

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

LargeCalls a model: Gemini

26 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 2Model 6Logic 12Service 6

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

  1. 1Sheet Row AddedGoogle Sheets triggerStarts it
  2. 2Chat InputChat triggerStarts it
  3. 3Video Params ParserOutput Parser StructuredModel
  4. 4YouTube JSON ParserOutput Parser StructuredModel
  5. 5Gemini AI ModelLm Chat Google GeminiModel
  6. 6Google Gemini Chat ModelLm Chat Google GeminiModel
  7. 7IfIfLogic
  8. 8Normalize InputSetLogic
  9. 9Generate Video ParametersAgentModel
  10. 10Generate YouTube DataAgentModel
  11. 11LimitLimitLogic
  12. 12Create VideoHttp RequestService
  13. 13MergeMergeLogic
  14. 14Initialize Retry CounterSetLogic
  15. 15WaitWaitLogic
  16. 16Check Video StatusHttp RequestService
  17. 17Upload a videoYou TubeService
  18. 18Video Complete?IfLogic
  19. 19Prepare Sheet UpdateSetLogic
  20. 20Download VideoHttp RequestService
  21. 21Wait & RetryWaitLogic
  22. 22Update ResultsGoogle SheetsService
  23. 23Prepare MetadataSetLogic
  24. 24Code in JavaScriptCodeLogic
  25. 25Edit FieldsSetLogic
  26. 26MixAudio audioMedia FXService

How it's built

Starts on
Someone opening a chat with it
Steps
26, with 2 branches, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Sheets, YouTube
Model
Gemini

Questions

What does it need to run?

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

What starts it?

It starts on someone opening a chat with it.

Does it use AI?

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

How long does it take to set up?

Take your time. At 26 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 26 steps before you point it at anything that matters.