Automation library · Chat assistants

Automate YouTube Shorts creation from Telegram prompts

Started by an incoming Telegram message, and works across Google Drive, Telegram and YouTube. It hands the judgement calls to Gemini and OpenAI. 39 steps, 4 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini, OpenAI

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

The flow

Starts it 1Model 9Logic 12Service 17

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

  1. 1Telegram TriggerTelegram triggerStarts it
  2. 2Structured Output ParserOutput Parser StructuredModel
  3. 3OpenAI Chat ModelLm Chat Open AiModel
  4. 4If2IfLogic
  5. 5AI AgentAgentModel
  6. 6Send a text message8TelegramService
  7. 7Send message and wait for responseTelegramService
  8. 8If1IfLogic
  9. 9Generate a video1Google GeminiModel
  10. 10Generate a video2Google GeminiModel
  11. 11Wait5WaitLogic
  12. 12Generate a video4Google GeminiModel
  13. 13Upload video1Google DriveService
  14. 14Send a text messageTelegramService
  15. 15Upload videoGoogle DriveService
  16. 16Send a text message2TelegramService
  17. 17Generate a video3Google GeminiModel
  18. 18Upload video4Google DriveService
  19. 19Send a text message4TelegramService
  20. 20Label URL 1SetLogic
  21. 21Label URL 2SetLogic
  22. 22Upload video3Google DriveService
  23. 23Send a text message3TelegramService
  24. 24Label URL 4SetLogic
  25. 25MergeMergeLogic
  26. 26Label URL 3SetLogic
  27. 27HTTP RequestHttp RequestService
  28. 28HTTP Request1Http RequestService
  29. 29IfIfLogic
  30. 30HTTP Request2Http RequestService
  31. 31WaitWaitLogic
  32. 32Download a videoGoogle GeminiModel
  33. 33Upload video2Google DriveService
  34. 34Label URL SetLogic
  35. 35Send a videoTelegramService
  36. 36Send message and wait for response1TelegramService
  37. 37If3IfLogic
  38. 38Download a video1Google GeminiModel
  39. 39Upload a videoYou TubeService

How it's built

Starts on
An incoming Telegram message
Steps
39, with 4 branches, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Drive, Telegram, YouTube
Model
Gemini, OpenAI

Questions

What does it need to run?

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

What starts it?

It starts on an incoming Telegram message.

Does it use AI?

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

How long does it take to set up?

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