Auto-post YouTube Shorts from Google Drive with OpenRouter AI titles & descriptions
Ready for 3.0What this workflow does
This AI workflow has 10 nodes and runs on a schedule (every day at 13:00). Along the way it connects OpenRouter Chat Model and Google Drive. It also calls googleapis.com over HTTP.
How it runs
Trigger: On a schedule (every day at 13:00).
- Get next video from folder (Google Drive): work with file folder
- Generate title & description (Basic LLM Chain): sends a prompt to an LLM, with model: OpenRouter Chat Model
- Clean LLM JSON (Code): runs custom JavaScript code
- YouTube video metadata (Edit Fields (Set)): sets 5 fields: snippet.title, snippet.description, snippet.categoryId…
- Initialize resumable upload (HTTP Request): calls googleapis.com (POST)
- Download video file (Google Drive): download
- Upload video file (HTTP Request): calls an HTTP API (PUT)
- Move video to Posted (Google Drive): move
Services it uses
HTTP calls to: googleapis.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Drive
n8n-nodes-base.googleDrive - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest
From the author
How it works This workflow automatically uploads YouTube Shorts from a Google Drive folder. It picks one video at each run, generates a YouTube-optimized title, description, and hashtags using an AI model, uploads the video through YouTube’s resumable upload…