Extract video metadata & auto-upload to YouTube with GPT-4o SEO optimization
Needs changesWhat this workflow does
This AI workflow has 22 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, YouTube, Google Sheets and Gmail.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Initialize Upload Session (Edit Fields (Set)): sets 7 fields: uploadId, timestamp, projectName…
- Validate Binary Data (If): checks a condition and branches into true / false
- Extract Video Metadata (Code): runs custom JavaScript code
- Error Response (Respond to Webhook): sends the response back to the webhook caller
- Prepare AI Context (Code): runs custom JavaScript code
- AI Metadata Generator (AI Agent): runs an AI agent, with model: OpenAI Chat Model
- Parse AI Metadata (Code): runs custom JavaScript code
- Check Scheduled Publish (If): checks a condition and branches into true / false
- Set Scheduled Settings (Edit Fields (Set)): sets 2 fields: privacyStatus, publishAt
- Set Immediate Publish (Edit Fields (Set)): sets 2 fields: privacyStatus, publishAt
…plus 10 more steps. See the full node list below.
Services it uses
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 AI Metadata Generator (v1.7): 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) AI Metadata Generator (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (11)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Respond to Webhook
n8n-nodes-base.respondToWebhook - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Merge
n8n-nodes-base.merge - YouTube
n8n-nodes-base.youTube - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail
From the author
Video Metadata Extraction & YouTube Auto-Upload with AI Automatically process video files, extract metadata, generate AI-optimized titles/descriptions/tags, and upload directly to YouTube with proper categorization and thumbnail handling. Key Features -…