Summarize new YouTube channel videos with Gemini and send a digest to Telegram

Go to Workflow
0 views
Built by Olly McBride Olly McBride
Created on October 17, 2026

Description

Quick Overview
This workflow runs every morning, reads YouTube channel RSS feeds to find newly published videos, uses Google Gemini to generate two-line summaries from each video’s title and description, and sends a combined digest (split if needed) to a Telegram chat.

How it works
Runs every day at 8am on a schedule.
Loads your list of YouTube channel IDs, a lookback window in hours, and the target Telegram chat ID.
Fetches each channel’s YouTube RSS feed and continues even if a channel feed fails.
Keeps only videos published within the lookback window and removes any videos already sent in previous executions to avoid duplicates.
Uses Google Gemini to generate a one-sentence summary plus a “Worth watching if” line from the video title and RSS description.
Builds an HTML Telegram digest, splitting it into multiple messages to stay under Telegram’s message length limit.
Sends the digest message(s) to your Telegram chat.

Setup
Add a Google Gemini (PaLM) API credential and ensure the workflow’s Gemini chat model is selected.
Create a Telegram bot, add a Telegram API credential in n8n, and set your Telegram chat ID in the workflow settings.
Replace the example YouTube channel IDs with your own and adjust the schedule time and lookback hours as needed.

This workflow was created by Olly McBride and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (4)

Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Code
n8n-nodes-base.code
Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
Telegram
n8n-nodes-base.telegram