{
  "name": "FibaCloud n8n webhook and runner check",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "fc-n8n-runner-check",
        "authentication": "headerAuth",
        "responseMode": "responseNode",
        "options": {}
      },
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.2,
      "position": [
        0,
        0
      ],
      "id": "a54ff0c3-e02b-4a24-b136-1646efa40bb6",
      "webhookId": "d21c3cec-0a54-4e87-a0aa-0b27d77144c3"
    },
    {
      "parameters": {
        "jsCode": "const body = $input.first().json.body;\nreturn [{\n  json: {\n    ok: true,\n    received: String(body.message ?? ''),\n    result: Number(body.value) + 1\n  }\n}];"
      },
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        240,
        0
      ],
      "id": "119d669e-aba0-4f2b-b6a3-2fee9542196d"
    },
    {
      "parameters": {
        "options": {
          "responseCode": 200,
          "enableStreaming": false
        }
      },
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.5,
      "position": [
        480,
        0
      ],
      "id": "8c018c17-0635-4eb3-b41b-e43a4ed15f9c"
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  }
}
