2026-05-07 15:24:16 +00:00
|
|
|
{
|
|
|
|
|
"name": "Backup Monitor — Receiver",
|
|
|
|
|
"nodes": [
|
|
|
|
|
{
|
|
|
|
|
"parameters": {
|
|
|
|
|
"httpMethod": "POST",
|
|
|
|
|
"path": "backup-notify",
|
|
|
|
|
"authentication": "headerAuth",
|
|
|
|
|
"responseMode": "responseNode",
|
|
|
|
|
"options": {}
|
|
|
|
|
},
|
2026-05-07 17:45:28 +00:00
|
|
|
"id": "ccf460e0-6fd7-4e1f-b008-24cd45c87d8d",
|
2026-05-07 15:24:16 +00:00
|
|
|
"name": "Webhook",
|
|
|
|
|
"type": "n8n-nodes-base.webhook",
|
|
|
|
|
"typeVersion": 2,
|
|
|
|
|
"position": [
|
|
|
|
|
240,
|
|
|
|
|
300
|
|
|
|
|
],
|
2026-05-07 17:45:28 +00:00
|
|
|
"webhookId": "425dfd98-23d8-4237-819b-53ee2fe50e57",
|
2026-05-07 15:24:16 +00:00
|
|
|
"credentials": {
|
|
|
|
|
"httpHeaderAuth": {
|
2026-05-07 16:30:25 +00:00
|
|
|
"id": "qOYMJr5ENhFJZNDe",
|
2026-05-07 15:24:16 +00:00
|
|
|
"name": "backup-monitor-token"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"parameters": {
|
|
|
|
|
"resource": "row",
|
|
|
|
|
"operation": "insert",
|
|
|
|
|
"dataTableId": {
|
|
|
|
|
"__rl": true,
|
|
|
|
|
"mode": "list",
|
2026-05-07 16:30:25 +00:00
|
|
|
"value": "cWeJhlybF9eV43DB",
|
2026-05-07 15:24:16 +00:00
|
|
|
"cachedResultName": "backup_runs"
|
|
|
|
|
},
|
|
|
|
|
"columns": {
|
|
|
|
|
"mappingMode": "defineBelow",
|
|
|
|
|
"value": {
|
|
|
|
|
"timestamp": "={{ $json.body.timestamp }}",
|
|
|
|
|
"machine": "={{ $json.body.machine }}",
|
|
|
|
|
"destination": "={{ $json.body.destination }}",
|
|
|
|
|
"status": "={{ $json.body.status }}",
|
|
|
|
|
"bytes_transferred": "={{ $json.body.bytes_transferred }}",
|
|
|
|
|
"snapshot_id": "={{ $json.body.snapshot_id }}",
|
|
|
|
|
"log_path": "={{ $json.body.log_path }}",
|
|
|
|
|
"notes": "={{ $json.body.notes }}"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2026-05-07 17:45:28 +00:00
|
|
|
"id": "f9ca5d27-b7fe-40cc-a6ae-3d39102e7255",
|
2026-05-07 15:24:16 +00:00
|
|
|
"name": "Insert to backup_runs",
|
|
|
|
|
"type": "n8n-nodes-base.dataTable",
|
|
|
|
|
"typeVersion": 1,
|
|
|
|
|
"position": [
|
|
|
|
|
520,
|
|
|
|
|
300
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"parameters": {
|
|
|
|
|
"respondWith": "json",
|
|
|
|
|
"responseBody": "={{ JSON.stringify({ ok: true }) }}",
|
|
|
|
|
"options": {
|
|
|
|
|
"responseCode": 200
|
|
|
|
|
}
|
|
|
|
|
},
|
2026-05-07 17:45:28 +00:00
|
|
|
"id": "1c253ed9-fed5-4f45-a8f2-db81c731cd6f",
|
2026-05-07 15:24:16 +00:00
|
|
|
"name": "Respond 200",
|
|
|
|
|
"type": "n8n-nodes-base.respondToWebhook",
|
|
|
|
|
"typeVersion": 1.1,
|
|
|
|
|
"position": [
|
|
|
|
|
800,
|
|
|
|
|
300
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"connections": {
|
|
|
|
|
"Webhook": {
|
|
|
|
|
"main": [
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"node": "Insert to backup_runs",
|
|
|
|
|
"type": "main",
|
|
|
|
|
"index": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"Insert to backup_runs": {
|
|
|
|
|
"main": [
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"node": "Respond 200",
|
|
|
|
|
"type": "main",
|
|
|
|
|
"index": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"active": false,
|
|
|
|
|
"settings": {
|
|
|
|
|
"executionOrder": "v1"
|
|
|
|
|
},
|
|
|
|
|
"pinData": {},
|
|
|
|
|
"meta": {
|
|
|
|
|
"templateCredsSetupCompleted": true
|
|
|
|
|
},
|
|
|
|
|
"tags": []
|
|
|
|
|
}
|