Jira Vector - 登録の最小化

中級

これは自動化ワークフローで、12個のノードを含みます。主にCode, Jira, SplitInBatches, ScheduleTrigger, EmbeddingsOpenAiなどのノードを使用。 OpenAI 埋め込みと Pinecone を使って Jira チケットからキーワードを作成

前提条件
  • OpenAI API Key
  • Pinecone API Key

カテゴリー

-
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "nYXuCXZGkJtkCBVN",
  "meta": {},
  "name": "Jira Vector - Register Minimal",
  "tags": [],
  "nodes": [
    {
      "id": "ffeeb416-bbec-4b6d-b2fc-76352e182585",
      "name": "Jira 課題一覧",
      "type": "n8n-nodes-base.jira",
      "position": [
        120,
        140
      ],
      "parameters": {
        "options": {
          "jql": "statusCategory IN (\"Done\") AND updated > -1d"
        },
        "operation": "getAll"
      },
      "typeVersion": 1,
      "alwaysOutputData": false
    },
    {
      "id": "5eb278ff-4b2d-40ac-a13a-99159f877c06",
      "name": "Jira 課題詳細",
      "type": "n8n-nodes-base.jira",
      "position": [
        740,
        360
      ],
      "parameters": {
        "limit": 5,
        "options": {},
        "issueKey": "={{ $json.id }}",
        "resource": "issueComment",
        "operation": "getAll"
      },
      "typeVersion": 1
    },
    {
      "id": "1e6e3731-04cb-4773-b902-08503f7dd483",
      "name": "アイテムループ処理",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        320,
        240
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "a5bbfc71-eedb-4966-b62f-675718db109c",
      "name": "コード1",
      "type": "n8n-nodes-base.code",
      "position": [
        520,
        360
      ],
      "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": "5c980f99-aee4-4fbc-9e5d-cbd592e2f36c",
      "name": "コード2",
      "type": "n8n-nodes-base.code",
      "position": [
        940,
        360
      ],
      "parameters": {
        "jsCode": "let comments = '';\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\nreturn {\n  'id': $('Code1').first().json.id,\n  'summary': $('Code1').first().json.summary,\n  'description': $('Code1').first().json.description,\n  'comments': comments,\n};"
      },
      "typeVersion": 2
    },
    {
      "id": "48358c4e-9f36-4d07-b85d-35982139b963",
      "name": "スケジュールトリガー",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -80,
        140
      ],
      "parameters": {
        "rule": {
          "interval": [
            {}
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "ae49fa6d-5efc-4fbb-9c70-0563d9f6a911",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        -20
      ],
      "parameters": {
        "color": 4,
        "width": 1060,
        "height": 780,
        "content": "## Step2 : Jira Trigger (Completed Tickets)\nRetrieves the summary, description, and comments of completed Jira tickets.\nThe target tickets are fetched using the Jira Issue Detail node, and the data is formatted in the Code2 node."
      },
      "typeVersion": 1
    },
    {
      "id": "5c6b673f-d9f5-43cf-b881-353806620f6e",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -200,
        -20
      ],
      "parameters": {
        "width": 280,
        "height": 780,
        "content": "## Step1 : Scheduled Trigger\nThe workflow runs at regular intervals according to the schedule set in the Scheduled Trigger node."
      },
      "typeVersion": 1
    },
    {
      "id": "bff28b0a-9ef1-4da6-bc56-9f3927002d4e",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1180,
        -20
      ],
      "parameters": {
        "color": 5,
        "width": 440,
        "height": 780,
        "content": "## Step3 : Register to Pinecone\nConverts the retrieved ticket information into vectors and registers them in Pinecone.  "
      },
      "typeVersion": 1
    },
    {
      "id": "30559523-f51d-4808-a14f-d355ceb0c555",
      "name": "Pinecone ベクトルストア",
      "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "position": [
        1240,
        360
      ],
      "parameters": {
        "mode": "insert",
        "options": {},
        "pineconeIndex": {
          "__rl": true,
          "mode": "id",
          "value": "<Pinecone Index>"
        }
      },
      "notesInFlow": false,
      "typeVersion": 1.3
    },
    {
      "id": "b1ef66ca-649b-49f5-a6b5-bd2ad433e8d3",
      "name": "OpenAI 埋め込み",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        1240,
        600
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.2
    },
    {
      "id": "18aca75a-697d-42a5-9d47-63820cfee0ad",
      "name": "デフォルトデータローダー",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        1420,
        600
      ],
      "parameters": {
        "options": {
          "metadata": {
            "metadataValues": [
              {
                "name": "JiraIssueID",
                "value": "={{ $json.id }}"
              },
              {
                "name": "JiraUrl"
              }
            ]
          }
        }
      },
      "typeVersion": 1.1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "485fc0b1-6ff8-49e7-a23f-2c37f059819d",
  "connections": {
    "a5bbfc71-eedb-4966-b62f-675718db109c": {
      "main": [
        [
          {
            "node": "5eb278ff-4b2d-40ac-a13a-99159f877c06",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5c980f99-aee4-4fbc-9e5d-cbd592e2f36c": {
      "main": [
        [
          {
            "node": "30559523-f51d-4808-a14f-d355ceb0c555",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ffeeb416-bbec-4b6d-b2fc-76352e182585": {
      "main": [
        [
          {
            "node": "1e6e3731-04cb-4773-b902-08503f7dd483",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1e6e3731-04cb-4773-b902-08503f7dd483": {
      "main": [
        [],
        [
          {
            "node": "a5bbfc71-eedb-4966-b62f-675718db109c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "48358c4e-9f36-4d07-b85d-35982139b963": {
      "main": [
        [
          {
            "node": "ffeeb416-bbec-4b6d-b2fc-76352e182585",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b1ef66ca-649b-49f5-a6b5-bd2ad433e8d3": {
      "ai_embedding": [
        [
          {
            "node": "30559523-f51d-4808-a14f-d355ceb0c555",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "5eb278ff-4b2d-40ac-a13a-99159f877c06": {
      "main": [
        [
          {
            "node": "5c980f99-aee4-4fbc-9e5d-cbd592e2f36c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "18aca75a-697d-42a5-9d47-63820cfee0ad": {
      "ai_document": [
        [
          {
            "node": "30559523-f51d-4808-a14f-d355ceb0c555",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "30559523-f51d-4808-a14f-d355ceb0c555": {
      "main": [
        [
          {
            "node": "1e6e3731-04cb-4773-b902-08503f7dd483",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

中級

有料ですか?

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

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

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

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34