{
  "name": "IndexSentinel — EU Impressum, VIES VAT & Tech Stack Enrichment",
  "nodes": [
    {
      "parameters": {},
      "id": "manual-trigger",
      "name": "When clicking Execute workflow",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [220, 300]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {"id": "dom1", "name": "url", "value": "https://www.hetzner.com", "type": "string"}
          ]
        }
      },
      "id": "set-domain",
      "name": "Target EU Domain",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [440, 300]
    },
    {
      "parameters": {
        "url": "=https://indexsentinelapp.com/api/v1/data/eu-impressum?url={{encodeURIComponent($json.url)}}&verify_vies=true",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {"name": "X-IndexSentinel-API-Key", "value": "={{$env.INDEXSENTINEL_API_KEY || 'PASTE_YOUR_KEY_HERE'}}"}
          ]
        },
        "options": {}
      },
      "id": "http-eu-enrich",
      "name": "IndexSentinel EU Impressum + VIES",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [680, 300]
    },
    {
      "parameters": {
        "conditions": {
          "boolean": [
            {"value1": "={{$json.viesValidation && $json.viesValidation.isValid === true}}", "value2": true}
          ]
        }
      },
      "id": "if-vies-valid",
      "name": "Only VIES-Verified EU Companies",
      "type": "n8n-nodes-base.if",
      "typeVersion": 1,
      "position": [920, 300]
    }
  ],
  "connections": {
    "When clicking Execute workflow": {"main": [[{"node": "Target EU Domain", "type": "main", "index": 0}]]},
    "Target EU Domain": {"main": [[{"node": "IndexSentinel EU Impressum + VIES", "type": "main", "index": 0}]]},
    "IndexSentinel EU Impressum + VIES": {"main": [[{"node": "Only VIES-Verified EU Companies", "type": "main", "index": 0}]]}
  },
  "active": false,
  "settings": {"executionOrder": "v1"}
}
