{
  "id": "fieldPortfolioDemo2026",
  "name": "FIELD - synthetic inquiry handoff",
  "active": false,
  "nodes": [
    {
      "id": "start",
      "name": "Start demo",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "parameters": {}
    },
    {
      "id": "input",
      "name": "Read demo inquiry",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        220,
        0
      ],
      "parameters": {
        "url": "http://127.0.0.1:8791/inquiry",
        "options": {}
      }
    },
    {
      "id": "validate",
      "name": "Email is present",
      "type": "n8n-nodes-base.if",
      "typeVersion": 1,
      "position": [
        440,
        0
      ],
      "parameters": {
        "conditions": {
          "string": [
            {
              "value1": "={{$json.email}}",
              "operation": "isNotEmpty"
            }
          ]
        }
      }
    },
    {
      "id": "crm",
      "name": "Create or find demo record",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        680,
        -80
      ],
      "parameters": {
        "method": "POST",
        "url": "http://127.0.0.1:8791/crm",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{JSON.stringify($json)}}",
        "options": {
          "response": {
            "response": {
              "fullResponse": true,
              "neverError": true
            }
          }
        }
      }
    },
    {
      "id": "success",
      "name": "CRM succeeded",
      "type": "n8n-nodes-base.if",
      "typeVersion": 1,
      "position": [
        900,
        -80
      ],
      "parameters": {
        "conditions": {
          "number": [
            {
              "value1": "={{$json.statusCode}}",
              "operation": "equal",
              "value2": 200
            }
          ]
        }
      }
    },
    {
      "id": "review",
      "name": "Flag demo review",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1120,
        150
      ],
      "parameters": {
        "method": "POST",
        "url": "http://127.0.0.1:8791/review",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{JSON.stringify($json)}}",
        "options": {}
      }
    }
  ],
  "connections": {
    "Start demo": {
      "main": [
        [
          {
            "node": "Read demo inquiry",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read demo inquiry": {
      "main": [
        [
          {
            "node": "Email is present",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email is present": {
      "main": [
        [
          {
            "node": "Create or find demo record",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Flag demo review",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create or find demo record": {
      "main": [
        [
          {
            "node": "CRM succeeded",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "CRM succeeded": {
      "main": [
        [],
        [
          {
            "node": "Flag demo review",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {},
  "tags": []
}