{
  "name": "Keptick workflow failure",
  "nodes": [
    {
      "parameters": {},
      "id": "workflow-error",
      "name": "Workflow failed",
      "type": "n8n-nodes-base.errorTrigger",
      "typeVersion": 1,
      "position": [260, 300]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "REPLACE_WITH_YOUR_PRIVATE_RUNSIGNAL_ENDPOINT",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({ eventId: 'error:' + ($json.execution?.id || $execution.id), success: false, items: 0, message: 'Workflow failed. Review the execution in n8n.' }) }}",
        "options": { "timeout": 15000 }
      },
      "id": "send-error",
      "name": "Report failure",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "executeOnce": true,
      "position": [540, 300]
    }
  ],
  "connections": { "Workflow failed": { "main": [[{ "node": "Report failure", "type": "main", "index": 0 }]] } },
  "settings": { "executionOrder": "v1" },
  "active": false
}
