n8n Telegram Workflow: Analyze YouTube Comments with Gemini
n8n Telegram Workflow: Analyze YouTube Comments with Gemini
Regular price
£69.99
Regular price
£69.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
⚡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
n8n Telegram Workflow: Analyze YouTube Comments with Gemini
Regular price
£69.99
Regular price
£69.99
Sale price
Unit price
/
per
Turn any YouTube link into actionable audience insights—automatically in Telegram
This n8n Telegram workflow lets you paste a YouTube video URL in a Telegram chat and instantly receive an AI-powered analysis of the video’s audience sentiment and recurring themes—including exactly seven new video ideas.
What this workflow does
- Telegram trigger: Starts when the Telegram bot receives a message containing a YouTube video URL.
- URL validation: Validates the URL, extracts the video ID, and replies in Telegram with an error if the URL is invalid.
- YouTube Data API fetch: Calls the YouTube Data API to retrieve video metadata and the top 100 relevant comment threads.
- Comment cleaning: Extracts key fields, removes empty entries, and deduplicates by comment text to build a clean comment set.
- Gemini analysis: Sends video metadata and aggregated comments to Google Gemini to produce a structured audience analysis (including sentiment and repeated questions/content opportunities).
- Generate ideas: Uses Gemini again to generate exactly seven new video ideas based on the repeated questions and highest-scoring opportunities.
- Reporting & logging: Appends the final report to Google Sheets and sends a formatted summary back in Telegram.
Use cases
- Creators and SaaS operators: quickly research what viewers are asking about a specific video.
- Content teams: transform recurring comments into a prioritized list of next video topics.
- Automation engineers: build a repeatable n8n YouTube-to-AI-to-analytics workflow with messaging and logging.
Technical details
- Telegram node: receives the YouTube URL and replies with results.
- YouTube Data API: two HTTP requests for video details and commentThreads (top 100).
- Google Gemini (Google PaLM): two Gemini chat-mode calls for audience analysis and idea generation.
- Google Sheets: appends the analysis report.
- Core n8n logic nodes: if, set, filter, split out, telegram, aggregate.
Setup required: connect a Telegram bot, add a YouTube Data API key, and add Google Gemini (Google PaLM) API credentials.
