{
  "name": "Czech Supplier KYB + ADIS §109 VAT Guard (EuroKYB)",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "cz-kyb-check",
        "responseMode": "lastNode",
        "options": {}
      },
      "id": "webhook-in",
      "name": "Webhook (JSON { ico })",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [220, 300]
    },
    {
      "parameters": {
        "url": "=https://alertviz.com/api/eurokyb/v1/cz/kyb?ico={{ $json.body.ico || $json.ico }}",
        "options": {}
      },
      "id": "eurokyb-call",
      "name": "EuroKYB ARES + ADIS §109 Check",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [460, 300]
    },
    {
      "parameters": {
        "conditions": {
          "boolean": [
            {
              "value1": "={{ $json.isUnreliableVatPayer === true || $json.hasActiveInsolvencyRecord === true || $json.kybRiskLevel === 'HIGH' || $json.kybRiskLevel === 'UNKNOWN' || $json.vatReliabilityStatus === 'UNKNOWN' || ($json.isVatPayer === true && $json.isUnreliableVatPayer == null) }}",
              "value2": true
            }
          ]
        }
      },
      "id": "risk-gate",
      "name": "Flag Unreliable / Insolvent?",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2,
      "position": [700, 300]
    }
  ],
  "connections": {
    "Webhook (JSON { ico })": {
      "main": [[{ "node": "EuroKYB ARES + ADIS §109 Check", "type": "main", "index": 0 }]]
    },
    "EuroKYB ARES + ADIS §109 Check": {
      "main": [[{ "node": "Flag Unreliable / Insolvent?", "type": "main", "index": 0 }]]
    }
  },
  "meta": {
    "templateCredsSetupCompleted": true,
    "notes": "Free live template powered by https://alertviz.com/eurokyb/ (no API key needed under 20 req/min)."
  }
}
