Outlookメールからサポートリクエストを読み取り、自動のにJIRA課題を作成する
中級
これはEngineering, Support, AI分野の自動化ワークフローで、12個のノードを含みます。主にJira, Markdown, ScheduleTrigger, MicrosoftOutlook, RemoveDuplicatesなどのノードを使用、AI技術を活用したスマート自動化を実現。 Outlookのメールからサポートリクエストを自動のにJIRAのIssueに作成
前提条件
- •OpenAI API Key
使用ノード (12)
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"meta": {
"instanceId": "408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "154458b0-dde3-4224-9fa8-d38a025aa0d3",
"name": "スケジュールトリガー",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-640,
-140
],
"parameters": {
"rule": {
"interval": [
{
"field": "hours"
}
]
}
},
"typeVersion": 1.2
},
{
"id": "0fc88546-50ef-4183-8fb2-dcea939f3bcf",
"name": "最近のメッセージ取得",
"type": "n8n-nodes-base.microsoftOutlook",
"position": [
-440,
-140
],
"webhookId": "48619a9a-d7a5-47af-983d-146e377d8767",
"parameters": {
"fields": [
"body",
"categories",
"conversationId",
"from",
"hasAttachments",
"internetMessageId",
"sender",
"subject",
"toRecipients",
"receivedDateTime",
"webLink"
],
"output": "fields",
"options": {},
"filtersUI": {
"values": {
"filters": {
"receivedAfter": "={{ $now.minus({ \"hour\": 1 }).toISO() }}"
}
}
},
"operation": "getAll"
},
"credentials": {
"microsoftOutlookOAuth2Api": {
"id": "EWg6sbhPKcM5y3Mr",
"name": "Microsoft Outlook account"
}
},
"typeVersion": 2
},
{
"id": "d056be7e-43ed-4fea-8aef-36579c656633",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
280,
40
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "8gccIjcuf3gvaoEr",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "e4b6fd9d-2506-45bf-bd80-a81a2c04306b",
"name": "構造化出力パーサー",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
480,
40
],
"parameters": {
"schemaType": "manual",
"inputSchema": "{\n \"type\": \"object\",\n \"properties\": {\n \"labels\": {\n \"type\": \"array\",\n \"items\": { \"type\": \"string\" }\n },\n \"priority\": { \"type\": \"number\" },\n \"summary\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" }\n }\n}"
},
"typeVersion": 1.2
},
{
"id": "3cef25fc-2581-4556-bf54-7704815d98b3",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
-340
],
"parameters": {
"color": 7,
"width": 700,
"height": 540,
"content": "## 2. Automate Generation and Triaging of Ticket\n[Read more about the Basic LLM node](https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.chainllm)\n\nNew tickets always need to be properly labelled and prioritised but it's not always possible to get to update all incoming tickets if you're light on hands. Using an AI is a great use-case for triaging of tickets as its contextual understanding helps automates this step."
},
"typeVersion": 1
},
{
"id": "d6ba8c9b-3e39-442f-8b79-cafe11c15a18",
"name": "Markdown",
"type": "n8n-nodes-base.markdown",
"position": [
100,
-140
],
"parameters": {
"html": "={{ $json.body.content }}",
"options": {}
},
"typeVersion": 1
},
{
"id": "fb7c6d7c-df30-43de-8f37-9e394a8ad7aa",
"name": "課題作成",
"type": "n8n-nodes-base.jira",
"position": [
900,
-140
],
"parameters": {
"project": {
"__rl": true,
"mode": "id",
"value": "10000"
},
"summary": "={{ $json.output.summary }}",
"issueType": {
"__rl": true,
"mode": "id",
"value": "10000"
},
"additionalFields": {
"labels": "={{ $json.output.labels }}",
"priority": {
"__rl": true,
"mode": "id",
"value": "={{ $json.output.priority }}"
},
"description": "={{ $json.output.description }}"
}
},
"credentials": {
"jiraSoftwareCloudApi": {
"id": "IH5V74q6PusewNjD",
"name": "Jira SW Cloud account"
}
},
"typeVersion": 1
},
{
"id": "9e26f402-36da-40e1-a736-db4fe16de54a",
"name": "既読マーク",
"type": "n8n-nodes-base.removeDuplicates",
"position": [
-240,
-140
],
"parameters": {
"options": {},
"operation": "removeItemsSeenInPreviousExecutions",
"dedupeValue": "={{ $json.id }}"
},
"typeVersion": 2
},
{
"id": "b5f49877-e494-4712-a937-1f348198700e",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-740,
-340
],
"parameters": {
"color": 7,
"width": 720,
"height": 540,
"content": "## 1. Watch Outlook Inbox for Support Emails\n[Learn more about the Outlook node](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.microsoftoutlook/)\n\n**This template assumes a shared inbox specifically for support tickets!** If you have a general inbox, you may need to classify and filter each message which might become costly. The \"remove duplicates\" node (ie. \"Mark as seen\") ensures we only process each email exactly once."
},
"typeVersion": 1
},
{
"id": "b9d08834-14ad-4cdf-bc20-411033eee5b7",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
720,
-340
],
"parameters": {
"color": 7,
"width": 460,
"height": 440,
"content": "## 3. Create Issue in JIRA\n[Read more about the JIRA node](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.jira/)\n\nThis is only a simple example to create an issue in JIRA but easily extendable to add much more!"
},
"typeVersion": 1
},
{
"id": "e6942a39-1893-44cf-a846-c6b4d9c37e92",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1160,
-720
],
"parameters": {
"width": 380,
"height": 940,
"content": "## Try It Out!\n### This n8n template watches an outlook shared inbox for support messages and creates an equivalent issue item in JIRA.\n\n### How it works\n* A scheduled trigger fetches recent Outlook messages from an shared inbox which collects support requests.\n* These support requests are filtered to ensure they are only processed once and their HTML body is converted to markdown for easier parsing.\n* Each support request is then triaged via an AI Agent which adds appropriate labels, assesses priority and summarises a title and description of the original request.\n* Finally, the AI generated values are used to create an issue in JIRA to be actioned.\n\n### How to use\n* Ensure the messages fetched are solely support requests otherwise you'll need to classify messages before processing them.\n* Specify the labels and priorities to use in the system prompt of the AI agent.\n\n### Requirements\n* Outlook for incoming support\n* OpenAI for LLM\n* JIRA for issue management\n\n### Customising this workflow\n* Consider automating more steps after the issue is created such as attempting issue resolution or capacity planning.\n\n\n### Need Help?\nJoin the [Discord](https://discord.com/invite/XPKeKXeB7d) or ask in the [Forum](https://community.n8n.io/)!\n\nHappy Hacking!"
},
"typeVersion": 1
},
{
"id": "71a906b2-7b01-43a8-aa82-7d9810d95e23",
"name": "サポートリクエストからの課題生成",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
300,
-140
],
"parameters": {
"text": "=Reported by {{ $json.from.emailAddress.name }} <{{ $json.from.emailAddress.address }}>\nReported at: {{ $now.toISO() }}\nSummary: {{ $json.subject }}\nDescription:\n{{ $json.data.replaceAll('\\n', ' ') }}",
"messages": {
"messageValues": [
{
"message": "=Your are JIRA triage assistant who's task is to\n1) classify and label the given issue.\n2) Prioritise the given issue.\n3) Rewrite the issue summary and description.\n\n## Labels\nUse one or more. Use words wrapped in \"[]\" (square brackets):\n* Technical\n* Account\n* Access\n* Billing\n* Product\n* Training\n* Feedback\n* Complaints\n* Security\n* Privacy\n\n## Priority\n* 1 - highest\n* 2 - high\n* 3 - medium\n* 4 - low\n* 5 - lowest\n\n## Write Summary and Description\n* Remove emotional and anedotal phrases or information\n* Keep to the facts of the matter\n* Highlight what was attempted and is/was failing"
}
]
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 1.6
}
],
"pinData": {},
"connections": {
"d6ba8c9b-3e39-442f-8b79-cafe11c15a18": {
"main": [
[
{
"node": "71a906b2-7b01-43a8-aa82-7d9810d95e23",
"type": "main",
"index": 0
}
]
]
},
"9e26f402-36da-40e1-a736-db4fe16de54a": {
"main": [
[
{
"node": "d6ba8c9b-3e39-442f-8b79-cafe11c15a18",
"type": "main",
"index": 0
}
]
]
},
"154458b0-dde3-4224-9fa8-d38a025aa0d3": {
"main": [
[
{
"node": "0fc88546-50ef-4183-8fb2-dcea939f3bcf",
"type": "main",
"index": 0
}
]
]
},
"d056be7e-43ed-4fea-8aef-36579c656633": {
"ai_languageModel": [
[
{
"node": "71a906b2-7b01-43a8-aa82-7d9810d95e23",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"0fc88546-50ef-4183-8fb2-dcea939f3bcf": {
"main": [
[
{
"node": "9e26f402-36da-40e1-a736-db4fe16de54a",
"type": "main",
"index": 0
}
]
]
},
"e4b6fd9d-2506-45bf-bd80-a81a2c04306b": {
"ai_outputParser": [
[
{
"node": "71a906b2-7b01-43a8-aa82-7d9810d95e23",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"71a906b2-7b01-43a8-aa82-7d9810d95e23": {
"main": [
[
{
"node": "fb7c6d7c-df30-43de-8f37-9e394a8ad7aa",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - エンジニアリング, サポート, 人工知能
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
サポートチケットの徴火速報と解決自動化
JIRAとAIを使用したサポートチケットトリアージ&解決の自動化
Set
Jira
Aggregate
+
Set
Jira
Aggregate
27 ノードJimleuk
サポート
Gmailのサポートリクエストメッセージを読み取り、自動のにLinear課題を作成する
GmailのサポートリクエストメッセージからLinearのIssueを自動のに作成
Gmail
Linear
Markdown
+
Gmail
Linear
Markdown
13 ノードJimleuk
サポート
JIRA、Supabase、AIを使ってサポートチケットを自動割り当て
JIRA、Supabase、AIでサポートチケットを自動割り当て
If
Set
Jira
+
If
Set
Jira
36 ノードJimleuk
サポート
Slack および Linear を使用した 顧客サポートチャネルとタケットシステム
SlackとLinearを使用したカスタマーサポートチャネルおよびチケットシステム
If
Set
Merge
+
If
Set
Merge
19 ノードJimleuk
サポート
Excel、Outlook、AIを使用した日中のニュースサマリーサービス
Excel、Outlook、AIを使った毎日のニュースブリーフィングサービス
If
Set
Html
+
If
Set
Html
33 ノードJimleuk
人工知能
AIエージェントの応答正確性をOpenAIとRAGASメソッドで評価
OpenAIとRAGASメソッドを使用してAIエージェントの応答の正確性を評価する
Set
Code
Merge
+
Set
Code
Merge
27 ノードJimleuk
エンジニアリング
ワークフロー情報
難易度
中級
ノード数12
カテゴリー3
ノードタイプ9
作成者
Jimleuk
@jimleukFreelance consultant based in the UK specialising in AI-powered automations. I work with select clients tackling their most challenging projects. For business enquiries, send me an email at hello@jimle.uk LinkedIn: https://www.linkedin.com/in/jimleuk/ X/Twitter: https://x.com/jimle_uk
外部リンク
n8n.ioで表示 →
このワークフローを共有