{
  "id": "35ec60b2-9c32-4f2d-9102-16e8f2a24716",
  "name": "R059 Teach an AI Workflow With Real Input and Output Examples",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "few-shot-example-pack",
        "responseMode": "responseNode",
        "options": {}
      },
      "id": "8e874b44-21d9-4a25-8bb5-c1cfef65fbea",
      "name": "Receive workflow input",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        0,
        0
      ],
      "webhookId": "4207270d-8704-4597-a0ca-56f19681c227"
    },
    {
      "parameters": {
        "jsCode": "const body = $json.body ?? $json;\nreturn [{json: body}];"
      },
      "id": "c4ccbbe5-9c30-4c10-8912-e3b1f4ee816f",
      "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": "e5b9f232-334f-4e64-9a05-27f251442980",
      "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": "58b61f28-f018-493f-a02e-c4dccfa970d8",
      "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": "b9380f43-cbbd-431c-9d36-74ec0ab158fc",
      "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": "f191c0c9-1d58-4e01-bf35-306d571142c2",
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": []
}
