Automatisierung des Instagram-Reel-Downloads mit Google Drive zum Speichern und Telegram-Benachrichtigungen

Fortgeschritten

Dies ist ein File Management, Miscellaneous, Multimodal AI-Bereich Automatisierungsworkflow mit 11 Nodes. Hauptsächlich werden If, Code, Webhook, Telegram, GoogleDrive und andere Nodes verwendet. Automatisierung von Instagram-Reel-Downloads mit Google Drive-Speicher und Telegram-Benachrichtigungen

Voraussetzungen
  • HTTP Webhook-Endpunkt (wird von n8n automatisch generiert)
  • Telegram Bot Token
  • Google Drive API-Anmeldedaten
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
  • Google Sheets API-Anmeldedaten
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "meta": {
    "instanceId": "58a9e858b82757a75629d435ec0da2448ad5d9e906a9ce3b7dcbb64c90fda9fe",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "28a1d05e-2b90-4654-ad8b-b78e7403dabd",
      "name": "Webhook-Trigger",
      "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": "Wenn",
      "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": "Auf Webhook-Trigger antworten",
      "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": "Wenn Absender ich bin",
      "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": "Reel abrufen",
      "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": "Tabelle mit Reel aktualisieren",
      "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": "Zeitstempel-Code abrufen",
      "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": "Nachricht",
      "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": "Datei hochladen",
      "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": "Haftnotiz",
      "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": "Haftnotiz1",
      "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": "Auf Webhook antworten",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "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
          }
        ]
      ]
    }
  }
}
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, Verschiedenes, 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.

Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes11
Kategorie3
Node-Typen9
Schwierigkeitsbeschreibung

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

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34