AR
AutomatedReality

Build a Local YouTube Upload System with n8n: Whisper, Ollama, Chapters & Scheduling

Overview & Architecture

Publishing a video should not cost you another hour after the edit is done. The title, description, tags, chapters, thumbnail and schedule are all repeatable work, and none of it has to run in someone else’s cloud.

This blueprint connects a watch folder, a local Whisper transcription server and a local Ollama model to n8n. Drop a finished video into a folder and it ends with a private, scheduled YouTube upload and a Discord notification. Everything except the final upload and the notification stays on your own hardware.

In testing, a 7:33 video went from folder drop to a scheduled upload in roughly 4.5 to 6 minutes on a 12 GB RTX A2000, including the upload itself.

The Pipeline

  1. Watch Folder Trigger: The n8n Local File Trigger notices a new video file in a mounted Docker folder and waits until it has finished copying.
  2. Local Transcription: The video is sent to a Speaches (faster-whisper) container that returns a timestamped transcript on your GPU. A 133 MB video transcribed in about 20 seconds.
  3. AI-Written Metadata: Ollama turns the transcript into a title, description, tags and chapter list, with the context window sized to fit the transcript.
  4. Chapter Validation: A Code node enforces YouTube’s chapter rules (start at 0:00, at least three chapters, ten seconds apart) before anything is uploaded.
  5. Scheduled Upload: The video goes up as private with a publish time you choose, such as 9:00 AM in your time zone, with daylight saving handled.
  6. Optional Thumbnail: Drop a PNG or JPG named like the video and n8n sets it as the custom thumbnail. No image means no error, just YouTube’s default.
  7. Discord Notification: You get the video link and the local publish time.

What You Need

Key Deployment Hurdles & Solutions

Download the Workflow (.json)

Import-ready n8n workflow with all 15 nodes, grouped and labeled. In n8n choose Import from file, connect your own YouTube credential, paste your Discord webhook URL, and set your models and publish time in the Workflow Settings node.

Download the n8n workflow (.json)

Download the Companion System Prompt (.md)

Enter your first name to personalize the upload-system assistant prompt so your AI helper can walk you through the Docker, Whisper, Ollama, n8n and Google OAuth setup step by step. Add your email optionally to get notified when new home lab blueprints drop.