Automatisiertes Herunterladen von Instagram Reels und Videos über einen Telegram-Bot – Automatisiert mit n8n

Fortgeschritten

Dies ist ein File Management, Multimodal AI-Bereich Automatisierungsworkflow mit 11 Nodes. Hauptsächlich werden Set, Wait, Telegram, HttpRequest, TelegramTrigger und andere Nodes verwendet. Instagram-Reels und Videos über einen Telegram-Bot herunterladen

Voraussetzungen
  • Telegram Bot Token
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "id": "uDxqFLK8VqISlWYi",
  "meta": {
    "instanceId": "5f1d044fa23a5710e3ad8c8ced8193dff576e0e1920d0390510f41e9622a2d1c"
  },
  "name": "Instagram Reels & Video Downloader via Telegram Bot – Automated with n8n",
  "tags": [],
  "nodes": [
    {
      "id": "0bbb310f-047c-4d8f-bfb4-a92e9863d8e3",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        780,
        100
      ],
      "webhookId": "a8cd8cc1-ce39-4adb-a389-cbca39849471",
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "ZVuQcGBTkHnq5Uyx",
          "name": "Instagram Downloader"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "8a2f4680-aa3c-4375-bb13-c4126babdedd",
      "name": "Notiz2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        640,
        40
      ],
      "parameters": {
        "color": 4,
        "width": 980,
        "height": 480,
        "content": "## Instagram Downloader"
      },
      "typeVersion": 1
    },
    {
      "id": "ff15f098-58aa-42dc-88b2-9e7646f9664a",
      "name": "Notiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        660,
        -180
      ],
      "parameters": {
        "color": 3,
        "width": 540,
        "height": 200,
        "content": "# Description\n\nThe Instagram Downloader workflow allows users to download Instagram videos or Reels directly through a Telegram Bot.\nSimply send an Instagram link to the bot, and it will process the link via a third-party API to fetch the highest quality video, then send it back to your Telegram chat."
      },
      "typeVersion": 1
    },
    {
      "id": "ad39b38e-863e-4785-a8b3-2dae46523171",
      "name": "Notiz1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1640,
        40
      ],
      "parameters": {
        "color": 5,
        "width": 560,
        "height": 500,
        "content": "## How It Works\n\n1. Telegram Trigger\nThe workflow starts when the bot receives an Instagram link from a user.\n\n2. HTTP Request – URL Download\nThe link is sent to the API https://www.mediadl.app/api/download to retrieve video metadata.\n\n3. Delay\nWaits a few seconds to ensure the API response is ready.\n\n4. Filtering URL Only\nExtracts the direct video file URL from the API result.\n\n5. Delay\nAdds a short pause to prevent connection errors during download.\n\n6. HTTP Request – Proxy Download\nDownloads the MP4 video file directly from the filtered URL.\n\n7. Send Video to Telegram\nSends the downloaded video back to the user in Telegram."
      },
      "typeVersion": 1
    },
    {
      "id": "5094ca0a-d66c-4c88-a70e-623c24a0d2b8",
      "name": "Notiz3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -60,
        40
      ],
      "parameters": {
        "color": 3,
        "width": 680,
        "height": 520,
        "content": "## How to Set Up\n\n1. Create & Configure a Telegram Bot\nOpen Telegram, search for BotFather.\nSend /newbot → choose a bot name & username.\nCopy the provided Bot Token.\n\n2. Prepare Your n8n Environment\nLog in to n8n (self-hosted or n8n Cloud).\nCreate Telegram API Credentials using your Bot Token.\n\n3. Import the Workflow\nIn n8n, click Import and select Instagram_Downloader.json.\n\n4. Configure Telegram Nodes\nConnect your Telegram API credentials in the Telegram Trigger and Send Video nodes.\n\n5. Configure HTTP Request Nodes\nEnsure the URL and headers in URL Download and Download nodes are correct (already pre-configured).\nSet responseFormat to file in the final download node.\n\n6. Activate & Test\nToggle Activate.\nSend an Instagram link to your bot to test."
      },
      "typeVersion": 1
    },
    {
      "id": "e3f39d0d-ca89-4315-b5c3-a0cf244e0db9",
      "name": "Download",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1000,
        340
      ],
      "parameters": {
        "url": "https://mediadl.app/api/proxy-download",
        "options": {},
        "sendQuery": true,
        "sendHeaders": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "fileUrl",
              "value": "={{ $json.medias[0].url }}"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Accept",
              "value": "*/*"
            },
            {
              "name": "Accept-Language",
              "value": "en-US,en;q=0.9,id;q=0.8,da;q=0.7"
            },
            {
              "name": "Connection",
              "value": "keep-alive"
            },
            {
              "name": "Referer",
              "value": "https://mediadl.app/in?gad_source=1&gad_campaignid=22707685611&gbraid=0AAAAA_JALYirerzrfP-1sYYdbTB1Ig5si&gclid=CjwKCAjwwNbEBhBpEiwAFYLtGMgSfRH09djRgW12vplqCk4gfzg34u365DL6mY7MMNPyn5flg8pRjRoCyLIQAvD_BwE"
            },
            {
              "name": "Sec-Fetch-Dest",
              "value": "empty"
            },
            {
              "name": "Sec-Fetch-Mode",
              "value": "cors"
            },
            {
              "name": "Sec-Fetch-Site",
              "value": "same-origin"
            },
            {
              "name": "User-Agent",
              "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36"
            },
            {
              "name": "sec-ch-ua",
              "value": "\"Not;A=Brand\";v=\"99\", \"Google Chrome\";v=\"139\", \"Chromium\";v=\"139\""
            },
            {
              "name": "sec-ch-ua-mobile",
              "value": "?0"
            },
            {
              "name": "sec-ch-ua-platform",
              "value": "\"Windows\""
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "19d3ee22-fd1e-4117-b2ef-aaa8a3517c1f",
      "name": "An Telegram Video gesendet",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1200,
        340
      ],
      "webhookId": "ee4a87d1-b5b4-4015-a548-ae05ccbcf816",
      "parameters": {
        "chatId": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
        "operation": "sendVideo",
        "binaryData": true,
        "additionalFields": {
          "fileName": "={{ $('Delay 3S').item.json.title }}.mp4"
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "ZVuQcGBTkHnq5Uyx",
          "name": "Instagram Downloader"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "b055ad08-6df0-44b7-8174-789f6be48b24",
      "name": "Filterung nur für URLs",
      "type": "n8n-nodes-base.set",
      "position": [
        1420,
        100
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "cc8edbe6-e9c4-41ca-8f3d-c2a2538b07ae",
              "name": "medias[0].url",
              "type": "string",
              "value": "={{ $json.medias[0].url }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "b91deb65-fbcc-4fa3-bef2-2fd2c4de8583",
      "name": "Verzögerung 3S",
      "type": "n8n-nodes-base.wait",
      "position": [
        1200,
        100
      ],
      "webhookId": "b2f58186-407f-423b-abfb-238845205460",
      "parameters": {
        "amount": 3
      },
      "typeVersion": 1.1
    },
    {
      "id": "3eda9853-3b20-4072-8361-8930b0a9b861",
      "name": "Verzögerung 3S1",
      "type": "n8n-nodes-base.wait",
      "position": [
        800,
        340
      ],
      "webhookId": "64a268ce-677e-4aab-8c26-c0bb1d06ebf7",
      "parameters": {
        "amount": 3
      },
      "typeVersion": 1.1
    },
    {
      "id": "875e46f0-d7a9-4610-ba72-c5bc4152b91a",
      "name": "URL-Download",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1000,
        100
      ],
      "parameters": {
        "url": "https://www.mediadl.app/api/download",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "url",
              "value": "={{ $json.message.text }}"
            },
            {
              "name": "format",
              "value": "bestvideo+bestaudio/best"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Accept",
              "value": "*/*"
            },
            {
              "name": "Accept-Language",
              "value": "en-US,en;q=0.9,id;q=0.8,da;q=0.7"
            },
            {
              "name": "Connection",
              "value": "keep-alive"
            },
            {
              "name": "Origin",
              "value": "https://www.mediadl.app"
            },
            {
              "name": "Referer",
              "value": "https://www.mediadl.app/en"
            },
            {
              "name": "Sec-Fetch-Dest",
              "value": "empty"
            },
            {
              "name": "Sec-Fetch-Mode",
              "value": "cors"
            },
            {
              "name": "Sec-Fetch-Site",
              "value": "same-origin"
            },
            {
              "name": "User-Agent",
              "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36"
            },
            {
              "name": "sec-ch-ua",
              "value": "\"Not;A=Brand\";v=\"99\", \"Google Chrome\";v=\"139\", \"Chromium\";v=\"139\""
            },
            {
              "name": "sec-ch-ua-mobile",
              "value": "?0"
            },
            {
              "name": "sec-ch-ua-platform",
              "value": "\"Windows\""
            }
          ]
        }
      },
      "notesInFlow": true,
      "typeVersion": 4.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "c8ad54e7-88ce-4061-a260-01d57dcb2a65",
  "connections": {
    "b91deb65-fbcc-4fa3-bef2-2fd2c4de8583": {
      "main": [
        [
          {
            "node": "b055ad08-6df0-44b7-8174-789f6be48b24",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e3f39d0d-ca89-4315-b5c3-a0cf244e0db9": {
      "main": [
        [
          {
            "node": "19d3ee22-fd1e-4117-b2ef-aaa8a3517c1f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3eda9853-3b20-4072-8361-8930b0a9b861": {
      "main": [
        [
          {
            "node": "e3f39d0d-ca89-4315-b5c3-a0cf244e0db9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "875e46f0-d7a9-4610-ba72-c5bc4152b91a": {
      "main": [
        [
          {
            "node": "b91deb65-fbcc-4fa3-bef2-2fd2c4de8583",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0bbb310f-047c-4d8f-bfb4-a92e9863d8e3": {
      "main": [
        [
          {
            "node": "875e46f0-d7a9-4610-ba72-c5bc4152b91a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b055ad08-6df0-44b7-8174-789f6be48b24": {
      "main": [
        [
          {
            "node": "3eda9853-3b20-4072-8361-8930b0a9b861",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Fortgeschritten - Dateiverwaltung, Multimodales KI

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Verwandte Workflows

Automatisierter TikTok-Video-Download-Bot (ohne Wasserzeichen) mit n8n und Telegram
Automatisierter TikTok-Videodownload-Roboter mit n8n und Telegram (ohne Wasserzeichen)
Set
Wait
Telegram
+
Set
Wait
Telegram
11 NodesGarri
Verschiedenes
Lade Reddits Memes automatisch in Google Drive herunter – mit Duplikatenerkennung und Telegram-Reminder
Automatisches Herunterladen von Reddit-Bildchen in Google Drive mit Duplikatenerkennung und Telegram-Benachrichtigung
If
Set
Code
+
If
Set
Code
20 NodesVitorio Magalhães
Dateiverwaltung
Viraler TikTok-Video-Generator: Automatische Erstellung von UGC-Videos mit VEED-Avatar
Automatisches Erstellen von TikTok-Videos mit VEED.io AI Avatar, ElevenLabs und GPT-4
Set
Code
Wait
+
Set
Code
Wait
35 NodesDr. Firas
Content-Erstellung
Lade soziale MedienVideos automatisch über einen Telegram-Bot und die MediaDL-Integration herunter
Automatisches Herunterladen von Social-Media-Videos über Telegram-Bot und MediaDL-Integration
Set
Wait
Telegram
+
Set
Wait
Telegram
11 NodesMeak
Content-Erstellung
💥 Automatisierung von Videoanzeigen mit NanoBanana, Seedream 4, ChatGPT Image und Veo 3 - VIDE
Automatisierung und Veröffentlichung von Video-Werbekampagnen mit KI (NanoBanana, Seedream, GPT-4o, Veo 3)
Set
Code
Wait
+
Set
Code
Wait
63 NodesDr. Firas
Content-Erstellung
💥 HeyGen II - Clone Me - From Idea to Launch: GPT-5 Video Automation für YouTube, TikTok und Instagram
Automatisiere die Video-Erstellung mit Spracheingabe durch HeyGen, GPT-5 und Social-Media-Publishing-Automatisierung
If
Set
Wait
+
If
Set
Wait
41 NodesDr. Firas
Content-Erstellung
Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes11
Kategorie2
Node-Typen6
Schwierigkeitsbeschreibung

Für erfahrene Benutzer, mittelkomplexe Workflows mit 6-15 Nodes

Autor
Garri

Garri

@garri

Security Analyst with expertise in penetration testing, threat detection, and AI-driven automation. Experienced in securing systems, identifying vulnerabilities, and building proactive security solutions. Focused on leveraging technological innovation to create safe and efficient digital environments.

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34