Azure Logic Apps — Notify your Youtube channel updates to your Telegram Group

Rajesh Rajamani
CloudForDummies
Published in
3 min readDec 1, 2023

--

This is part of my Logic Apps collection of articles.

Logic Apps is a no-code workflow offered by Microsoft Azure. The most cool thing about Logic Apps is the ability to develop workflows with connectors to achieve many tasks that otherwise would have required a lot of lines of code .

The workflows can be both stateless and stateful . More on this for another article.

Today’s focus is to understand the simplicity of Logic Apps in enabling an integration for two most popular cloud services Telegram and Youtube.

What to expect in this article ?

A bare minimum working setup with default settings. However there is a huge scope for customization if you wish to apply the thought process to your use case.

What does our Logic App do ?

  1. It watches for a particular channel in Youtube for any new updates ( such as a new video getting uploaded )
  2. Notifying about the video with a link to the video on a dedicated Telegram channel.

What do we need for this ?

  1. Obviously a free Azure Account .
  2. Your own telegram account to setup the demo.
  3. Any youtube channel that you have subscribed to and want to broadcast to your telegram channel.

Why Telegram ?

  1. Telegram has a quite a bit of free features to demonstrate automated messaging capabilities .
  2. To achieve the same with WhatsApp or a similar platform would have been difficult. ( Telegram setup for this article took just 1 minute to create a bot , create a channel and make the bot an admin to the channel )

Details you will not find here .

Steps needed for you to create a telegram bot , channel . But if you are curious check out my article from the past .

Video :

Telegram Notification:

The video that I created for this process was uploaded by me and as soon as the trigger was detected , the telegram channel received a notification via Logic App.

Observe that the user is a bot user.

Clean-up:

If you observed the integration setup for YouTube , it was a schedule of 1 minute.

What does this mean ? The logic app will invoke every minute to poll the youtube account for any new update and if a new video is found , it will send a notification.

It is not sensible to setup the frequency to be so quick as you are not going to upload any videos like that. May be setting up the frequency to once a day makes a lot of sense.

As the Logic App was created in the most basic tier there won’t be any significant costs . However to avoid any surprises , please either delete the logic app or atleast disable it .

Where to do this ?

What next ?

Check out other triggers around Youtube with Logic Apps

If you want to checkout the Telegram Channel I created for this demo .

Note : I may consider deleting this channel in the future . So if you are reading this and unable to find the channel don’t panic.

--

--