{
  "name": "Triage tenant complaints with GPT-4.1, Slack, email and Google Sheets",
  "nodes": [
    {
      "id": "e7803f9e-3893-4a98-9ad0-ac9f97c167df",
      "name": "Tenant Complaint Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        0,
        192
      ]
    },
    {
      "id": "1d47e086-774b-4f56-8ed9-23548a3aefb0",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        224,
        192
      ]
    },
    {
      "id": "151af8c3-fbc7-41a3-b34c-a7f9631530e2",
      "name": "Normalize Complaint Data",
      "type": "n8n-nodes-base.set",
      "position": [
        448,
        192
      ]
    },
    {
      "id": "ee50ef44-97c7-4021-a565-7e680e62aa6b",
      "name": "AI Complaint Classifier",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        672,
        192
      ]
    },
    {
      "id": "4e64cdd8-24cc-45b0-b2c5-72e0ed5455f4",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        744,
        416
      ]
    },
    {
      "id": "9b03497a-106c-41a3-b29b-4f6b2d7627e4",
      "name": "Route by Urgency",
      "type": "n8n-nodes-base.switch",
      "position": [
        1024,
        176
      ]
    },
    {
      "id": "48c08e34-1810-44c0-862f-8f0aca753b4d",
      "name": "Notify Property Manager (High Priority)",
      "type": "n8n-nodes-base.slack",
      "position": [
        1600,
        192
      ]
    },
    {
      "id": "e4236e6f-6a10-4b9a-b994-3e54ee7eaa22",
      "name": "AI Email Generator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1248,
        440
      ]
    },
    {
      "id": "11940f7a-9fc6-42cc-bbc2-2c6825ef9184",
      "name": "OpenAI Chat Model for Email",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1320,
        664
      ]
    },
    {
      "id": "20ecefdc-fe97-4217-89ae-bbb9e6e1f15f",
      "name": "Send Acknowledgment Email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1600,
        440
      ]
    },
    {
      "id": "d2c9c9d1-f494-4e78-8cbb-58ff817028ae",
      "name": "Create Task Data (Medium Priority)",
      "type": "n8n-nodes-base.set",
      "position": [
        1312,
        48
      ]
    },
    {
      "id": "7429eebe-fd60-4cc4-b3ed-51fd78558955",
      "name": "Consolidate All Branches",
      "type": "n8n-nodes-base.merge",
      "position": [
        1824,
        316
      ]
    },
    {
      "id": "5a2d467a-0d73-489a-840b-814263cce37a",
      "name": "Log to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2048,
        316
      ]
    },
    {
      "id": "80c9eca2-76af-42db-9c5e-9a5668ca71d7",
      "name": "AI Resolution Suggester",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2272,
        316
      ]
    },
    {
      "id": "128f4c30-b13d-4142-9708-a4b0e151b98e",
      "name": "OpenAI Chat Model for Resolutions",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2344,
        540
      ]
    },
    {
      "id": "50afe0b1-2eb3-45d2-9e4b-8b799be240a0",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -416,
        -96
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "ca4e8100-c6ab-4070-b49d-e11f24dbed5f",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -48,
        -96
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "4ca2b399-f7be-4e6d-bc54-dc701174beb7",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        448,
        -96
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "539bd30d-2e7b-4f17-a2a7-2177dc385487",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        992,
        -96
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "f37d858b-5fb2-4f49-87da-5e8d85c027de",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2000,
        112
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Route by Urgency": {
      "main": [
        [
          {
            "node": "Notify Property Manager (High Priority)",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "AI Email Generator",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Create Task Data (Medium Priority)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Complaint Classifier",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "AI Email Generator": {
      "main": [
        [
          {
            "node": "Send Acknowledgment Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log to Google Sheets": {
      "main": [
        [
          {
            "node": "AI Resolution Suggester",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Normalize Complaint Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Complaint Classifier": {
      "main": [
        [
          {
            "node": "Route by Urgency",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Consolidate All Branches": {
      "main": [
        [
          {
            "node": "Log to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize Complaint Data": {
      "main": [
        [
          {
            "node": "AI Complaint Classifier",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Tenant Complaint Webhook": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Acknowledgment Email": {
      "main": [
        [
          {
            "node": "Consolidate All Branches",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "OpenAI Chat Model for Email": {
      "ai_languageModel": [
        [
          {
            "node": "AI Email Generator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model for Resolutions": {
      "ai_languageModel": [
        [
          {
            "node": "AI Resolution Suggester",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Notify Property Manager (High Priority)": {
      "main": [
        [
          {
            "node": "Consolidate All Branches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}