← All N8N workflows
AI & researchAgentAggregateCodeExecute Workflow TriggerGmail

🎦🚀 YouTube Video Comment Analysis Agent

Configured with Agent, Aggregate, Execute Workflow Trigger, Gmail, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
TriggerWhen Executed byAnother WorkflowExecute Workflow TriggerCodeCreate YouTube API URLCodeWeb / APIGet YouTube VideoDetailsHTTP RequestTransformMerge YouTube Details &TranscriptMergeTransformCreate One JSON ObjectAggregateTransformWorkflow VariablesEdit FieldsTransformCombine CommentsSummarizeTransformSplit Out CommentsSplit OutWeb / APIGet YouTube VideoCommentsHTTP RequestTriggerWhen clicking ‘Testworkflow’Manual TriggerCodeCreate YouTube API URLfor CommentsCodeMessagingGmail ReportGmailAI & modelsgpt-4o-miniOpenAI Chat ModelTransformMarkdown to HTMLMarkdownAI & modelsYouTube Video ReportAgentAgentCodeGet Video Comments withPaginationCodeFiles / mediaSave Report to GoogleDriveGoogle Drive

Node categories in this workflow

  • Trigger
  • Code
  • Web / API
  • Transform
  • Messaging
  • AI & models
  • Files / media

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
When Executed by Another WorkflowTriggerExecute Workflow TriggerSee node parameters
Create YouTube API URLCodeCodeSee node parameters
Get YouTube Video DetailsWeb / APIHTTP RequestSee node parameters
Merge YouTube Details & TranscriptTransformMergeSee node parameters
Create One JSON ObjectTransformAggregateSee node parameters
Workflow VariablesTransformEdit FieldsSee node parameters
Combine CommentsTransformSummarizeSee node parameters
Split Out CommentsTransformSplit OutSee node parameters
Get YouTube Video CommentsWeb / APIHTTP RequestSee node parameters
When clicking ‘Test workflow’TriggerManual TriggerSee node parameters
Create YouTube API URL for CommentsCodeCodeSee node parameters
Gmail ReportMessagingGmailSee node parameters
gpt-4o-miniAI & modelsOpenAI Chat ModelSee node parameters
Markdown to HTMLTransformMarkdownSee node parameters
YouTube Video Report AgentAI & modelsAgentSee node parameters
Get Video Comments with PaginationCodeCodeSee node parameters
Save Report to Google DriveFiles / mediaGoogle DrivecreateFromText

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • gmailOAuth2
  • googleDriveOAuth2Api
  • openAiApi

Workflow notes

💡 Workflow Variables

💡 Workflow Variables

https://cloud.google.com/docs/get-started/access-apis

  • GOOGLE_API_KEY
  • VIDEO_ID - 🖐️CHANGE THIS!!!
YouTube Video Details

YouTube Video Details

https://developers.google.com/youtube/v3/docs https://www.googleapis.com/youtube/v3/videos

YouTube Video Comments

YouTube Video Comments

https://developers.google.com/youtube/v3/docs https://www.googleapis.com/youtube/v3/commentThreads

YouTube Video Comments (Alternate)

YouTube Video Comments (Alternate)

Get latest 100 comments without pagination

YouTube Video Comment Analysis Agent

YouTube Video Comment Analysis Agent

This agent is designed to analyze YouTube video details and comments to generate a comprehensive and actionable report for content creators. The report provides insights into:

  • Video performance: Metrics such as views, likes, and comments.
  • Audience engagement: Identifying what resonates with viewers.
  • Viewer feedback: Highlighting trends, interests, and areas for improvement.

Key Features:

  1. Sentiment Analysis: Evaluates the tone of comments (positive, negative, neutral) to understand audience sentiment.
  2. Recurring Themes: Identifies common topics or questions in comments.
  3. Engagement Drivers: Highlights video elements that sparked high engagement.
  4. Actionable Recommendations: Offers specific strategies for improving content and addressing viewer needs.
  5. Keyword Suggestions: Extracts frequently mentioned terms for better discoverability.
  6. Collaboration Opportunities: Suggests potential partnerships based on viewer feedback or related channels.
  7. Audience Profiling: Infers audience characteristics such as expertise level and interests.

Objective:

The goal is to empower YouTube creators with data-driven insights to create engaging content that resonates with their audience while addressing viewer needs and preferences.

🎦🚀 YouTube Video Comment Analysis Agent

🎦🚀 YouTube Video Comment Analysis Agent

Purpose and structure

This folder contains the 🎦🚀 YouTube Video Comment Analysis Agent workflow. Its executable nodes use agent, aggregate, code, executeWorkflowTrigger, gmail, googleDrive, httpRequest, lmChatOpenAi, manualTrigger, markdown, merge, set, splitOut, summarize. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

When Executed by Another Workflow, When clicking ‘Test workflow’

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Splitout/1831_Splitout_Code_Automation_Webhook.json MIT; preserve source notices.

Canvas section labels

These name areas of the original canvas; they do not include explanatory instructions.

  • 🛠️YouTube Video Details & Comments Processing Tool
  • 📽️ YouTube Video Comment Reporting Agent
  • 👍 Try Me!

More in AI & research