Skip to main content

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

Workflow preview

Workflow preview
100%
πŸŽ¦πŸš€ YouTube video comment analysis agent preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.stickynote, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.merge, n8n-nodes-base.aggregate, n8n-nodes-base.set, n8n-nodes-base.summarize

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Joseph LePage.

Original n8n.io source

1.1 Workflow description

Title
πŸŽ¦πŸš€ YouTube video comment analysis agent
Workflow name
πŸŽ¦πŸš€ YouTube video comment analysis agent

πŸŽ¦πŸš€ 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, and viewer feedback, helping creators identify trends, interests, and opportunities for future content creation.


✨ Key Features

  1. Video Performance Analysis: Extracts metrics like views, likes, and comments to evaluate the video's success.
  2. Comment Sentiment Analysis: Determines the tone of comments (positive, neutral, or negative) to understand audience sentiment.
  3. Recurring Themes Detection: Identifies common topics or questions in comments to highlight viewer interests.
  4. Engagement Drivers: Pinpoints what aspects of the video resonated most with viewers.
  5. Actionable Recommendations: Offers strategies for creating follow-up content or improving future videos.
  6. Keyword Suggestions: Extracts frequently mentioned terms for better discoverability on YouTube.
  7. Collaboration Opportunities: Suggests potential partnerships based on viewer feedback or related channels.

πŸ› οΈ How to Use

  1. Set Up Workflow Variables:

    • Add your GOOGLE_API_KEY and the VIDEO_ID of the YouTube video you want to analyze in the "Workflow Variables" node.
    • Ensure your Google API key has access to the YouTube Data API.
  2. Run the Workflow:

    • Trigger the workflow manually or through another workflow using the "Execute Workflow Trigger" node.
    • The workflow will fetch video details and comments using pagination to ensure all data is captured.
  3. Generate Insights:

    • The workflow processes video details and comments to create a detailed report with actionable insights.
    • Outputs include sentiment analysis, engagement drivers, content opportunities, and audience profiling.
  4. View or Share Results:

    • The report is converted into Markdown and can be emailed via Gmail or saved to Google Drive as a document.

🌟 Value from This Workflow

  • Gain a deeper understanding of your audience's preferences and feedback.
  • Identify trends and engagement drivers to replicate success in future videos.
  • Discover new content opportunities based on viewer questions and suggestions.
  • Improve discoverability by leveraging keyword suggestions extracted from comments.
  • Build stronger connections with your audience by addressing their needs effectively.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When Executed by Another Workflow

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Block 2 - Sticky Note10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Create YouTube API URL

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Get YouTube Video Details

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Merge YouTube Details & Transcript

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 6 - Create One JSON Object

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 7 - Workflow Variables

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - Sticky Note12

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note14

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note15

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Combine Comments

Type / Role
n8n-nodes-base.summarize - summarize
Config choices
Version 1

Block 12 - Split Out Comments

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 13 - Get YouTube Video Comments

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 14 - When clicking β€˜Test workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 15 - Create YouTube API URL for Comments

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 16 - Gmail Report

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 17 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - gpt-4o-mini

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 19 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Markdown to HTML

Type / Role
n8n-nodes-base.markdown - markdown
Config choices
Version 1

Block 21 - YouTube Video Report Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 22 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Get Video Comments with Pagination

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 24 - Save Report to Google Drive

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Showing the first 24 of 25 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow πŸŽ¦πŸš€ YouTube video comment analysis agent
Complexity advanced
Nodes 25
Categories Market Research, AI Summarization
Author Joseph LePage
Published 21 Feb 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2965/2965.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does πŸŽ¦πŸš€ YouTube video comment analysis agent do?

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

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.