{ "name": "Backup Monitor — Receiver", "nodes": [ { "parameters": { "httpMethod": "POST", "path": "backup-notify", "authentication": "headerAuth", "responseMode": "responseNode", "options": {} }, "id": "ccf460e0-6fd7-4e1f-b008-24cd45c87d8d", "name": "Webhook", "type": "n8n-nodes-base.webhook", "typeVersion": 2, "position": [ 240, 300 ], "webhookId": "425dfd98-23d8-4237-819b-53ee2fe50e57", "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": "f9ca5d27-b7fe-40cc-a6ae-3d39102e7255", "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": "1c253ed9-fed5-4f45-a8f2-db81c731cd6f", "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": [] }