Telegram node
YouTube node

Send new YouTube channel videos to Telegram

Published 2 years ago

Created by

almi05
Alessio

Categories

Building Blocks

Template description


A simple node to send new YouTube videos from a channel to a Telegram chat (private, group or channel).
CheckTime: set how often videos should be fetched from YouTube. Default is 30 minutes.
GetVideosYT: this node will fetch the list of videos from a given channel. Here you need to specify on "Limit" the number of videos to fetch, and on "Channel ID" the ID of the desired channel (it should be the ending part of the URL). You need Google OAuth2 credentials to make it work. A guide is available here. (If you use n8n's tunneling, you may need to adjust the OAuth callback URL on Google Cloud Platform)
Set: this node will set some variables to work easily with the next nodes. You shouldn't edit this.
Function: this node checks if the video was seen previously by the workflow, so that it won't be published a second time on Telegram. You shouldn't edit this.
SendVideo: this node sends the message to Telegram. You need to set your bot's credentials (guide here), specify the Chat ID to send the message (how to get) and personalize the Text of your message.

This workflow works correctly only when it's activated. If you manually execute the workflow, it will send every time the latest videos.

Share Template

Implement complex processes faster with n8n

red icon yellow icon red icon yellow icon