{
  "id": "20d11511-8b0a-4c12-8328-8b05d6c82054",
  "name": "R061 Generate and Validate Structured LLM Output",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "llm-nulls",
        "responseMode": "responseNode",
        "options": {}
      },
      "id": "39830b7f-04c8-496e-988c-d1568d062ffc",
      "name": "Receive workflow input",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        0,
        0
      ],
      "webhookId": "b5c13ea0-b19d-468c-a855-1cc3f3884f06"
    },
    {
      "parameters": {
        "jsCode": "const body = $json.body ?? $json;\nreturn [{json: body}];"
      },
      "id": "c2c61a96-dd83-48b8-bf17-c4d55deeff6e",
      "name": "Use JSON body",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        240,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "http://workflow:3000/run",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify($json) }}",
        "options": {}
      },
      "id": "01c7c753-a7e6-4eb9-8554-b8e6bda79f59",
      "name": "Run tested workflow service",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        500,
        0
      ]
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ JSON.stringify($json) }}",
        "options": {}
      },
      "id": "c1a1aceb-755c-4500-97c6-dbec96c5fa74",
      "name": "Return reviewable result",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.4,
      "position": [
        760,
        0
      ]
    },
    {
      "parameters": {
        "content": "## Safe starter\nThe service defaults to dry-run. Set WORKFLOW_MODE=live and configure Anthropic only after the sample passes. External actions are intentionally not preconfigured.",
        "height": 250,
        "width": 420
      },
      "id": "5c9cf8d4-2826-4df6-b1d8-a2d28457c47b",
      "name": "Read before activating",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        210,
        -330
      ]
    }
  ],
  "connections": {
    "Receive workflow input": {
      "main": [
        [
          {
            "node": "Use JSON body",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Use JSON body": {
      "main": [
        [
          {
            "node": "Run tested workflow service",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Run tested workflow service": {
      "main": [
        [
          {
            "node": "Return reviewable result",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "0b050a38-837b-426a-bec6-123081c05276",
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": []
}
