Automation library · Content

AI video automation engine - generate & publish YT shorts

Started by a clock, and works across Telegram and YouTube. It hands the judgement calls to Gemini and Perplexity. 16 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: Gemini, Perplexity

16 stepsMedium: a working afternoon
1Branch: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 1Model 3Logic 3Service 9

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

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2Google Gemini Chat ModelLm Chat Google GeminiModel
  3. 3Structured Output Parser1Output Parser StructuredModel
  4. 4Filenames + topicSetLogic
  5. 5Prompt & Text AgentAgentModel
  6. 6Video IdeaPerplexityService
  7. 7Start VideogenerationHttp RequestService
  8. 8Wait until VideogenerationWaitLogic
  9. 9Get VideogenerationHttp RequestService
  10. 10Videogeneration finishedIfLogic
  11. 11Download VideoHttp RequestService
  12. 12Write Video on DiskRead Write FileService
  13. 13Edit VideoExecute CommandService
  14. 14Read finished VideoRead Write FileService
  15. 15Send NotificationTelegramService
  16. 16Upload a videoYou TubeService

How it's built

Starts on
A clock
Steps
16, with 1 branch, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Telegram, YouTube
Model
Gemini, Perplexity

Questions

What does it need to run?

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

How long does it take to set up?

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