{
  "id": "clinic-001-baseline",
  "name": "Workflow Clinic 001 - Accepted baseline",
  "active": false,
  "nodes": [
    {
      "id": "baseline-webhook",
      "name": "Authenticated Intake",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [-600, 0],
      "parameters": {
        "httpMethod": "POST",
        "path": "synthetic-client-intake",
        "authentication": "headerAuth",
        "responseMode": "responseNode"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "synthetic-header-auth",
          "name": "Synthetic header auth"
        }
      }
    },
    {
      "id": "baseline-normalize",
      "name": "Normalize Request",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3,
      "position": [-340, 0],
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "ticket-id",
              "name": "ticketId",
              "type": "string",
              "value": "={{ $json.body.ticketId }}"
            }
          ]
        }
      }
    },
    {
      "id": "baseline-ticket-api",
      "name": "Create Ticket",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [-80, 0],
      "parameters": {
        "method": "POST",
        "url": "https://tickets.example.test/api/intake",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "synthetic-ticket-auth",
          "name": "Synthetic ticket API auth"
        }
      }
    },
    {
      "id": "baseline-response",
      "name": "Return Accepted",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [180, 0],
      "parameters": {
        "respondWith": "json",
        "responseBody": "={\"accepted\":true}"
      }
    }
  ],
  "connections": {
    "Authenticated Intake": { "main": [[{ "node": "Normalize Request", "type": "main", "index": 0 }]] },
    "Normalize Request": { "main": [[{ "node": "Create Ticket", "type": "main", "index": 0 }]] },
    "Create Ticket": { "main": [[{ "node": "Return Accepted", "type": "main", "index": 0 }]] }
  },
  "settings": {}
}
