Automation library · Scheduling

Schedule motivational YouTube Shorts with Google Drive

Started by a clock, and works across Airtable, Google Cloud Storage, Google Drive, Telegram and one other. It hands the judgement calls to Gemini. 22 steps, 1 branch, 2 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini

22 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
2Loops or waits
5Services it connects to

The flow

Starts it 2Model 2Logic 8Service 10

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

  1. 1Schedule Trigger1Schedule triggerStarts it
  2. 2When clicking ‘Execute workflow’Manual triggerStarts it
  3. 3random minutesCodeLogic
  4. 4Wait1WaitLogic
  5. 5Search files and foldersGoogle DriveService
  6. 6check sizeIfLogic
  7. 7sourceURLSetLogic
  8. 8download fileGoogle DriveService
  9. 9HTTP RequestHttp RequestService
  10. 10store in GCSGoogle Cloud StorageService
  11. 11Build Cloudinary URLCodeLogic
  12. 12come up with titleGoogle GeminiModel
  13. 13download compressed videoHttp RequestService
  14. 14Analyze video for hashtagsGoogle GeminiModel
  15. 15build hashtagsSetLogic
  16. 16build tags for YTCodeLogic
  17. 17Create a recordAirtableService
  18. 18Download file1Google DriveService
  19. 19Post to YTYou TubeService
  20. 20WaitWaitLogic
  21. 21delete from libraryGoogle DriveService
  22. 22send TG notificationTelegramService

How it's built

Starts on
A clock
Steps
22, with 1 branch, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Airtable, Google Cloud Storage, Google Drive, Telegram, YouTube
Model
Gemini

Questions

What does it need to run?

An n8n account, plus your own Airtable, Google Cloud Storage, Google Drive, Telegram 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 a clock.

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