AIを使用してサポートメールを自動分類し、Teamsにルーティング

中級

これはTicket Management, AI Summarization分野の自動化ワークフローで、9個のノードを含みます。主にJira, OpenAi, Switch, EmailSend, EmailReadImapなどのノードを使用。 OpenAIを使用してサポートメールを自動分類し、Jira統合でTeamsへのルーティング

前提条件
  • OpenAI API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定を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メール",
      "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": "スイッチ",
      "type": "n8n-nodes-base.switch",
      "position": [
        -880,
        -141
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3be96880-5fb2-46af-9f7d-9228b87df0fc",
      "name": "請求関連メール送信",
      "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": "バグ報告メール送信",
      "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": "機能要望メール送信",
      "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": "Jiraタスク作成",
      "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": "自動返信送信",
      "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": "付箋メモ",
      "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": "66d83acc-b961-4baf-97f4-0f4a1a7aff30",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "66d83acc-b961-4baf-97f4-0f4a1a7aff30": {
      "main": [
        [
          {
            "node": "3be96880-5fb2-46af-9f7d-9228b87df0fc",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "104ae235-3ba0-45b2-b57f-6f6dbac92a75",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "80aa19c6-86c2-43e7-9e87-61082b00eb91",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1cc38dd8-7be0-439c-9bff-1747c4cb41f0": {
      "main": [
        [
          {
            "node": "9eafb912-b9b8-4e07-8ae3-dfd9407e12e0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "104ae235-3ba0-45b2-b57f-6f6dbac92a75": {
      "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
          }
        ]
      ]
    },
    "3be96880-5fb2-46af-9f7d-9228b87df0fc": {
      "main": [
        [
          {
            "node": "1d4347c1-dd66-40a3-9228-a5e78365b201",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "80aa19c6-86c2-43e7-9e87-61082b00eb91": {
      "main": [
        [
          {
            "node": "1d4347c1-dd66-40a3-9228-a5e78365b201",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

中級 - チケット管理, AI要約

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
中級
ノード数9
カテゴリー2
ノードタイプ6
難易度説明

経験者向け、6-15ノードの中程度の複雑さのワークフロー

作成者
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.

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34