Descarga automática de Reels de Instagram con almacenamiento en Google Drive y recordatorios por Telegram
Este es unFile Management, Miscellaneous, Multimodal AIflujo de automatización del dominio deautomatización que contiene 11 nodos.Utiliza principalmente nodos como If, Code, Webhook, Telegram, GoogleDrive. Automatizar la descarga de Reels de Instagram con almacenamiento en Google Drive y recordatorios de Telegram
- •Punto final de HTTP Webhook (n8n generará automáticamente)
- •Bot Token de Telegram
- •Credenciales de API de Google Drive
- •Pueden requerirse credenciales de autenticación para la API de destino
- •Credenciales de API de Google Sheets
Nodos utilizados (11)
{
"meta": {
"instanceId": "58a9e858b82757a75629d435ec0da2448ad5d9e906a9ce3b7dcbb64c90fda9fe",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "28a1d05e-2b90-4654-ad8b-b78e7403dabd",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
-624,
40
],
"webhookId": "21e2041e-0006-48c2-995d-344e41a9e689",
"parameters": {
"path": "n8n-template-insta-webhook",
"options": {},
"responseMode": "responseNode",
"multipleMethods": true
},
"typeVersion": 2
},
{
"id": "7d238158-1d62-4280-9c3d-ec0631ff9240",
"name": "If",
"type": "n8n-nodes-base.if",
"position": [
-400,
-128
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "a3aa0a1a-a5b2-4bf3-9a34-639ce39138f0",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.query['hub.mode'] }}",
"rightValue": "subscribe"
},
{
"id": "fcf913d6-363e-46fe-bcb7-b77cce5a8d88",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.query['hub.verify_token'] }}",
"rightValue": "youtube-automation-n8n-token"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "1a1629ed-5508-45b2-b139-6cb3650401bc",
"name": "Responder a Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
-176,
-128
],
"parameters": {
"options": {},
"respondWith": "text",
"responseBody": "={{ $json.query['hub.challenge'] }}"
},
"typeVersion": 1.4
},
{
"id": "3a7ebfa8-ac9e-4c05-a4dc-c1a8a7ccf89d",
"name": "If el remitente soy yo",
"type": "n8n-nodes-base.if",
"position": [
-400,
136
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "2d8fd5c8-8bcc-4be8-9f3d-66f64748b670",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.body.entry[0].messaging[0].sender.id }}",
"rightValue": "123456"
},
{
"id": "f0f4d497-2945-47fc-a193-8a4504b031cd",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.body.entry[0].messaging[0].recipient.id }}",
"rightValue": "123456"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "7e3690c5-bffa-4202-bf0e-0add7cc8de07",
"name": "Obtener Reel",
"type": "n8n-nodes-base.httpRequest",
"position": [
48,
64
],
"parameters": {
"url": "={{ $('If Sender is Me').first().json.body.entry[0].messaging[0].message.attachments[0].payload.url }}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "aa7d406d-6b21-4d4e-9671-9f592ad81880",
"name": "Actualizar hoja con el Reel",
"type": "n8n-nodes-base.googleSheets",
"onError": "continueRegularOutput",
"position": [
496,
136
],
"parameters": {
"columns": {
"value": {
"URL": "={{ $json.webViewLink }}",
"Status": "Downloaded",
"Timestamp": "={{ $('Get Timestamp Code').item.json.timestamp }}"
},
"schema": [
{
"id": "Timestamp",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Timestamp",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "URL",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "URL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Status",
"type": "string",
"display": true,
"required": false,
"displayName": "Status",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"URL"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "appendOrUpdate",
"sheetName": {
"__rl": true,
"mode": "list",
"value": 969588995,
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1ItzGn2Wrs7FCXTzGGxbCbhUElUR4Q78S7_OFSbWbBRk/edit#gid=969588995",
"cachedResultName": "Sheet"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1ItzGn2Wrs7FCXTzGGxbCbhUElUR4Q78S7_OFSbWbBRk",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1ItzGn2Wrs7FCXTzGGxbCbhUElUR4Q78S7_OFSbWbBRk/edit?usp=drivesdk",
"cachedResultName": "n8n Template | Instagram Reels Downloader"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "Gs7mfT220sbLQ7PS",
"name": "Google Sheets account"
}
},
"typeVersion": 4.6,
"alwaysOutputData": false
},
{
"id": "e41cd87b-220d-4db5-b2ad-92a55a9b1152",
"name": "Obtener código de marca de tiempo",
"type": "n8n-nodes-base.code",
"position": [
-176,
64
],
"parameters": {
"jsCode": "return {\n timestamp: new Date().toLocaleString(\"en-In\", {\n timeZone: \"asia/Kolkata\",\n }),\n id: new Date().toISOString()\n};\n"
},
"typeVersion": 2
},
{
"id": "db50d4e7-7010-4fe7-ad28-ce5e3d4eb93f",
"name": "Mensaje",
"type": "n8n-nodes-base.telegram",
"position": [
720,
144
],
"webhookId": "563be58f-8c89-40e0-9434-269f1c784384",
"parameters": {
"text": "={{ $json.Timestamp }}\n\nDownloaded Reel & Saved to Drive.\nURL - {{ $json.URL }}",
"chatId": "1459274827",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "6sgIoaU8LLxrB1Fx",
"name": "Youtube Automation Telegram Bot"
}
},
"typeVersion": 1.2
},
{
"id": "bf2293bc-4ed4-441c-84aa-523d7056d43a",
"name": "Subir archivo",
"type": "n8n-nodes-base.googleDrive",
"position": [
272,
136
],
"parameters": {
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive"
},
"options": {},
"folderId": {
"__rl": true,
"mode": "list",
"value": "1WcR_S-0wDexvEX16NmEH9SZFiJD8Ajk7",
"cachedResultUrl": "https://drive.google.com/drive/folders/1WcR_S-0wDexvEX16NmEH9SZFiJD8Ajk7",
"cachedResultName": "Trials"
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "gEA2i1PODjMLWDzO",
"name": "Google Drive account"
}
},
"typeVersion": 3
},
{
"id": "a670fed0-c9d0-4dc2-9603-7a84646ff16c",
"name": "Nota adhesiva",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1216,
-144
],
"parameters": {
"width": 528,
"height": 512,
"content": "## Insta Reel Auto Downloader – Key Steps\n#### Webhook Listener: \n- Receives events (set this path in Meta Dev).\n#### Challenge Validate: \n- Responds to webhook handshake with verify token.\n#### Sender Filter: \n- Processes only your own events/messages.\n#### Fetch Reel: \n- Downloads IG reel from message/attachment URL.\n#### Timestamp + ID: \n- Adds unique ISO timestamp per event.\n#### Drive Upload: \n- Saves video file to Google Drive.\n#### Sheet Log: \n- Records download info in Google Sheet.\n#### Telegram: \n- Sends download/link alert to you."
},
"typeVersion": 1
},
{
"id": "841103f4-de00-4a5e-b797-9fa4f0a45a68",
"name": "Nota adhesiva1",
"type": "n8n-nodes-base.stickyNote",
"position": [
272,
-160
],
"parameters": {
"width": 448,
"content": "## Setup Tips\n- Set Google Drive, Sheets, and Telegram creds in credentials.\n- Update webhook path and verify_token to match your app.\n- Make sure Sheet tab & folder IDs are correct.\n- Use this as a plug-and-play IG reel downloader + logger!"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"7d238158-1d62-4280-9c3d-ec0631ff9240": {
"main": [
[
{
"node": "1a1629ed-5508-45b2-b139-6cb3650401bc",
"type": "main",
"index": 0
}
]
]
},
"28a1d05e-2b90-4654-ad8b-b78e7403dabd": {
"main": [
[
{
"node": "7d238158-1d62-4280-9c3d-ec0631ff9240",
"type": "main",
"index": 0
}
],
[
{
"node": "3a7ebfa8-ac9e-4c05-a4dc-c1a8a7ccf89d",
"type": "main",
"index": 0
}
]
]
},
"7e3690c5-bffa-4202-bf0e-0add7cc8de07": {
"main": [
[
{
"node": "bf2293bc-4ed4-441c-84aa-523d7056d43a",
"type": "main",
"index": 0
}
]
]
},
"bf2293bc-4ed4-441c-84aa-523d7056d43a": {
"main": [
[
{
"node": "aa7d406d-6b21-4d4e-9671-9f592ad81880",
"type": "main",
"index": 0
},
{
"node": "3a7ebfa8-ac9e-4c05-a4dc-c1a8a7ccf89d",
"type": "main",
"index": 0
}
]
]
},
"3a7ebfa8-ac9e-4c05-a4dc-c1a8a7ccf89d": {
"main": [
[
{
"node": "e41cd87b-220d-4db5-b2ad-92a55a9b1152",
"type": "main",
"index": 0
}
]
]
},
"e41cd87b-220d-4db5-b2ad-92a55a9b1152": {
"main": [
[
{
"node": "7e3690c5-bffa-4202-bf0e-0add7cc8de07",
"type": "main",
"index": 0
}
]
]
},
"aa7d406d-6b21-4d4e-9671-9f592ad81880": {
"main": [
[
{
"node": "db50d4e7-7010-4fe7-ad28-ce5e3d4eb93f",
"type": "main",
"index": 0
}
]
]
}
}
}¿Cómo usar este flujo de trabajo?
Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.
¿En qué escenarios es adecuado este flujo de trabajo?
Intermedio - Gestión de archivos, Varios, IA Multimodal
¿Es de pago?
Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.
Flujos de trabajo relacionados recomendados
Aryan Shinde
@shindearyanCompartir este flujo de trabajo