{ "name": "robeing-scheduled-healthcheck-alert", "nodes": [ { "parameters": { "rule": { "cronExpression": "*/10 * * * *" } }, "id": "sched-health-001", "name": "Schedule Trigger", "type": "n8n-nodes-base.scheduleTrigger", "typeVersion": 1, "position": [220, 220] }, { "parameters": { "method": "GET", "url": "=http://192.168.219.52:8001/health", "options": { "response": { "response": { "fullResponse": true } } } }, "id": "sched-health-002", "name": "Check rb8001 Health", "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.2, "position": [470, 220] }, { "parameters": { "conditions": { "number": [ { "value1": "={{ $json.statusCode }}", "operation": "notEqual", "value2": 200 } ] } }, "id": "sched-health-003", "name": "Health Failed?", "type": "n8n-nodes-base.if", "typeVersion": 2, "position": [700, 220] }, { "parameters": { "resource": "message", "operation": "post", "channel": "=C_ALERTS", "text": "=rb8001 health check failed. status={{$json.statusCode}}", "otherOptions": {} }, "id": "sched-health-004", "name": "Send Alert", "type": "n8n-nodes-base.slack", "typeVersion": 2, "position": [940, 160] } ], "connections": { "Schedule Trigger": { "main": [[{ "node": "Check rb8001 Health", "type": "main", "index": 0 }]] }, "Check rb8001 Health": { "main": [[{ "node": "Health Failed?", "type": "main", "index": 0 }]] }, "Health Failed?": { "main": [ [{ "node": "Send Alert", "type": "main", "index": 0 }], [] ] } }, "pinData": {}, "meta": { "templateCredsSetupCompleted": true, "instanceId": "robeing-scheduler" } }