{
  "name": "Qualify and route consulting leads with GPT‑4.1-mini, Slack and Google Sheets",
  "nodes": [
    {
      "id": "55c043c9-c69b-409d-bc60-a46a69b9696d",
      "name": "Client Intake Form",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -1472,
        192
      ]
    },
    {
      "id": "065e1aa1-25df-48fb-9d05-3235bae39812",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        -1248,
        192
      ]
    },
    {
      "id": "aa88b562-d57f-4fb6-80bd-7a4310387a1f",
      "name": "Normalize Intake Data",
      "type": "n8n-nodes-base.set",
      "position": [
        -1024,
        192
      ]
    },
    {
      "id": "cef08f80-4679-49ad-becc-e9c259a568d8",
      "name": "OpenAI Model - Lead Classifier",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -784,
        384
      ]
    },
    {
      "id": "d70ce49a-450c-44b9-b45f-6edcffe454e3",
      "name": "Lead Classification Schema",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -656,
        400
      ]
    },
    {
      "id": "049fe0ca-b859-4310-8bf0-8a552cdf1492",
      "name": "AI Lead Classifier",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -800,
        192
      ]
    },
    {
      "id": "feaacbe0-f038-46a4-a61e-206791172290",
      "name": "Filter Lead Quality",
      "type": "n8n-nodes-base.if",
      "position": [
        -448,
        192
      ]
    },
    {
      "id": "a36309a5-9282-426b-8749-72ec08a9ab2c",
      "name": "Route by Service Type",
      "type": "n8n-nodes-base.switch",
      "position": [
        -224,
        176
      ]
    },
    {
      "id": "08bbee36-a004-42cb-be6d-c37db691ed25",
      "name": "Notify Team - Consulting",
      "type": "n8n-nodes-base.slack",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "9de1aae0-741c-4252-894d-4293f173eb7c",
      "name": "Notify Team - Accounting",
      "type": "n8n-nodes-base.slack",
      "position": [
        0,
        192
      ]
    },
    {
      "id": "409b4eb0-ff71-4967-aed4-e9fd5f9e6e40",
      "name": "Notify Team - Fractional CFO",
      "type": "n8n-nodes-base.slack",
      "position": [
        0,
        384
      ]
    },
    {
      "id": "83b5ce70-b674-49e0-b20f-bc3442b2ee76",
      "name": "Log Qualified Lead",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        224,
        192
      ]
    },
    {
      "id": "0047aa10-d014-4b81-8e8f-844072966d03",
      "name": "OpenAI Model - Email Writer",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        520,
        416
      ]
    },
    {
      "id": "5e63ac06-99f9-423c-bc60-d71260a010db",
      "name": "Generate Client Acknowledgment",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        448,
        192
      ]
    },
    {
      "id": "d702af7d-a138-4286-ba54-27dbc0b8a4ac",
      "name": "Send Acknowledgment Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        800,
        192
      ]
    },
    {
      "id": "3f7a1d5a-afeb-4acb-9c9a-7433d9719c26",
      "name": "Check High Urgency",
      "type": "n8n-nodes-base.if",
      "position": [
        1024,
        192
      ]
    },
    {
      "id": "962b2ea5-0fb4-4bc0-93be-78ae2bfe62f7",
      "name": "Executive Alert - High Urgency",
      "type": "n8n-nodes-base.slack",
      "position": [
        1248,
        192
      ]
    },
    {
      "id": "8e3d1b2f-14c3-4af3-8967-ed088a4fa8d4",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1568,
        0
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "969292e9-94b6-4866-9eab-b1bbad35afea",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -816,
        0
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "5009e9d3-3366-454f-b45e-abb97c2a5512",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -64,
        -48
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "bd3ec72b-dac5-4375-b721-27d9b7cce661",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        384,
        -32
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "10f92204-df46-4c8c-975e-18f7380131f5",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2064,
        -496
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "AI Lead Classifier": {
      "main": [
        [
          {
            "node": "Filter Lead Quality",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check High Urgency": {
      "main": [
        [
          {
            "node": "Executive Alert - High Urgency",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Client Intake Form": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Qualified Lead": {
      "main": [
        [
          {
            "node": "Generate Client Acknowledgment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Lead Quality": {
      "main": [
        [
          {
            "node": "Route by Service Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize Intake Data": {
      "main": [
        [
          {
            "node": "AI Lead Classifier",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Service Type": {
      "main": [
        [
          {
            "node": "Notify Team - Consulting",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Notify Team - Accounting",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Notify Team - Fractional CFO",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Normalize Intake Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notify Team - Accounting": {
      "main": [
        [
          {
            "node": "Log Qualified Lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notify Team - Consulting": {
      "main": [
        [
          {
            "node": "Log Qualified Lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Acknowledgment Email": {
      "main": [
        [
          {
            "node": "Check High Urgency",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lead Classification Schema": {
      "ai_outputParser": [
        [
          {
            "node": "AI Lead Classifier",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Email Writer": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Client Acknowledgment",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Notify Team - Fractional CFO": {
      "main": [
        [
          {
            "node": "Log Qualified Lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Client Acknowledgment": {
      "main": [
        [
          {
            "node": "Send Acknowledgment Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Lead Classifier": {
      "ai_languageModel": [
        [
          {
            "node": "AI Lead Classifier",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}