Automated YouTube publishing from Drive with GPT & Gemini metadata generation
Needs changesWhat this workflow does
This AI workflow has 15 nodes and runs on Google Drive events (file created). Along the way it connects Google Drive, OpenAI, Google Gemini Chat Model and YouTube and 1 more. It also calls graph.facebook.com over HTTP.
How it runs
Trigger: On Google Drive events (file created).
- Create Description (OpenAI): uses OpenAI
- YT Tags (AI Agent): runs an AI agent, with model: 2.5FlashPrev
- YT Title (OpenAI): uses OpenAI
- Download New Video (Google Drive): download
- Upload to youtube (YouTube): upload (video)
- Delete video from Upload Folder (Google Drive): delete file
- Send a text message (Telegram): uses Telegram
- Post to Instagram (HTTP Request): calls graph.facebook.com (POST)
- Wait: waits 2 seconds
- Publish instagram post (HTTP Request): calls graph.facebook.com (POST)
…plus 3 more steps. See the full node list below.
Services it uses
HTTP calls to: graph.facebook.com
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).
| 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 (10)
- 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 - YouTube
n8n-nodes-base.youTube - Telegram
n8n-nodes-base.telegram - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Wait
n8n-nodes-base.wait
From the author
How it works This workflow turns a Google Drive folder into a fully automated YouTube publishing pipeline. Whenever a new video file is added to the folder, the workflow generates all YouTube metadata using AI, uploads the video to your YouTube channel,…