{ "name": "Backup Monitor — Receiver", "nodes": [ { "parameters": { "httpMethod": "POST", "path": "backup-notify", "authentication": "headerAuth", "responseMode": "responseNode", "options": {} }, "id": "700da0a0-c2a5-4b9b-839a-10b7d0f37749", "name": "Webhook", "type": "n8n-nodes-base.webhook", "typeVersion": 2, "position": [ 240, 300 ], "webhookId": "bdb7bf40-9f87-4483-b58e-5f2f6fa0c8a5", "credentials": { "httpHeaderAuth": { "id": "qOYMJr5ENhFJZNDe", "name": "backup-monitor-token" } } }, { "parameters": { "resource": "row", "operation": "insert", "dataTableId": { "__rl": true, "mode": "list", "value": "cWeJhlybF9eV43DB", "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 }}" } } }, "id": "3d251557-1841-466b-9ea6-895af4b6731f", "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 } }, "id": "6448fef7-dd0f-4508-b896-4bd7c83b24bf", "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": [] }