Automated YouTube Video Uploads with 12h Interval Scheduling in JST — n8n Workflow
Overview
This workflow automates a batch upload of multiple videos to YouTube, spacing each upload 12 hours apart in Japan Standard Time (UTC+9) and automatically adding them to a playlist.
⚙️ Workflow Logic
Manual Trigger — Starts the workflow manually.
List Video Files — Uses a shell command to find all .mp4 files under the specified directory (/opt/downloads/单词卡/A1-A2).
Sort and Generate Items — Sorts videos by day number (dayXX) extracted from filenames and assigns a sequential order value.
C
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a trigger trigger.
- 2
Process
Data flows through 8 nodes, connecting code, executecommand, manualtrigger.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (8)
YouTube
youTube
Code
code
How to Import This Workflow
- 1Click Download JSON button on the right to save the workflow file.
- 2Open your n8n instance. Go to Workflows → New → Import from file.
- 3Select the downloaded
automated-youtube-video-uploads-with-12h-interval-scheduling-in-jstfile and click Import. - 4Set up credentials for each service node (API keys, OAuth, etc.).
- 5Click Test Workflow to verify everything works, then activate it.
Or paste directly in n8n → Import from JSON:
Integrations
Created by
Zane
@zane
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →