Automate YouTube uploads with AI-generated metadata from Google Drive
Needs changesWhat this workflow does
This AI workflow has 12 nodes and runs on Google Drive events (file created). Along the way it connects Google Drive, OpenAI, Google Gemini Chat Model and YouTube.
How it runs
Trigger: On Google Drive events (file created).
- Download New Video (Google Drive): download
- Upload Video to Youtube (YouTube): upload (video)
- ApifyToken (Edit Fields (Set)): sets 1 field: token
- Get Transcript (HTTP Request): calls an HTTP API (POST)
- Adjust Transcript Format (Code): runs custom JavaScript code
- Create Description (OpenAI): uses OpenAI
- YT Tags (AI Agent): runs an AI agent, with model: 2.5FlashPrev
- YT Title (OpenAI): uses OpenAI
- Update Video's Metadata (YouTube): update (video)
- Delete File from Upload Folder (Optional) (Google Drive): delete file
Services it uses
Other OpenAI + Google Drive templates (628) · Other Google Gemini + Google Drive templates (272) · Other OpenAI + Google Gemini templates (249)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in YT Tags (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) YT Tags (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (9)
- Google Drive
n8n-nodes-base.googleDrive - Google Drive Trigger
n8n-nodes-base.googleDriveTrigger - OpenAI
@n8n/n8n-nodes-langchain.openAi - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - AI Agent
@n8n/n8n-nodes-langchain.agent - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - YouTube
n8n-nodes-base.youTube - Edit Fields (Set)
n8n-nodes-base.set
From the author
👥 Who Is This For? Content creators, marketing teams, and channel managers who want a simple, hands‑off solution to upload videos and automatically generate optimized metadata from video transcripts. 🛠 What Problem Does This Solve? Manual video uploads with…