Analyze YouTube comments sentiment & keywords with Gemini AI and Telegram reporting
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (12)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Aggregate
n8n-nodes-base.aggregate - Telegram
n8n-nodes-base.telegram - No Operation, do nothing
n8n-nodes-base.noOp
What it does
YouTube Comment Sentiment & Keyword Extractor Template Google Sheets: Click here to open This workflow automatically retrieves comments from YouTube videos listed in Google Sheets, analyzes sentiment and keywords using an LLM, stores the results, then generates an aggregate summary and sends a report to Telegram. --- ✨ Key Features - Automated Scheduling – Runs the process at regular intervals. - Google Sheets Integration – Fetches a list of videos and stores analysis results directly in Google Sheets. - YouTube Comment Retrieval – Retrieves top-level comments (up to 100 per video; can be extended with pagination). - Comment Parsing – Flattens the API response into one item per comment. - AI Sentiment & Keyword Analysis – Powered by an LLM model to extract: - Sentiment (positive, neutral, negative) - Sentiment score (-1 to 1) - Keywords (cleaned from stopwords, emojis, hashtags) - Language (ISO 639-1, 2-letter code) - Data Normalization – Ensures LLM output is consistent and safe to write to the sheet. - Telegram Reporting – Sends a concise report for each video directly to a Telegram chat. --- 🔐 Required Credentials - Google Sheets OAuth2 API – Read & write access to the spreadsheet. - YouTube Data API Key – To fetch comments via commentThreads. - OpenRouter API Key – To access the LLM model. - Telegram Bot API – To send reports via a Telegram bot. --- 🎁 Benefits - End-to-End Automation – From comment retrieval to reporting, no manual steps required. - No Duplication – Each comment is uniquely tracked by commentid. - Data Transparency – Raw and analyzed data stored neatly in Google Sheets. - Actionable Insights – Sentiment and keyword summaries ready for content strategy decisions. - Scalable – Can be extended for pagination, reply comment analysis, or additional metrics. - Cross-Platform – Direct Telegram integration for easy monitoring on any device.