Analyze YouTube comments sentiment & keywords with Gemini AI and Telegram reporting
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs on a schedule (every day). Along the way it connects Google Sheets, OpenRouter Chat Model and Telegram.
How it runs
Trigger: On a schedule (every day).
- Get row(s) in sheet (Google Sheets): uses Google Sheets
- Youtube API Key (Edit Fields (Set)): sets 1 field: Youtube API Key
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- HTTP Request: calls an HTTP API
- Code: runs custom JavaScript code
- Basic LLM Chain: sends a prompt to an LLM, with model: OpenRouter Chat Model; output parser: Structured Output Parser
- Code: runs custom JavaScript code
- Append or update row in sheet (Google Sheets): append or update
- Aggregate: combines items into one
- Code: runs custom JavaScript code
…plus 1 more step. See the full node list below.
Services it uses
Other Telegram + Google Sheets templates (674) · Other Google Sheets + OpenRouter templates (210) · Other Telegram + OpenRouter templates (136)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
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
From the author
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…