Automated YouTube Video Uploads with 12h Interval Scheduling in JST — n8n 工作流

复杂度 触发器8 个节点📣 Marketing作者:Zane

概览

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

使用的节点

YouTubeCode

工作流预览

Overview
This workflow automates video publishing to YouTube.
It lists local video files, generates upload metadata,
List & Prepare Files
Retrieves all video files from the local folder and pre
Each item includes the file path and basic information
Sort & Schedule Uploads
Sorts videos in the correct order and calculates a publ
Each video is assigned a publishAt time spaced 12 hours
Process in Batches
Ensures videos are handled one by one.
Prevents large uploads from overloading memory and make
Upload to YouTube
Reads each video from disk and uploads it to YouTube as
The video becomes public automatically at its scheduled
Add to Playlist
After upload, each video is automatically added to the
M
Manual Trigger
L
List Video Files
Sort and Generate Items
Calculate Publish Schedu…
S
Split in Batches (1 per …
R
Read Video File
Upload to YouTube (Sched…
Add to Playlist
8 nodes8 edges

工作原理

  1. 1

    触发器

    工作流由 触发器 触发器启动。

  2. 2

    处理

    数据流经 8 个节点, connecting code, executecommand, manualtrigger。

  3. 3

    输出

    工作流完成自动化并将结果发送到配置的目标。

节点详情 (8)

YO

YouTube

youTube

#1
CO

Code

code

#2

如何导入此工作流

  1. 1点击右侧 下载 JSON 按钮保存工作流文件。
  2. 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入
  3. 3选择下载的 automated-youtube-video-uploads-with-12h-interval-scheduling-in-jst 文件并点击导入。
  4. 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
  5. 5点击 测试工作流 验证一切正常,然后激活它。

或直接在 n8n → 从 JSON 导入 中粘贴:

{ "name": "Automated YouTube Video Uploads with 12h Interval Scheduling in JST", "nodes": [...], ...}

集成

codeexecutecommandmanualtriggerreadwritefilesplitinbatchesyoutube

获取此工作流

一键下载并导入

下载 JSON在 n8n.io 上查看
节点8
复杂度medium
触发器trigger
分类Marketing

创建者

Zane

Zane

@zane

标签

codeexecutecommandmanualtriggerreadwritefilesplitinbatchesyoutube

n8n 新手?

n8n 是一款免费开源的工作流自动化工具,支持自托管或使用云版本。

免费获取 n8n →