Daily YouTube Comment Sentiment Digest to Slack with AI
An n8n workflow that pulls the latest comments on your newest YouTube videos, has Claude score sentiment and surface the most useful feedback, and posts a tidy morning digest to Slack — so your team spots praise, complaints and content ideas without scrolling the comment section.
- 1
Schedule the daily run
Add a
Schedule Triggerset toDaysat hour8. Running once each morning keeps you well inside the free YouTube API quota and lands the digest before the team starts work. - 2
Fetch your latest videos
An
HTTP Requesttohttps://www.googleapis.com/youtube/v3/searchwithchannelId,order=date,part=idand your API key returns your most recent uploads. Keep the last 3–5 video IDs — that's where fresh comments live. - 3
Pull recent comments
For each video ID, an
HTTP RequesttocommentThreadswithpart=snippetandmaxResults=100returns the newest comment threads. AFilternode keeps only comments published in the last 24 hours so the digest is always fresh. - 4
Analyze with Claude
Send the comment texts to Claude in one call. Ask for strict JSON: an overall
moodlabel, a 0–100positivity_score, the top 3praisequotes, top 3complaints, and 3content_ideasyour audience is implicitly asking for. Batching all comments into one request keeps cost to a fraction of a cent. - 5
Post the digest to Slack
A
Slacknode posts a formatted message: a mood emoji and score header, then three short sections. Use Slack Block Kit for clean spacing. Add a link back to each video so anyone can jump in and reply.
Frequently asked questions
Do I need the official YouTube Data API for comments?
Yes — comment threads aren't in the RSS feed. Create a free Google Cloud project, enable the YouTube Data API v3, and generate an API key. The free daily quota (10,000 units) is far more than a daily comment pull needs, so most creators never pay anything.
How does it avoid re-reading the same comments every day?
The workflow filters comments by publish time, keeping only those newer than 24 hours before it runs. If you run it less often, widen the window in the filter node. You can also store the last-seen comment ID in a Google Sheet or n8n static data for exact de-duplication.
Can it flag toxic or spam comments for moderation?
Absolutely. The Claude prompt already tags each comment; add a category like 'needs_moderation' and route those to a separate Slack channel with an `IF` node. Some teams pair this with the YouTube API's moderation endpoint to auto-hold flagged comments for review.