{
  "id": "86594e73-2f47-4d9d-8d2b-5c60e7ca3cfc",
  "name": "R064 Choose Prompts, Retrieval, or Fine-Tuning for the Right Job",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "how-it-knows-your-docs",
        "responseMode": "responseNode",
        "options": {}
      },
      "id": "9d8f2a73-8ef5-4e5a-96d9-bb7391f59f99",
      "name": "Receive workflow input",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        0,
        0
      ],
      "webhookId": "b0aa2f5d-f5ce-4e2c-9ffc-d27f8dde81f8"
    },
    {
      "parameters": {
        "jsCode": "const body = $json.body ?? $json;\nreturn [{json: body}];"
      },
      "id": "70ff8005-1215-479d-bec4-ee151ee60468",
      "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": "a34b6fae-be37-4147-9cd8-90fb5c11f19f",
      "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": "2c44f7a1-811b-456a-8101-6eb86c03db13",
      "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": "8519ad0d-02f3-49c9-9ea1-9ab5e6309a63",
      "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": "876f36df-da95-4755-a27a-ddd9f6d076e9",
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": []
}
