{
  "name": "Synthetic lead intake with reliability gaps",
  "nodes": [
    {
      "name": "Lead webhook",
      "type": "n8n-nodes-base.webhook",
      "parameters": {
        "path": "lead-intake",
        "httpMethod": "POST"
      }
    },
    {
      "name": "Normalize payload",
      "type": "n8n-nodes-base.code",
      "parameters": {
        "jsCode": "const first = items[0].json; return [{ json: { email: first.email, source: first.source } }];"
      }
    },
    {
      "name": "Create CRM row",
      "type": "n8n-nodes-base.airtable",
      "parameters": {
        "operation": "create",
        "table": "Leads"
      }
    },
    {
      "name": "Disabled Slack alert",
      "type": "n8n-nodes-base.slack",
      "disabled": true,
      "parameters": {
        "channel": "sales-alerts",
        "text": "New lead"
      }
    }
  ],
  "connections": {
    "Lead webhook": {
      "main": [
        [
          {
            "node": "Normalize payload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize payload": {
      "main": [
        [
          {
            "node": "Create CRM row",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
