通过Telegram Bot自动下载Instagram Reels和视频 – 使用n8n实现自动化
中级
这是一个File Management, Multimodal AI领域的自动化工作流,包含 11 个节点。主要使用 Set, Wait, Telegram, HttpRequest, TelegramTrigger 等节点。 使用Telegram机器人下载Instagram Reels和视频
前置要求
- •Telegram Bot Token
- •可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "uDxqFLK8VqISlWYi",
"meta": {
"instanceId": "5f1d044fa23a5710e3ad8c8ced8193dff576e0e1920d0390510f41e9622a2d1c"
},
"name": "通过 Telegram Bot 自动下载 Instagram Reels 和视频 – 使用 n8n 实现自动化",
"tags": [],
"nodes": [
{
"id": "0bbb310f-047c-4d8f-bfb4-a92e9863d8e3",
"name": "Telegram 触发器",
"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": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
640,
40
],
"parameters": {
"color": 4,
"width": 980,
"height": 480,
"content": "## Instagram 下载器"
},
"typeVersion": 1
},
{
"id": "ff15f098-58aa-42dc-88b2-9e7646f9664a",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
660,
-180
],
"parameters": {
"color": 3,
"width": 540,
"height": 200,
"content": "# 描述"
},
"typeVersion": 1
},
{
"id": "ad39b38e-863e-4785-a8b3-2dae46523171",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
1640,
40
],
"parameters": {
"color": 5,
"width": 560,
"height": 500,
"content": "## 工作原理"
},
"typeVersion": 1
},
{
"id": "5094ca0a-d66c-4c88-a70e-623c24a0d2b8",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
40
],
"parameters": {
"color": 3,
"width": 680,
"height": 520,
"content": "## 如何设置"
},
"typeVersion": 1
},
{
"id": "e3f39d0d-ca89-4315-b5c3-a0cf244e0db9",
"name": "下载",
"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": "发送到 Telegram 视频",
"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": "仅过滤 URL",
"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": "延迟 3 秒",
"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": "延迟 3 秒1",
"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 下载",
"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": {
"Delay 3S": {
"main": [
[
{
"node": "Filtering URL Only",
"type": "main",
"index": 0
}
]
]
},
"Download": {
"main": [
[
{
"node": "Sent To Telegram Video",
"type": "main",
"index": 0
}
]
]
},
"Delay 3S1": {
"main": [
[
{
"node": "Download",
"type": "main",
"index": 0
}
]
]
},
"URL Download": {
"main": [
[
{
"node": "Delay 3S",
"type": "main",
"index": 0
}
]
]
},
"Telegram Trigger": {
"main": [
[
{
"node": "URL Download",
"type": "main",
"index": 0
}
]
]
},
"Filtering URL Only": {
"main": [
[
{
"node": "Delay 3S1",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 文件管理, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
自动化 TikTok 视频下载机器人(无水印)使用 n8n 和 Telegram
使用n8n和Telegram的自动化TikTok视频下载机器人(无水印)
Set
Wait
Telegram
+3
11 节点Garri
杂项
自动下载 Reddit 表情包到 Google Drive,含重复检测和 Telegram 提醒
自动下载 Reddit 表情包到 Google Drive,包含重复检测和 Telegram 提醒
If
Set
Code
+10
20 节点Vitorio Magalhães
文件管理
病毒式 TikTok 视频生成器:使用 VEED 虚拟形象自动创建 UGC 视频
使用 VEED.io AI 虚拟形象、ElevenLabs 和 GPT-4 自动创建 TikTok 视频
Set
Code
Wait
+9
35 节点Dr. Firas
内容创作
使用 Telegram 机器人和 MediaDL 集成自动下载社交媒体视频
使用 Telegram 机器人和 MediaDL 集成自动下载社交媒体视频
Set
Wait
Telegram
+3
11 节点Meak
内容创作
💥 使用NanoBanana、Seedream 4、ChatGPT Image和Veo 3自动化视频广告 - VIDE
使用AI(NanoBanana、Seedream、GPT-4o、Veo 3)自动化和发布视频广告活动
Set
Code
Wait
+16
63 节点Dr. Firas
内容创作
💥 HeyGen II - 克隆我 - 从想法到发布:适用于 YouTube、TikTok 和 Instagram 的 GPT-5 视频自动化 - 视频
使用 HeyGen、GPT-5 和社交发布自动化语音输入视频创作
If
Set
Wait
+13
41 节点Dr. Firas
内容创作
工作流信息
难度等级
中级
节点数量11
分类2
节点类型6
作者
Garri
@garriSecurity 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.
外部链接
在 n8n.io 查看 →
分享此工作流