Jira 知識同期 - 簡易版(要約 → コメントと責任者)
上級
これはContent Creation, Multimodal AI分野の自動化ワークフローで、17個のノードを含みます。主にIf, Code, Jira, SplitInBatches, Agentなどのノードを使用。 GPT-4とPineconeベースのKnowledge Baseを活用した自動Jiraチケット返信
前提条件
- •OpenAI API Key
- •Pinecone API Key
使用ノード (17)
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "EA4KBc02CzW5rsGe",
"meta": {},
"name": "Jira Knowledge Sync - Minimal (Summary → Comment & Assignee)",
"tags": [],
"nodes": [
{
"id": "145032ef-4fe8-41f5-826b-28ccdb708f0a",
"name": "AI エージェント",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1500,
60
],
"parameters": {
"text": "=# タイトル\n{{ $('Code1').first().json.summary }}\n\n# 説明\n{{ $('Code1').first().json.description }}\n\n# コメント履歴\n{{ $json.comments }}",
"options": {
"systemMessage": "あなたはプロジェクトの開発者です。タスクがアサインされました。過去の知見を利用して対応をしてください。outputの内容をそのままJiraのコメント欄に記載します。また関連する過去の知見はIDも合わせて回答してください。"
},
"promptType": "define"
},
"typeVersion": 2
},
{
"id": "a535a477-1dff-40ec-b9ab-5ef39ae7df81",
"name": "OpenAI チャットモデル",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1460,
260
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"notesInFlow": false,
"typeVersion": 1.2
},
{
"id": "08e9c208-9c18-44a8-977c-7aaeef659ff5",
"name": "Pinecone ベクトルストア",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
1600,
260
],
"parameters": {
"mode": "retrieve-as-tool",
"options": {},
"pineconeIndex": {
"__rl": true,
"mode": "id",
"value": "<Pinecone Indexを入力>"
},
"toolDescription": "jira情報"
},
"typeVersion": 1.3
},
{
"id": "c667b76b-e39f-4d2d-9fb8-090c6714fe14",
"name": "OpenAI 埋め込み",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
1640,
400
],
"parameters": {
"options": {
"dimensions": 1536
}
},
"typeVersion": 1.2
},
{
"id": "58583546-0717-44f7-8c0a-1439e41c5777",
"name": "Jira Issue List",
"type": "n8n-nodes-base.jira",
"position": [
160,
0
],
"parameters": {
"options": {
"jql": "assignee = <アカウントIDを入力してください>"
},
"operation": "getAll"
},
"typeVersion": 1
},
{
"id": "7fe43277-2fe6-4d17-ae59-43f5bd76d63b",
"name": "Jira Issue Detail",
"type": "n8n-nodes-base.jira",
"position": [
780,
220
],
"parameters": {
"limit": 5,
"options": {},
"issueKey": "={{ $json.id }}",
"resource": "issueComment",
"operation": "getAll"
},
"typeVersion": 1
},
{
"id": "23f2d27a-d245-45c2-b168-afd4285342ad",
"name": "Jira Add Comment",
"type": "n8n-nodes-base.jira",
"position": [
1980,
260
],
"parameters": {
"comment": "={{ $json.output }}",
"options": {},
"issueKey": "={{ $('Code1').first().json.id }}",
"resource": "issueComment"
},
"typeVersion": 1
},
{
"id": "36551197-cca6-4d18-aca1-cb8e9c20c65c",
"name": "Jira Assign",
"type": "n8n-nodes-base.jira",
"position": [
2180,
440
],
"parameters": {
"issueKey": "={{ $('Code1').first().json.id }}",
"operation": "update",
"updateFields": {
"assignee": {
"__rl": true,
"mode": "id",
"value": "={{ $('Code2').item.json.accountId }}"
}
}
},
"typeVersion": 1
},
{
"id": "6fbc53a3-cbd5-4da6-8587-1ef2c100569c",
"name": "check accountId",
"type": "n8n-nodes-base.if",
"position": [
1180,
220
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "d717f6a8-6736-44e5-a131-ee77ffeb4c83",
"operator": {
"type": "string",
"operation": "notEquals"
},
"leftValue": "={{ $json.accountId }}",
"rightValue": "<アカウントIDを入力してください>"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "18548988-495d-4c5f-8dd0-c245881ce995",
"name": "ループ処理",
"type": "n8n-nodes-base.splitInBatches",
"position": [
360,
100
],
"parameters": {
"options": {}
},
"typeVersion": 3
},
{
"id": "228b44b3-ba50-475a-9df0-13f335834bb5",
"name": "コード1",
"type": "n8n-nodes-base.code",
"position": [
560,
220
],
"parameters": {
"jsCode": "return {\n 'id': $input.first().json.id,\n 'summary': $input.first().json.fields.summary,\n 'description': $input.first().json.fields.description,\n}"
},
"executeOnce": true,
"typeVersion": 2
},
{
"id": "f3b79caf-f65d-459e-8e1b-bd9dc16dc17b",
"name": "コード2",
"type": "n8n-nodes-base.code",
"position": [
980,
220
],
"parameters": {
"jsCode": "let comments = '';\nlet accountId = '';\nfor (const item of $input.all()) {\n comments += '## ' + item.json.updated\n comments += '\\n'\n comments += item.json.body.content[0].content[0].text\n comments += '\\n'\n comments += '\\n'\n\n accountId = item.json.updateAuthor.accountId\n}\n\nreturn {\n 'comments': comments,\n 'accountId': accountId\n};"
},
"typeVersion": 2
},
{
"id": "3d03736b-5ec9-465c-b5de-1a58b7470b9a",
"name": "スケジュールトリガー",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-40,
0
],
"parameters": {
"rule": {
"interval": [
{}
]
}
},
"typeVersion": 1.2
},
{
"id": "18113aa5-3964-4870-bcdd-173659825115",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-120,
-140
],
"parameters": {
"height": 820,
"content": "## Step1 \nScheduled Execution"
},
"typeVersion": 1
},
{
"id": "409f405e-6e9e-4498-993b-a4d63db96720",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
140,
-140
],
"parameters": {
"color": 4,
"width": 1240,
"height": 820,
"content": "## Step2\nJira Trigger (Issue Assigned)"
},
"typeVersion": 1
},
{
"id": "ff7675e6-5afb-4117-86ff-64e005558b06",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1400,
-140
],
"parameters": {
"color": 5,
"width": 500,
"height": 820,
"content": "## Step3\nAI Assistant"
},
"typeVersion": 1
},
{
"id": "f31aaf67-fa23-45b8-8f52-af3738dd3f52",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1920,
-140
],
"parameters": {
"color": 6,
"width": 500,
"height": 820,
"content": "## Step4\nResponse Generation / Ticket Update"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "72ac3c2c-4590-4f79-adad-946aeca43540",
"connections": {
"Code1": {
"main": [
[
{
"node": "7fe43277-2fe6-4d17-ae59-43f5bd76d63b",
"type": "main",
"index": 0
}
]
]
},
"Code2": {
"main": [
[
{
"node": "6fbc53a3-cbd5-4da6-8587-1ef2c100569c",
"type": "main",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[
{
"node": "23f2d27a-d245-45c2-b168-afd4285342ad",
"type": "main",
"index": 0
}
]
]
},
"36551197-cca6-4d18-aca1-cb8e9c20c65c": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"58583546-0717-44f7-8c0a-1439e41c5777": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[],
[
{
"node": "Code1",
"type": "main",
"index": 0
}
]
]
},
"6fbc53a3-cbd5-4da6-8587-1ef2c100569c": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
],
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"23f2d27a-d245-45c2-b168-afd4285342ad": {
"main": [
[
{
"node": "36551197-cca6-4d18-aca1-cb8e9c20c65c",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "58583546-0717-44f7-8c0a-1439e41c5777",
"type": "main",
"index": 0
}
]
]
},
"Embeddings OpenAI": {
"ai_embedding": [
[
{
"node": "Pinecone Vector Store",
"type": "ai_embedding",
"index": 0
}
]
]
},
"7fe43277-2fe6-4d17-ae59-43f5bd76d63b": {
"main": [
[
{
"node": "Code2",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Pinecone Vector Store": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
上級 - コンテンツ作成, マルチモーダルAI
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
コンテンツジェネレーター v3
AI驱动ブログ自動化:使用GPT-4生成并公開SEO記事至WordPressとTwitter
If
Set
Code
+
If
Set
Code
144 ノードJay Emp0
コンテンツ作成
ブログパブリッシャー – 完全AI駆動のコンテンツ調査、作成、最適化、公開の自動化
Gemini、Ideogram AI、WordPress でブログ作成と公開を自動化
If
Set
Code
+
If
Set
Code
35 ノードIncrementors
コンテンツ作成
Apollo データスクレイピングとタッチアウトフロー 1 ✅
Apollo、AI による解析と計画されたメール.follow-up によるリード生成の自動化
If
Code
Wait
+
If
Code
Wait
39 ノードDeniz
コンテンツ作成
WordPressブログの自動化プロフェッショナル版(先端研究)v2.1マーケットプラグイン
GPT-4o、Perplexity AI、そして多言語対応を使ったSEO最適化ブログ作成の自動化
If
Set
Xml
+
If
Set
Xml
125 ノードDaniel Ng
コンテンツ作成
YouTube 動画に基づく自律ブログ公開
YouTube 動画から ChatGPT、Sheets、Apify、Pexels、WordPress を使用してブログの自主公開
If
Set
Code
+
If
Set
Code
80 ノードOriol Seguí
コンテンツ作成
PineconeへのJira未解決タスクとコメントのロード
Jiraの課題をRAG駆動のサポートエージェントとして Pinecone と OpenAI を使用する
Set
Code
Merge
+
Set
Code
Merge
30 ノードBr1
コンテンツ作成