Templates / πŸŽ¦πŸš€ YouTube video comment analysis agent

πŸŽ¦πŸš€ YouTube video comment analysis agent

Needs changes

by Joseph LePage βœ“ Β· 5,292 views Β· created 2025-02-21 Β· Market Research, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What 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).

  1. Workflow Variables (Edit Fields (Set)): sets 2 fields: GOOGLE_API_KEY, VIDEO_ID
  2. Create YouTube API URL (Code): runs custom JavaScript code
  3. Get Video Comments with Pagination (Code): runs custom JavaScript code
  4. Get YouTube Video Details (HTTP Request): calls an HTTP API
  5. Split Out: splits a list into separate items
  6. Merge: merges the data from its input branches
  7. Combine Comments (Summarize): summarizes / groups the items
  8. Create One JSON Object (Aggregate): combines items into one
  9. YouTube Video Report Agent (AI Agent): runs an AI agent, with model: gpt-4o-mini
  10. Markdown: converts between Markdown and HTML

…plus 4 more steps. See the full node list below.

Services it uses

GmailOpenAI Chat ModelGoogle Drive

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).

Removed in 3.0Replace 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)

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,…

Excerpt from Joseph LePage's description on n8n.io.

View the original on n8n.io β†’ Check your own copy

Get the weekly β€œwhat broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.