{
  "id": "84721fce-4b8b-464e-beb7-bc42f71e3a6a",
  "name": "R170 Measure Product Retention After a Traffic Spike Fades",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "afterspike-prompt-pack",
        "responseMode": "responseNode",
        "options": {}
      },
      "id": "5dbb651c-0296-413e-be59-bb23883bb7e6",
      "name": "Receive workflow input",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        0,
        0
      ],
      "webhookId": "deb60db7-1743-4293-ac08-e64916aa0378"
    },
    {
      "parameters": {
        "jsCode": "const body = $json.body ?? $json;\nreturn [{json: body}];"
      },
      "id": "8cbdf67a-ae21-460d-80a0-11759c88c876",
      "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": "5f5eef9a-e2b2-4101-a6f2-f04d9468f811",
      "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": "9fa62ee6-0823-4c1f-a26f-10477009fe15",
      "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": "f9a6f9ea-c922-479d-8fc4-7511b85497e6",
      "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": "a40da1eb-c199-4e2f-a19f-e0c35c379d80",
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": []
}
