Latenode

Automate Instagram reel and video downloads within Telegram

This template watches a Telegram bot for Instagram reel or video links, asks a media download API for the file, and sends the video back in the same chat.

Put the bot token on the Telegram connection. Put the downloader API key on the HTTP request node. JavaScript pulls the Instagram URL out of the message text.

Updated Sep 16, 2026Est. run: 8sEst. cost: $0.0005
How Latenode estimates time and cost

Latenode bills workflow runtime in CPU seconds. The first 10,000 CPU seconds are free each month, then usage follows pay-as-you-go CPU-second pricing. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how CPU seconds work →

Workflow preview

What this template does

  • Returns Instagram reels inside Telegram without leaving the chat
  • Starts when the bot receives a reel or video link
  • Downloads the file through an HTTP request
  • Keeps the downloader API key on the HTTP request node

How it works

1
Trigger

Listen for Telegram messages

The scenario starts when the bot receives a message that includes an Instagram reel or video link.

2
Logic

Pull the Instagram URL

JavaScript extracts the reel or video link from the message text.

3
Action

Download the video

An HTTP request calls your media download API and returns the video file. Put that API key on the HTTP request node.

4
Action

Send the video in Telegram

Telegram sends the file back to the same chat.

Setup guide

1

Connect Telegram

Add a Telegram connection with your bot token. Add the bot to the chat that will send Instagram links.

2

Set the trigger

Add a Telegram trigger for new updates. Keep text messages that contain an Instagram URL.

3

Call the download API

In JavaScript, extract the Instagram URL. Add an HTTP request to your media download API and store that API key on the HTTP node.

4

Send the video back

Send the downloaded file with Telegram as a video. Map the chat id from the trigger. Send a test reel link and confirm the file returns in chat.

Requirements

A Telegram bot token stored on the Telegram connection
A media download API that accepts an Instagram reel or video URL
That API key stored on the HTTP request node

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.