沟通
New YouTube Channel Videos to Telegram
Check a YouTube channel every 30 minutes and send newly found videos to Telegram.
下载工作流


Check a YouTube channel every 30 minutes and send newly found videos to Telegram.
Setup
Connect YouTube and set a channel ID in Search the YouTube channel. Connect a Telegram bot in Send a Telegram notice and set its chat ID in Find new videos. The bot must be able to post in that chat. Keep the workflow deployed with persistent State and prevent overlapping runs. In n8n, configure the YouTube channel and Telegram chat and connect both credentials. Activate one format. n8n manual tests do not persist workflow static data and can repeat the latest notices.
Behavior
Each run searches the channel for up to four videos ordered by date. The first nonempty run sends all returned videos, newest first. Later runs scan the returned order until the first previously seen video, then send only the videos before it. An empty result sends nothing and leaves the prior IDs unchanged. The workflow stores only the latest nonempty result IDs, so more than four videos between checks, changes in result order, indexing delays or downtime can cause missed or repeated notices. YouTube search consumes API quota.
Open Flow saves the IDs before sending. n8n saves changed static data at execution end even if a send fails. Consequently an unsuccessful or unknown Telegram send can be skipped on the next run; inspect the chat before retrying. Overlapping runs and hard crashes can behave differently. Open Flow checks at UTC half-hour boundaries; the source and n8n interval start from activation, so their phase may differ.
Inspiration & credits
Changes to the source
- Replace the original channel and chat IDs, and generalize the personal message.
- Upgrade the n8n Function node to Code V2, escape video titles for Telegram HTML and reject malformed results or oversized messages before saving IDs and sending.
- Open Flow uses the YouTube Connection Proxy for the channel-wide search because the current Search Action requires a search term. Both formats retain the channel, video type, date order and four-result limit.
Adapted from Send YouTube videos to Telegram in Zie619/n8n-workflows. The matching n8n listing credits Alessio. The original template does not state a separate license.
The collection’s MIT notice is pinned at a later revision. This is the collection notice at that revision; it does not establish a separate original template author’s license. Our changes are listed above; see repository licensing.
MIT License
Copyright (c) 2025 Zie619
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.