{
  "name": "Automate Service Ticket Triage with GPT-4o & Taiga",
  "nodes": [
    {
      "id": "588eb65e-0053-432f-a11e-2bb690674a35",
      "name": "Service Ticket Created",
      "type": "n8n-nodes-base.taigaTrigger",
      "position": [
        -880,
        780
      ]
    },
    {
      "id": "b16043dc-50b9-4645-85c9-ca5ee0570c13",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -920,
        360
      ],
      "parameters": {
        "width": 680,
        "height": 340,
        "content": "## Service Ticket Triage Helper\nUsecase: When a service ticket comes in, it's possible that it may not have enough information to act on. So we use AI to help classify the information to determine if "
      }
    },
    {
      "id": "b938cc45-66d8-4ddf-9e47-a9859d4de23f",
      "name": "More Info Needed?",
      "type": "n8n-nodes-base.if",
      "position": [
        1036,
        780
      ]
    },
    {
      "id": "d770d99b-aa29-4730-873f-e1a0f89f1d8b",
      "name": "Set Type to Question",
      "type": "n8n-nodes-base.taiga",
      "position": [
        -64,
        480
      ]
    },
    {
      "id": "f1819ad7-3c53-4791-b419-f42264a65214",
      "name": "Define Type",
      "type": "n8n-nodes-base.switch",
      "position": [
        -284,
        759
      ]
    },
    {
      "id": "ff5cb1d2-b375-4446-b0ea-93765aef6873",
      "name": "Set Type to Enhancement",
      "type": "n8n-nodes-base.taiga",
      "position": [
        -64,
        680
      ]
    },
    {
      "id": "b192a22d-05ed-4f32-bb38-fa116e5fb964",
      "name": "Set Type to Bug",
      "type": "n8n-nodes-base.taiga",
      "position": [
        -64,
        880
      ]
    },
    {
      "id": "9a8f5eb9-90b6-499a-86a3-1fb49a08e198",
      "name": "Set to Needs Info & Block",
      "type": "n8n-nodes-base.taiga",
      "position": [
        1260,
        760
      ]
    },
    {
      "id": "68929c1a-a3eb-42d3-9ce5-e4c925fa12a6",
      "name": "Set Type to Onboarding",
      "type": "n8n-nodes-base.taiga",
      "position": [
        -64,
        1080
      ]
    },
    {
      "id": "9ab8069b-c4c1-41cf-a44d-876283374fa7",
      "name": "Define Severity",
      "type": "n8n-nodes-base.switch",
      "position": [
        156,
        738
      ]
    },
    {
      "id": "28960c04-ec26-4815-b046-ff40a278b91c",
      "name": "Set Severity to Wishlist",
      "type": "n8n-nodes-base.taiga",
      "position": [
        376,
        380
      ]
    },
    {
      "id": "6645c07e-269a-490a-a734-225ea344831b",
      "name": "Set Severity to Minor",
      "type": "n8n-nodes-base.taiga",
      "position": [
        376,
        580
      ]
    },
    {
      "id": "05ec7c2a-4390-464c-b3c2-4ba792018e87",
      "name": "Set Severity to Normal",
      "type": "n8n-nodes-base.taiga",
      "position": [
        376,
        780
      ]
    },
    {
      "id": "b3710431-d5d2-47d2-8c04-764370aceb74",
      "name": "Set Severity to Critical",
      "type": "n8n-nodes-base.taiga",
      "position": [
        376,
        980
      ]
    },
    {
      "id": "f5b69f61-b6cb-4698-840e-85ee66a953ac",
      "name": "Set Severity to Important",
      "type": "n8n-nodes-base.taiga",
      "position": [
        376,
        1180
      ]
    },
    {
      "id": "d1fe2173-51d0-4d37-bcaf-0b556c0966cc",
      "name": "Define Priority",
      "type": "n8n-nodes-base.switch",
      "position": [
        596,
        780
      ]
    },
    {
      "id": "04621fab-ad8c-4ac1-a34b-7b0ffdd8f0ed",
      "name": "Set Priority To Low",
      "type": "n8n-nodes-base.taiga",
      "position": [
        816,
        580
      ]
    },
    {
      "id": "9d44c422-7ddc-4c03-93bd-78ba0f0d6cc0",
      "name": "Set Priority To High",
      "type": "n8n-nodes-base.taiga",
      "position": [
        816,
        980
      ]
    },
    {
      "id": "67ae7694-b345-4a96-8749-7f036d071f8b",
      "name": "Set Priority To Normal",
      "type": "n8n-nodes-base.taiga",
      "position": [
        816,
        780
      ]
    },
    {
      "id": "5728f70b-7787-41b7-8271-6b89ae17a142",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -660,
        780
      ]
    },
    {
      "id": "0c281d01-dfab-4d91-8838-23446d269f67",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -512,
        1000
      ]
    },
    {
      "id": "c00a96ca-4c20-44c0-91d3-2b9586008368",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -632,
        1000
      ]
    }
  ],
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Define Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Define Type": {
      "main": [
        [
          {
            "node": "Set Type to Question",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Type to Enhancement",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Type to Bug",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Type to Onboarding",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Define Priority": {
      "main": [
        [
          {
            "node": "Set Priority To Low",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Priority To Normal",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Priority To High",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Define Severity": {
      "main": [
        [
          {
            "node": "Set Severity to Wishlist",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Severity to Minor",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Severity to Normal",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Severity to Critical",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Severity to Important",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Type to Bug": {
      "main": [
        [
          {
            "node": "Define Severity",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "More Info Needed?": {
      "main": [
        [
          {
            "node": "Set to Needs Info & Block",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Set Priority To Low": {
      "main": [
        [
          {
            "node": "More Info Needed?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Priority To High": {
      "main": [
        [
          {
            "node": "More Info Needed?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Type to Question": {
      "main": [
        [
          {
            "node": "Define Severity",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Severity to Minor": {
      "main": [
        [
          {
            "node": "Define Priority",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Service Ticket Created": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Priority To Normal": {
      "main": [
        [
          {
            "node": "More Info Needed?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Severity to Normal": {
      "main": [
        [
          {
            "node": "Define Priority",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Type to Onboarding": {
      "main": [
        [
          {
            "node": "Define Severity",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Type to Enhancement": {
      "main": [
        [
          {
            "node": "Define Severity",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Severity to Critical": {
      "main": [
        [
          {
            "node": "Define Priority",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Severity to Wishlist": {
      "main": [
        [
          {
            "node": "Define Priority",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Set Severity to Important": {
      "main": [
        [
          {
            "node": "Define Priority",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}