YouTube Community Moderation Agent
Automatically analyze YouTube comments for sentiment and missed replies, helping you engage your community more effectively.
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:
Fetches all top-level comments and replies using the YouTube API.
Processes each comment to determine:
Sentiment (positive, negative, neutral)
Whether the comment received a reply
Groups and summarizes:
Sentiment breakdown
Common themes
Unreplied comments for potential follow-up
Returns a structured summary, ready for reporting or decision-making.
Get started fast. Clone this agent template in Postman
Use TemplateHow 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:
Clone the agent template from the Flows workspace.
Set up YouTube:
Copy your YouTube API key from the Google Cloud Console.
In Postman, open the module’s Configurations panel and save the key as
youtube_api_key
.
Deploy the agent to the Postman cloud.
Copy and save the
action_url
from the deployment output.
Set up Slack:
Create a Slack app.
In Postman, open the module’s Configurations panel and save the following credentials:
slack_bot_token
: Slack OAuth tokenslack_user_id
: Slack user ID
Create a slash command, such as
/youtubecomments
, with read and write access.Set the Request URL for the slash command to your action URL. This connects your Slack app to the agent.
In Slack, use your slash command with a YouTube video ID or URL. Example:
/youtubecomments https://www.youtube.com/watch?v=exampleID
Check the output logs for:
Structured sentiment report
List of unreplied comments
Popular Templates
Summarize and analyze industry news
Pulls and analyzes news articles from APIs, then sends a daily summary straight to Slack.
Prepare for customer meetings
Gathers support, deal, and calendar data to deliver a daily Slack brief before calls.
Score GitHub issues by urgency
Analyzes comments and sentiment to summarize GitHub issues and flag those needing triage.
Plan trips and generate itineraries
Builds Notion-based travel plans with activities, weather, and packing lists.