🎦🚀 YouTube video comment analysis agent
Needs changesWhat this workflow does
This AI workflow has 17 nodes and runs when another workflow calls it (plus 1 other trigger). Along the way it connects Gmail, OpenAI Chat Model and Google Drive.
How it runs
Trigger: When another workflow calls it (plus 1 other trigger).
- Workflow Variables (Edit Fields (Set)): sets 2 fields: GOOGLE_API_KEY, VIDEO_ID
- Create YouTube API URL (Code): runs custom JavaScript code
- Get Video Comments with Pagination (Code): runs custom JavaScript code
- Get YouTube Video Details (HTTP Request): calls an HTTP API
- Split Out: splits a list into separate items
- Merge: merges the data from its input branches
- Combine Comments (Summarize): summarizes / groups the items
- Create One JSON Object (Aggregate): combines items into one
- YouTube Video Report Agent (AI Agent): runs an AI agent, with model: gpt-4o-mini
- Markdown: converts between Markdown and HTML
…plus 4 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623) · Other OpenAI + Google Drive templates (628) · Other Gmail + Google Drive templates (465)
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 YouTube Video Report Agent (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).
Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) YouTube Video Report Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (14)
- Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Aggregate
n8n-nodes-base.aggregate - Edit Fields (Set)
n8n-nodes-base.set - Summarize
n8n-nodes-base.summarize - Split Out
n8n-nodes-base.splitOut - Manual Trigger
n8n-nodes-base.manualTrigger - Gmail
n8n-nodes-base.gmail - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Markdown
n8n-nodes-base.markdown - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Drive
n8n-nodes-base.googleDrive
From the author
🎦🚀 YouTube Video Comment Analysis Agent This n8n workflow is designed to help YouTube creators analyze video details and comments to generate a comprehensive and actionable report. The workflow provides insights into video performance, audience engagement,…