{
  "name": "Form Submission Intake (Betavan demo)",
  "active": false,
  "nodes": [
    {
      "id": "c7d83960-bd76-5503-a71f-6265e8d9a60b",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "parameters": {}
    },
    {
      "id": "2c37ca26-11fa-5976-87ab-0b9a8b4c6084",
      "name": "Sample Input",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        240,
        0
      ],
      "parameters": {
        "jsCode": "return [{ json: {\"reference\": \"DEMO-F17\", \"topic\": \"  Product question  \"} }];"
      }
    },
    {
      "id": "576edf3e-4d32-5409-a710-fbcb697869e2",
      "name": "Transform",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        480,
        0
      ],
      "parameters": {
        "jsCode": "const d = $input.first().json;\nreturn [{ json: {reference: d.reference, topic: (d.topic ?? '').trim(), needsReview: !(d.topic ?? '').trim()} }];"
      }
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Sample Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sample Input": {
      "main": [
        [
          {
            "node": "Transform",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {}
}
