Files
n8n-workspace/real_debrid_magnet_link_webhook.json

650 lines
21 KiB
JSON

{
"updatedAt": "2026-01-17T22:21:45.220Z",
"createdAt": "2026-01-17T21:57:34.043Z",
"id": "XANdrZoMm68fZrSM6-HFR",
"name": "real_debrid_magnet_link_webhook",
"active": true,
"isArchived": false,
"nodes": [
{
"parameters": {
"method": "POST",
"url": "=https://api.real-debrid.com/rest/1.0/torrents/selectFiles/{{$json.id }}",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendBody": true,
"contentType": "multipart-form-data",
"bodyParameters": {
"parameters": [
{
"name": "files",
"value": "all"
}
]
},
"options": {
"response": {
"response": {
"neverError": true
}
}
}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.3,
"position": [
-880,
16
],
"id": "cd4f4340-43fd-40c9-94f4-4e85e164c7da",
"name": "HTTP Request1",
"credentials": {
"httpHeaderAuth": {
"id": "fwR02SKuQVKxOlO5",
"name": "HeaderAuth: RealDebrid"
}
}
},
{
"parameters": {
"httpMethod": "POST",
"path": "afd8825c-ba50-43c7-8f38-282f445d31d0h",
"authentication": "headerAuth",
"options": {}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2.1,
"position": [
-1296,
16
],
"id": "2f0f471e-1aa7-49e9-a801-8277fa71757d",
"name": "Webhook",
"webhookId": "afd8825c-ba50-43c7-8f38-282f445d31d0",
"credentials": {
"httpHeaderAuth": {
"id": "fwR02SKuQVKxOlO5",
"name": "HeaderAuth: RealDebrid"
}
}
},
{
"parameters": {
"url": "={{ $('addMagnet').item.json.uri }}",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"options": {
"response": {
"response": {
"neverError": true
}
}
}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.3,
"position": [
-448,
16
],
"id": "8477663a-046f-4b79-8452-9b3c679ba67d",
"name": "HTTP Request2",
"credentials": {
"httpHeaderAuth": {
"id": "YH9IBHKYnHdvtIxW",
"name": "RealDebrid API Call"
}
}
},
{
"parameters": {
"chatId": "=302560724",
"text": "=Fertig: {{ $json.filename }}",
"additionalFields": {
"appendAttribution": false,
"disable_web_page_preview": false,
"parse_mode": "HTML"
}
},
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
0,
0
],
"id": "633a4b1d-66c3-48d4-8168-75da94002a39",
"name": "Send a text message",
"webhookId": "6bb12551-6d47-40b7-8ffc-594e66295b8f",
"credentials": {
"telegramApi": {
"id": "8Xq6WZw99Bofym0I",
"name": "t.me/mydealzcmts_bot"
}
}
},
{
"parameters": {
"amount": 1,
"unit": "minutes"
},
"type": "n8n-nodes-base.wait",
"typeVersion": 1.1,
"position": [
-608,
16
],
"id": "2b1a21c8-e251-4a7e-a1d9-78f3bf2d59be",
"name": "Wait",
"webhookId": "14fd77c5-948a-44e0-af21-4a970847735e"
},
{
"parameters": {
"method": "POST",
"url": "https://api.real-debrid.com/rest/1.0/torrents/addMagnet",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendBody": true,
"contentType": "multipart-form-data",
"bodyParameters": {
"parameters": [
{
"name": "magnet",
"value": "={{ $json.body.url }}"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.3,
"position": [
-1088,
16
],
"id": "f6d35b3c-5341-4238-a32d-03102cd136b5",
"name": "addMagnet",
"credentials": {
"httpHeaderAuth": {
"id": "YH9IBHKYnHdvtIxW",
"name": "RealDebrid API Call"
}
}
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "384c02e3-3bea-4a51-8d64-27644f33b801",
"leftValue": "={{ $json.progress }}",
"rightValue": 100,
"operator": {
"type": "number",
"operation": "equals"
}
}
],
"combinator": "and"
},
"options": {}
},
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
-240,
16
],
"id": "3d085bbf-f990-4cfd-9de3-96046fa0555a",
"name": "If"
},
{
"parameters": {
"chatId": "=288081595",
"text": "=Fertig: {{ $json.filename }}",
"additionalFields": {
"appendAttribution": false,
"disable_web_page_preview": false,
"parse_mode": "HTML"
}
},
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
0,
160
],
"id": "5988bcff-0aa2-488d-bddc-d450ff5fec5b",
"name": "Send a text message1",
"webhookId": "6bb12551-6d47-40b7-8ffc-594e66295b8f",
"credentials": {
"telegramApi": {
"id": "8Xq6WZw99Bofym0I",
"name": "t.me/mydealzcmts_bot"
}
}
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "addMagnet",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request2": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"Wait": {
"main": [
[
{
"node": "HTTP Request2",
"type": "main",
"index": 0
}
]
]
},
"addMagnet": {
"main": [
[
{
"node": "HTTP Request1",
"type": "main",
"index": 0
}
]
]
},
"If": {
"main": [
[
{
"node": "Send a text message",
"type": "main",
"index": 0
},
{
"node": "Send a text message1",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request1": {
"main": [
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1",
"availableInMCP": false
},
"staticData": null,
"meta": {
"templateCredsSetupCompleted": true
},
"pinData": {},
"versionId": "d9c5ab4b-fba6-4e36-9808-81f87ac6a84c",
"activeVersionId": "d9c5ab4b-fba6-4e36-9808-81f87ac6a84c",
"triggerCount": 1,
"shared": [
{
"updatedAt": "2026-01-17T21:57:34.046Z",
"createdAt": "2026-01-17T21:57:34.046Z",
"role": "workflow:owner",
"workflowId": "XANdrZoMm68fZrSM6-HFR",
"projectId": "cSAaWNJydnksD5EB"
}
],
"activeVersion": {
"updatedAt": "2026-01-17T22:21:53.000Z",
"createdAt": "2026-01-17T22:21:45.222Z",
"versionId": "d9c5ab4b-fba6-4e36-9808-81f87ac6a84c",
"workflowId": "XANdrZoMm68fZrSM6-HFR",
"nodes": [
{
"parameters": {
"method": "POST",
"url": "=https://api.real-debrid.com/rest/1.0/torrents/selectFiles/{{$json.id }}",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendBody": true,
"contentType": "multipart-form-data",
"bodyParameters": {
"parameters": [
{
"name": "files",
"value": "all"
}
]
},
"options": {
"response": {
"response": {
"neverError": true
}
}
}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.3,
"position": [
-880,
16
],
"id": "cd4f4340-43fd-40c9-94f4-4e85e164c7da",
"name": "HTTP Request1",
"credentials": {
"httpHeaderAuth": {
"id": "fwR02SKuQVKxOlO5",
"name": "HeaderAuth: RealDebrid"
}
}
},
{
"parameters": {
"httpMethod": "POST",
"path": "afd8825c-ba50-43c7-8f38-282f445d31d0h",
"authentication": "headerAuth",
"options": {}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2.1,
"position": [
-1296,
16
],
"id": "2f0f471e-1aa7-49e9-a801-8277fa71757d",
"name": "Webhook",
"webhookId": "afd8825c-ba50-43c7-8f38-282f445d31d0",
"credentials": {
"httpHeaderAuth": {
"id": "fwR02SKuQVKxOlO5",
"name": "HeaderAuth: RealDebrid"
}
}
},
{
"parameters": {
"url": "={{ $('addMagnet').item.json.uri }}",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"options": {
"response": {
"response": {
"neverError": true
}
}
}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.3,
"position": [
-448,
16
],
"id": "8477663a-046f-4b79-8452-9b3c679ba67d",
"name": "HTTP Request2",
"credentials": {
"httpHeaderAuth": {
"id": "YH9IBHKYnHdvtIxW",
"name": "RealDebrid API Call"
}
}
},
{
"parameters": {
"chatId": "=302560724",
"text": "=Fertig: {{ $json.filename }}",
"additionalFields": {
"appendAttribution": false,
"disable_web_page_preview": false,
"parse_mode": "HTML"
}
},
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
0,
0
],
"id": "633a4b1d-66c3-48d4-8168-75da94002a39",
"name": "Send a text message",
"webhookId": "6bb12551-6d47-40b7-8ffc-594e66295b8f",
"credentials": {
"telegramApi": {
"id": "8Xq6WZw99Bofym0I",
"name": "t.me/mydealzcmts_bot"
}
}
},
{
"parameters": {
"amount": 1,
"unit": "minutes"
},
"type": "n8n-nodes-base.wait",
"typeVersion": 1.1,
"position": [
-608,
16
],
"id": "2b1a21c8-e251-4a7e-a1d9-78f3bf2d59be",
"name": "Wait",
"webhookId": "14fd77c5-948a-44e0-af21-4a970847735e"
},
{
"parameters": {
"method": "POST",
"url": "https://api.real-debrid.com/rest/1.0/torrents/addMagnet",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendBody": true,
"contentType": "multipart-form-data",
"bodyParameters": {
"parameters": [
{
"name": "magnet",
"value": "={{ $json.body.url }}"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.3,
"position": [
-1088,
16
],
"id": "f6d35b3c-5341-4238-a32d-03102cd136b5",
"name": "addMagnet",
"credentials": {
"httpHeaderAuth": {
"id": "YH9IBHKYnHdvtIxW",
"name": "RealDebrid API Call"
}
}
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "384c02e3-3bea-4a51-8d64-27644f33b801",
"leftValue": "={{ $json.progress }}",
"rightValue": 100,
"operator": {
"type": "number",
"operation": "equals"
}
}
],
"combinator": "and"
},
"options": {}
},
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
-240,
16
],
"id": "3d085bbf-f990-4cfd-9de3-96046fa0555a",
"name": "If"
},
{
"parameters": {
"chatId": "=288081595",
"text": "=Fertig: {{ $json.filename }}",
"additionalFields": {
"appendAttribution": false,
"disable_web_page_preview": false,
"parse_mode": "HTML"
}
},
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
0,
160
],
"id": "5988bcff-0aa2-488d-bddc-d450ff5fec5b",
"name": "Send a text message1",
"webhookId": "6bb12551-6d47-40b7-8ffc-594e66295b8f",
"credentials": {
"telegramApi": {
"id": "8Xq6WZw99Bofym0I",
"name": "t.me/mydealzcmts_bot"
}
}
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "addMagnet",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request2": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"Wait": {
"main": [
[
{
"node": "HTTP Request2",
"type": "main",
"index": 0
}
]
]
},
"addMagnet": {
"main": [
[
{
"node": "HTTP Request1",
"type": "main",
"index": 0
}
]
]
},
"If": {
"main": [
[
{
"node": "Send a text message",
"type": "main",
"index": 0
},
{
"node": "Send a text message1",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request1": {
"main": [
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
}
},
"authors": "Prasanna Ranjan",
"name": "Version d9c5ab4b",
"description": "",
"autosaved": false
},
"tags": []
}