{
  "name": "Automate IT support: Convert emails to Jira tickets with AI resolution",
  "nodes": [
    {
      "id": "4f22474a-0a1a-4902-b357-58aabd8c24c5",
      "name": "Check for New Emails\t",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        256,
        800
      ]
    },
    {
      "id": "13e09e91-e64d-4eea-8dfe-d0fb3e21bc8c",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1024,
        1184
      ]
    },
    {
      "id": "bd6a4f92-13a0-4973-9b06-24d8c11f5b77",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1152,
        1184
      ]
    },
    {
      "id": "248d563a-4124-4a4b-93e1-a5f452d31f1b",
      "name": "Check requester email",
      "type": "n8n-nodes-base.filter",
      "position": [
        2784,
        1392
      ]
    },
    {
      "id": "7f8bb58e-222f-45c4-bb6e-60b4986d3abb",
      "name": "Send message to IT Support team",
      "type": "n8n-nodes-base.slack",
      "position": [
        2784,
        1200
      ]
    },
    {
      "id": "f671d931-7df3-4d35-987a-acdd1d980633",
      "name": "Send email to requester",
      "type": "n8n-nodes-base.sendGrid",
      "position": [
        3008,
        1392
      ]
    },
    {
      "id": "80da05bf-11e1-4e94-bdc2-c720d2e0149f",
      "name": "Get Email Content",
      "type": "n8n-nodes-base.gmail",
      "position": [
        480,
        800
      ]
    },
    {
      "id": "6caba607-6ed0-41dc-a95f-004f1a90e0e5",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2416,
        896
      ]
    },
    {
      "id": "ca2b1172-2e5a-438e-8a6c-5cafd2eeb844",
      "name": "Structured Output Parser1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2544,
        896
      ]
    },
    {
      "id": "b9c7d520-1fe0-4245-8392-c56ead2dc369",
      "name": "IT Support Advisor Agent",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        2384,
        672
      ]
    },
    {
      "id": "c674d95f-f1bb-4244-b894-357d44e95fbb",
      "name": "Support Request Reader Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        992,
        960
      ]
    },
    {
      "id": "cb12310c-2ae8-48a7-a466-f219943c4ba6",
      "name": "Add resolution comment to tracking ticket",
      "type": "n8n-nodes-base.jira",
      "position": [
        2816,
        672
      ]
    },
    {
      "id": "f5e9320f-78cc-4045-829d-166577530fdd",
      "name": "Mark a message as read",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1136,
        656
      ]
    },
    {
      "id": "ec9288f6-84d7-489b-9afc-8520429a5549",
      "name": "Email has been processed?",
      "type": "n8n-nodes-base.if",
      "position": [
        704,
        800
      ]
    },
    {
      "id": "334c51e1-7659-4db9-bcad-a6fb2d2d406c",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -816,
        528
      ],
      "parameters": {
        "width": 1008,
        "height": 1344,
        "content": "## SmartSupport Flow: Auto-Handle IT Requests from Email to JIRA with Slack notification\n### **Who’s it for**\n- This workflow is built for **lean IT teams, office managers, and business operators** wh"
      }
    },
    {
      "id": "252f6988-881e-43dd-8357-5d749fcecc58",
      "name": "Setup Jira, Slack, Email",
      "type": "n8n-nodes-base.set",
      "position": [
        2432,
        1296
      ]
    },
    {
      "id": "da916fac-db48-4fc5-a768-199b0c91f2db",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        224,
        640
      ],
      "parameters": {
        "width": 608,
        "height": 448,
        "content": "### 1. Detect new support request email\n- Uses Gmail Trigger to detect new support request emails.\n- Retrieves the full message body and metadata.\n- Skips processing if the email has already been hand"
      }
    },
    {
      "id": "897f5675-8d86-4c34-8dbf-7cd9d9da1313",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        928,
        896
      ],
      "parameters": {
        "width": 400,
        "height": 432,
        "content": "### 2. Agent extract request information from email"
      }
    },
    {
      "id": "1e32f8e1-844e-45b0-b4ce-3e87b6e462ea",
      "name": "Submit JIRA request ticket",
      "type": "n8n-nodes-base.jira",
      "position": [
        1760,
        960
      ]
    },
    {
      "id": "039c6a6c-f948-4f3a-ace5-8557121dada0",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1424,
        848
      ],
      "parameters": {
        "width": 784,
        "height": 352,
        "content": "### 3. Submit request support ticket to JIRA system"
      }
    },
    {
      "id": "cb40e5a4-b320-42c9-9039-b09bfbf5dbfc",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2336,
        576
      ],
      "parameters": {
        "width": 656,
        "height": 480,
        "content": "### 4. IT support advisor agent\n- Analyze the user support request then propose resolution\n- Comment the resolution in JIRA ticket so IT support team can save investigation time"
      }
    },
    {
      "id": "a61039ea-ad11-47d3-accf-1310192eab59",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2608,
        1088
      ],
      "parameters": {
        "width": 656,
        "height": 496,
        "content": "### 6. Notification\n- Inform IT support team via Slack (channel name configured via previous node) with request information & JIRA tracking link\n- Send email to requester with JIRA tracking link to fo"
      }
    },
    {
      "id": "5758aeb8-bb7d-463f-b723-d796a8577b09",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3280,
        1152
      ],
      "parameters": {
        "width": 896,
        "height": 352,
        "content": "![Alt text](https://wisestackai.s3.ap-southeast-1.amazonaws.com/Screenshot+2025-07-31+at+5.00.22%E2%80%AFPM.png \"Optional title text\")"
      }
    },
    {
      "id": "8597baee-f79e-4450-ad60-45ca87013a12",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3008,
        592
      ],
      "parameters": {
        "width": 768,
        "height": 432,
        "content": "![Alt text](https://wisestackai.s3.ap-southeast-1.amazonaws.com/Screenshot+2025-07-31+at+5.03.05%E2%80%AFPM.png \"Optional title text\")"
      }
    },
    {
      "id": "6f617de1-0f73-4cf3-8f23-815be7139bd7",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1360,
        1248
      ],
      "parameters": {
        "width": 960,
        "height": 512,
        "content": "![Alt text](https://wisestackai.s3.ap-southeast-1.amazonaws.com/Screenshot+2025-07-31+at+5.06.13%E2%80%AFPM.png \"Optional title text\")"
      }
    }
  ],
  "connections": {
    "Get Email Content": {
      "main": [
        [
          {
            "node": "Email has been processed?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Support Request Reader Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "IT Support Advisor Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Check for New Emails\t": {
      "main": [
        [
          {
            "node": "Get Email Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check requester email": {
      "main": [
        [
          {
            "node": "Send email to requester",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IT Support Advisor Agent": {
      "main": [
        [
          {
            "node": "Add resolution comment to tracking ticket",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Setup Jira, Slack, Email": {
      "main": [
        [
          {
            "node": "Check requester email",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send message to IT Support team",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Support Request Reader Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Email has been processed?": {
      "main": [
        [
          {
            "node": "Support Request Reader Agent",
            "type": "main",
            "index": 0
          },
          {
            "node": "Mark a message as read",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "IT Support Advisor Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Submit JIRA request ticket": {
      "main": [
        [
          {
            "node": "Setup Jira, Slack, Email",
            "type": "main",
            "index": 0
          },
          {
            "node": "IT Support Advisor Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Support Request Reader Agent": {
      "main": [
        [
          {
            "node": "Submit JIRA request ticket",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}