Analyze YouTube videos with GPT-4o-mini and get relevance-ranked insights
Needs changesWhat this workflow does
This AI workflow has 21 nodes and runs when someone submits an n8n form (“YouTube Video Intelligence Tracker”). Along the way it connects OpenAI Chat Model, Google Sheets and Gmail. It also calls wayinvideo-api.wayin.ai over HTTP.
How it runs
Trigger: When someone submits an n8n form (“YouTube Video Intelligence Tracker”).
- 2. Set — Config Values (Edit Fields (Set)): sets 12 fields: youtubeApiKey, wayinVideoApiKey, sheetId…
- 3. Code — Extract Video IDs (Code): runs custom JavaScript code
- 4. HTTP — Fetch YouTube Metadata (HTTP Request): calls an HTTP API
- 5. Code — Process Video Metadata (Code): runs custom JavaScript code
- 6. HTTP — Submit Transcription Task (HTTP Request): calls wayinvideo-api.wayin.ai (POST)
- 7. Code — Save Transcript Task ID (Code): runs custom JavaScript code
- 8. Wait — 45 Seconds (Wait): waits 45 seconds
- 9. HTTP — Poll Transcript Results (HTTP Request): calls an HTTP API
- 10. Code — Check Transcript Status (Code): runs custom JavaScript code
- 11. IF — Transcript Ready? (If): checks a condition and branches into true / false
…plus 8 more steps. See the full node list below.
Services it uses
HTTP calls to: wayinvideo-api.wayin.ai
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 13. AI Agent — Analyze Video (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) 13. AI Agent — Analyze Video (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)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail
From the author
Description Submit up to 3 YouTube video URLs using a simple form and the workflow handles everything automatically. It fetches each video's title, channel, views, and duration from YouTube, submits each video to WayinVideo for accurate speaker-labeled…