YouTube Community Moderation Agent

Automatically analyze YouTube comments for sentiment and missed replies, helping you engage your community more effectively.

Postman Templates Illustration.

Overview

This agent reviews comments on any YouTube video and groups them by sentiment. It also flags which comments have not received a reply. The result is a structured summary that helps content owners quickly understand feedback and spot opportunities to engage with the community.

Tools used by this agent

  • YouTube Data: Fetches comments and reply metadata

  • Slack: Posts summary and analysis

How does this agent work?

Trigger the agent by using a Slack slash command and entering a YouTube video ID or URL. Then, the agent:

  1. Fetches all top-level comments and replies using the YouTube API.

  2. Processes each comment to determine:

    • Sentiment (positive, negative, neutral)

    • Whether the comment received a reply

  3. Groups and summarizes:

    • Sentiment breakdown

    • Common themes

    • Unreplied comments for potential follow-up

  4. Returns a structured summary, ready for reporting or decision-making.

Get started fast. Clone this agent template in Postman

Use Template

How to use this template

This agent requires the following configurations to function:

YouTube

- youtube_api_key

Set up the template

To set up the template, do the following:

  1. Clone the agent template from the Flows workspace.

  2. Set up YouTube:

    1. Copy your YouTube API key from the Google Cloud Console.

    2. In Postman, open the module’s Configurations panel and save the key as youtube_api_key.

  3. Deploy the agent to the Postman cloud.

    1. Copy and save the action_url from the deployment output.

  4. Set up Slack:

    1. Create a Slack app.

    2. In Postman, open the module’s Configurations panel and save the following credentials:

      • slack_bot_token: Slack OAuth token

      • slack_user_id: Slack user ID

    3. Create a slash command, such as /youtubecomments, with read and write access.

    4. Set the Request URL for the slash command to your action URL. This connects your Slack app to the agent.

  5. In Slack, use your slash command with a YouTube video ID or URL. Example: /youtubecomments https://www.youtube.com/watch?v=exampleID

  6. Check the output logs for:

    1. Structured sentiment report

    2. List of unreplied comments

Popular Templates

Summarize and analyze industry news. Icon.

Summarize and analyze industry news

Pulls and analyzes news articles from APIs, then sends a daily summary straight to Slack.

Prepare for customer meetings. Icon.

Prepare for customer meetings

Gathers support, deal, and calendar data to deliver a daily Slack brief before calls.

Score GitHub issues by urgency. Icon.

Score GitHub issues by urgency

Analyzes comments and sentiment to summarize GitHub issues and flag those needing triage.

Plan trips and generate itineraries. Icon.

Plan trips and generate itineraries

Builds Notion-based travel plans with activities, weather, and packing lists.