Automatische Klassifizierung von Support-E-Mails mit KI und Weiterleitung an Teams

Fortgeschritten

Dies ist ein Ticket Management, AI Summarization-Bereich Automatisierungsworkflow mit 9 Nodes. Hauptsächlich werden Jira, OpenAi, Switch, EmailSend, EmailReadImap und andere Nodes verwendet. Automatische Klassifizierung von Support-E-Mails mit OpenAI und Weiterleitung an Teams über Jira-Integration

Voraussetzungen
  • OpenAI API Key
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "id": "Eael5MC2doHgipoj",
  "meta": {
    "instanceId": "dd69efaf8212c74ad206700d104739d3329588a6f3f8381a46a481f34c9cc281",
    "templateCredsSetupCompleted": true
  },
  "name": "Auto-Sort Support Emails with AI and Route to Teams",
  "tags": [],
  "nodes": [
    {
      "id": "1cc38dd8-7be0-439c-9bff-1747c4cb41f0",
      "name": "IMAP E-Mail",
      "type": "n8n-nodes-base.emailReadImap",
      "position": [
        -1320,
        -120
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "imap": {
          "id": "zTEGYssr7MSVeCs3",
          "name": "IMAP-test"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "9eafb912-b9b8-4e07-8ae3-dfd9407e12e0",
      "name": "OpenAI",
      "type": "n8n-nodes-base.openAi",
      "position": [
        -1100,
        -120
      ],
      "parameters": {
        "operation": "chat",
        "requestOptions": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "CDQ16eImh6D4tY15",
          "name": "OpenAi account 2 - test"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "66d83acc-b961-4baf-97f4-0f4a1a7aff30",
      "name": "Schalter",
      "type": "n8n-nodes-base.switch",
      "position": [
        -880,
        -141
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3be96880-5fb2-46af-9f7d-9228b87df0fc",
      "name": "Send Billing E-Mail",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        -660,
        -320
      ],
      "parameters": {
        "text": "=Forwarded Email:\n\nSubject: {{$node[\"IMAP Email\"].json[\"subject\"]}}\nFrom: {{$node[\"IMAP Email\"].json[\"from\"]}}\nContent: {{$node[\"IMAP Email\"].json[\"text\"]}}",
        "options": {},
        "subject": "=Fwd: {{$node[\"IMAP Email\"].json[\"subject\"]}}",
        "toEmail": "billing@yourdomain.com",
        "fromEmail": "support@yourdomain.com"
      },
      "credentials": {
        "smtp": {
          "id": "G1kyF8cSWTZ4vouN",
          "name": "SMTP -test"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "104ae235-3ba0-45b2-b57f-6f6dbac92a75",
      "name": "Send Bug E-Mail",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        -660,
        -120
      ],
      "parameters": {
        "text": "=Forwarded Email:\n\nSubject: {{$node[\"IMAP Email\"].json[\"subject\"]}}\nFrom: {{$node[\"IMAP Email\"].json[\"from\"]}}\nContent: {{$node[\"IMAP Email\"].json[\"text\"]}}",
        "options": {},
        "subject": "=Fwd: {{$node[\"IMAP Email\"].json[\"subject\"]}}",
        "toEmail": "bugs@yourdomain.com",
        "fromEmail": "support@yourdomain.com"
      },
      "credentials": {
        "smtp": {
          "id": "G1kyF8cSWTZ4vouN",
          "name": "SMTP -test"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "80aa19c6-86c2-43e7-9e87-61082b00eb91",
      "name": "Send Feature E-Mail",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        -660,
        80
      ],
      "parameters": {
        "text": "=Forwarded Email:\n\nSubject: {{$node[\"IMAP Email\"].json[\"subject\"]}}\nFrom: {{$node[\"IMAP Email\"].json[\"from\"]}}\nContent: {{$node[\"IMAP Email\"].json[\"text\"]}}",
        "options": {},
        "subject": "=Fwd: {{$node[\"IMAP Email\"].json[\"subject\"]}}",
        "toEmail": "features@yourdomain.com",
        "fromEmail": "support@yourdomain.com"
      },
      "credentials": {
        "smtp": {
          "id": "G1kyF8cSWTZ4vouN",
          "name": "SMTP -test"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "1d4347c1-dd66-40a3-9228-a5e78365b201",
      "name": "Create Jira Task",
      "type": "n8n-nodes-base.jira",
      "position": [
        -440,
        -120
      ],
      "parameters": {
        "project": {
          "__rl": true,
          "mode": "id",
          "value": "12346"
        },
        "summary": "=Support Request: {{$node[\"IMAP Email\"].json[\"subject\"]}}",
        "issueType": "Task",
        "additionalFields": {}
      },
      "credentials": {
        "jiraSoftwareCloudApi": {
          "id": "cP7JyAE1RB0zcBon",
          "name": "Jira SW Cloud  - test"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "764ccc7c-1f45-4518-877b-e77c26467425",
      "name": "Send Autoresponse",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        -220,
        -120
      ],
      "parameters": {
        "text": "Thank you for contacting support. We have received your email and will address it promptly. Your request has been classified as {{$node[\"OpenAI\"].json[\"text\"]}}.",
        "options": {},
        "subject": "Re: {{$node[\"IMAP Email\"].json[\"subject\"]}}",
        "toEmail": "={{$node[\"IMAP Email\"].json[\"from\"]}}",
        "fromEmail": "support@yourdomain.com"
      },
      "credentials": {
        "smtp": {
          "id": "G1kyF8cSWTZ4vouN",
          "name": "SMTP -test"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "b59375bf-b0f7-4d5d-b3a9-812deeb3bb17",
      "name": "Haftnotiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1520,
        -480
      ],
      "parameters": {
        "width": 560,
        "height": 260,
        "content": "## Main Components\n- **IMAP Email** - Monitors incoming support emails via IMAP\n- **OpenAI** - Classifies emails into categories (billing, bug, feature)\n- **Switch** - Routes emails based on the classified category\n- **Send Billing Email** - Forwards billing-related emails to the billing inbox\n- **Send Bug Email** - Forwards bug-related emails to the bugs inbox\n- **Send Feature Email** - Forwards feature-related emails to the features inbox\n- **Create Jira Task** - Creates a task in Jira for each classified email\n- **Send Autoresponse** - Sends a confirmation email to the sender"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "8efa3f11-b8f1-48fb-898e-702e39836755",
  "connections": {
    "9eafb912-b9b8-4e07-8ae3-dfd9407e12e0": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "Send Billing Email",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Bug Email",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Feature Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IMAP Email": {
      "main": [
        [
          {
            "node": "9eafb912-b9b8-4e07-8ae3-dfd9407e12e0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Bug Email": {
      "main": [
        [
          {
            "node": "1d4347c1-dd66-40a3-9228-a5e78365b201",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1d4347c1-dd66-40a3-9228-a5e78365b201": {
      "main": [
        [
          {
            "node": "764ccc7c-1f45-4518-877b-e77c26467425",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Billing Email": {
      "main": [
        [
          {
            "node": "1d4347c1-dd66-40a3-9228-a5e78365b201",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Feature Email": {
      "main": [
        [
          {
            "node": "1d4347c1-dd66-40a3-9228-a5e78365b201",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Fortgeschritten - Ticketverwaltung, KI-Zusammenfassung

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes9
Kategorie2
Node-Typen6
Schwierigkeitsbeschreibung

Für erfahrene Benutzer, mittelkomplexe Workflows mit 6-15 Nodes

Autor
Oneclick AI Squad

Oneclick AI Squad

@oneclick-ai

The AI Squad Initiative is a pioneering effort to build, automate and scale AI-powered workflows using n8n.io. Our mission is to help individuals and businesses integrate AI agents seamlessly into their daily operations from automating tasks and enhancing productivity to creating innovative, intelligent solutions. We design modular, reusable AI workflow templates that empower creators, developers and teams to supercharge their automation with minimal effort and maximum impact.

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34