RAGを使ったよくある質問

上級

これはSupport Chatbot, AI RAG分野の自動化ワークフローで、20個のノードを含みます。主にSet, Webhook, GoogleDrive, SplitInBatches, ExtractFromFileなどのノードを使用。 Google Drive PDF と Azure GPT-4o-mini を使用したRAG顧客 frequently asked questions ボット

前提条件
  • HTTP Webhookエンドポイント(n8nが自動生成)
  • Google Drive API認証情報
  • OpenAI API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "KnDPqmOImxWj0wpJ",
  "meta": {
    "instanceId": "8443f10082278c46aa5cf3acf8ff0f70061a2c58bce76efac814b16290845177",
    "templateCredsSetupCompleted": true
  },
  "name": "Client FAQ with RAG",
  "tags": [],
  "nodes": [
    {
      "id": "eecd2895-7c90-4c39-aea0-df1bee0c5ea1",
      "name": "ファイルをダウンロード",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        192,
        -208
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "652148d1-e9f2-4c11-a7af-b8be79fc05f4",
      "name": "回答を返す",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1488,
        -208
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "22daac0f-0b08-4278-9b30-e860ce13d081",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -480,
        -208
      ],
      "webhookId": "f7b61aa4-937f-4deb-adca-9842956ec0b2",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "2e48c8de-b4aa-411f-a941-2ca27478d92a",
      "name": "ファイルとフォルダを検索",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -32,
        -208
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "8c1b6c1d-3867-4de9-a3f7-4da349ad0680",
      "name": "Basic LLM Chain",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1088,
        -208
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "99f0ca75-788d-4842-a3d5-c3fb8d33926b",
      "name": "Azure OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        1216,
        -16
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "204e7e1d-ca20-4244-97e8-274ff50730a1",
      "name": "フィールドを編集",
      "type": "n8n-nodes-base.set",
      "position": [
        -256,
        -208
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a7fee491-3849-4f6a-973e-8a3316ad675e",
      "name": "ファイルから抽出",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        640,
        -208
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d4f816ed-f0bf-4ddd-93c6-1faeca103d67",
      "name": "フィールドを編集1",
      "type": "n8n-nodes-base.set",
      "position": [
        864,
        -208
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "70ca3288-578b-448d-8c91-4db21f90f1b7",
      "name": "項目をループ処理",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        416,
        -208
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "0b85ed52-433a-41c8-b59c-7ce571a60058",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        -448
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "53e32f3b-daac-4162-b5c5-2f03f27deb33",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -336,
        -48
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "05b81c89-7025-4391-a9d2-04694cea55a9",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        -528
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0732aea4-13db-4b15-a23a-90f944fae5f4",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        -32
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e1b04004-a6c4-49bc-afdc-54595d1aad5f",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        256,
        -528
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b188aeee-b9eb-4f5a-b69c-50d222f36f7e",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        -32
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1679efb1-ce04-4615-8370-88f080f453ac",
      "name": "付箋6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        -560
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "35d57883-2c17-4efa-8962-5885d9864664",
      "name": "付箋7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1056,
        -560
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9a9fa02f-082e-46df-b02e-c6fa8970b4bf",
      "name": "付箋8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        944,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "68615f2a-ad06-40c4-a951-14252cb44798",
      "name": "付箋9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1472,
        -528
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "cc50129c-88a8-4116-b3a3-39640cabb090",
  "connections": {
    "22daac0f-0b08-4278-9b30-e860ce13d081": {
      "main": [
        [
          {
            "node": "204e7e1d-ca20-4244-97e8-274ff50730a1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "204e7e1d-ca20-4244-97e8-274ff50730a1": {
      "main": [
        [
          {
            "node": "2e48c8de-b4aa-411f-a941-2ca27478d92a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d4f816ed-f0bf-4ddd-93c6-1faeca103d67": {
      "main": [
        [
          {
            "node": "8c1b6c1d-3867-4de9-a3f7-4da349ad0680",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "eecd2895-7c90-4c39-aea0-df1bee0c5ea1": {
      "main": [
        [
          {
            "node": "70ca3288-578b-448d-8c91-4db21f90f1b7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8c1b6c1d-3867-4de9-a3f7-4da349ad0680": {
      "main": [
        [
          {
            "node": "652148d1-e9f2-4c11-a7af-b8be79fc05f4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "70ca3288-578b-448d-8c91-4db21f90f1b7": {
      "main": [
        [],
        [
          {
            "node": "a7fee491-3849-4f6a-973e-8a3316ad675e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a7fee491-3849-4f6a-973e-8a3316ad675e": {
      "main": [
        [
          {
            "node": "d4f816ed-f0bf-4ddd-93c6-1faeca103d67",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "99f0ca75-788d-4842-a3d5-c3fb8d33926b": {
      "ai_languageModel": [
        [
          {
            "node": "8c1b6c1d-3867-4de9-a3f7-4da349ad0680",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "2e48c8de-b4aa-411f-a941-2ca27478d92a": {
      "main": [
        [
          {
            "node": "eecd2895-7c90-4c39-aea0-df1bee0c5ea1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

上級 - サポートチャットボット, AI RAG検索拡張

有料ですか?

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

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

上級者向け、16ノード以上の複雑なワークフロー

作成者
Rahul Joshi

Rahul Joshi

@rahul08

Rahul Joshi is a seasoned technology leader specializing in the n8n automation tool and AI-driven workflow automation. With deep expertise in building open-source workflow automation and self-hosted automation platforms, he helps organizations eliminate manual processes through intelligent n8n ai agent automation solutions.

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34