高度なチャットボット+RAGエージェント

上級

これはSupport, AI分野の自動化ワークフローで、34個のノードを含みます。主にSet, Webhook, GoogleDrive, HttpRequest, ManualTriggerなどのノードを使用、AI技術を活用したスマート自動化を実現。 OpenAI、Google Sheets、Glide、Supabaseを基盤としたAI駆動型RAG質問応答チャットボット

前提条件
  • HTTP Webhookエンドポイント(n8nが自動生成)
  • Google Drive API認証情報
  • ターゲットAPIの認証情報が必要な場合あり
  • OpenAI API Key
  • Qdrantサーバー接続情報
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "cqUkesdTBt1eb0Ny",
  "meta": {
    "instanceId": "5beb610c1ddaf0be11e46fd8edaf0e265560c93f1638f8638d6a8a7adf44f57e"
  },
  "name": "Advanced Chatbot+Rag Agent",
  "tags": [],
  "nodes": [
    {
      "id": "b1f01c72-c1bf-4729-9016-431c06270e92",
      "name": "n8n_order",
      "type": "n8n-nodes-base.webhook",
      "position": [
        0,
        240
      ],
      "webhookId": "9ff7a394-5b4b-4790-a96b-c41c4ba27fa5",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "063583e6-bb88-4c88-801b-fdd57e2b92a6",
      "name": "Google Calendar",
      "type": "n8n-nodes-base.googleCalendar",
      "position": [
        2020,
        220
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "57e406c7-5b52-49c1-a4c6-bee15d97bdcd",
      "name": "OpenAI Chat Model3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1600,
        420
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "7b6f9c79-95aa-42ee-a0f6-4b1eeec7192c",
      "name": "Concert start date",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1640,
        220
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "b4556eea-381d-4ac2-8930-248043ed02e3",
      "name": "n8n_appointment",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1380,
        220
      ],
      "webhookId": "f5edfe92-649b-40da-ab35-f818ccb55ad4",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "9f443fc4-e71a-4152-b304-c4a8cbf8abea",
      "name": "Retrive Qdrant Vector Store",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        3260,
        420
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c9e4d71a-80db-45c9-8cb6-7d645c081de7",
      "name": "Embeddings OpenAI2",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        3220,
        600
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "d70f8ef2-e252-4dca-acf5-cec60f80db7c",
      "name": "RAG",
      "type": "@n8n/n8n-nodes-langchain.toolVectorStore",
      "position": [
        3420,
        220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d9884de0-7389-4cd8-9657-80fffa95fe34",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        3220,
        220
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "41441ea8-f3c0-4b36-8a47-f12e3a624866",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        3580,
        440
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "51a0a38b-ab01-47b8-9665-0cbc2be623f6",
      "name": "Retrive Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        3300,
        0
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "6dc391c8-54bb-4223-b0fb-aa99ba9becb6",
      "name": "n8n_rag",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2880,
        0
      ],
      "webhookId": "edb1e894-1210-4902-a34f-a014bbdad8d8",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "4461b2ea-9391-4d16-8e8a-9b5bd077f899",
      "name": "Tracking response",
      "type": "n8n-nodes-base.set",
      "position": [
        700,
        240
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "16918647-88af-4a67-8798-e1a24c142d82",
      "name": "Calendar response",
      "type": "n8n-nodes-base.set",
      "position": [
        2220,
        220
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "758d752c-06ab-473c-8ebc-ccac5792207d",
      "name": "Webhook tracking response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1040,
        240
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "53c2db23-0b29-40a8-9c6c-66582785f363",
      "name": "API URL Tracking",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        360,
        240
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "19d9fdf0-ee81-4a2b-9f23-f160ffc9ace9",
      "name": "Webhook calendar response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2420,
        220
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "1404754e-362c-45a8-a48d-5bdd81903ed5",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1860,
        420
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "50445cd1-d8e3-4132-b81c-29c61ab4c4e4",
      "name": "Webhook RAG response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3940,
        0
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e4aa410b-6c69-4a4f-a774-0d8dc18fa7d3",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4400,
        -240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5849e29d-80bb-4b4b-b01c-5df0e125710d",
      "name": "「ワークフローのテスト」クリック時",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1920,
        120
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0393e143-7e02-4e25-bd1a-96ade644ee52",
      "name": "Qdrant Vector Store",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        -620,
        240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1a16e82c-1072-4a68-8e32-2ebb93afa211",
      "name": "Create collection",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -860,
        -80
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "2d995c22-3ac9-4714-a7b8-0f9d58b44385",
      "name": "Refresh collection",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1300,
        240
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "9830b153-1ec5-431a-b2a1-9434934eac79",
      "name": "Get folder",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -1080,
        240
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "f7b07a4d-19d6-4e92-9ad8-030bf4371227",
      "name": "Download Files",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -860,
        240
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "c7aab9a9-6972-4510-8534-cad58d2532df",
      "name": "Embeddings OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        -640,
        440
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "992e7ef4-c08a-4c54-b2df-5489dcc91dcb",
      "name": "Default Data Loader",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        -460,
        440
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "60b75454-0608-4f86-a9ed-ff55f0046615",
      "name": "Token Splitter",
      "type": "@n8n/n8n-nodes-langchain.textSplitterTokenSplitter",
      "position": [
        -440,
        580
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a7e705e9-9896-46cd-9a69-41aa2e0b9c66",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1360,
        -240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6d004528-4049-41f8-be6d-5a694780f352",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1360,
        180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d80d575d-8dc9-43e7-b14d-4a9d00a1330b",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2820,
        -180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c82ee641-46fa-4534-b9ff-246caf46d60e",
      "name": "付箋6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -60,
        40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "091602c1-6c19-4dbd-885a-ba393068f6af",
      "name": "付箋7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1300,
        40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "87411f47-2164-4d91-9416-833740264b6f",
  "connections": {
    "d70f8ef2-e252-4dca-acf5-cec60f80db7c": {
      "ai_tool": [
        [
          {
            "node": "51a0a38b-ab01-47b8-9665-0cbc2be623f6",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "6dc391c8-54bb-4223-b0fb-aa99ba9becb6": {
      "main": [
        [
          {
            "node": "51a0a38b-ab01-47b8-9665-0cbc2be623f6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b1f01c72-c1bf-4729-9016-431c06270e92": {
      "main": [
        [
          {
            "node": "53c2db23-0b29-40a8-9c6c-66582785f363",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9830b153-1ec5-431a-b2a1-9434934eac79": {
      "main": [
        [
          {
            "node": "f7b07a4d-19d6-4e92-9ad8-030bf4371227",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "51a0a38b-ab01-47b8-9665-0cbc2be623f6": {
      "main": [
        [
          {
            "node": "50445cd1-d8e3-4132-b81c-29c61ab4c4e4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f7b07a4d-19d6-4e92-9ad8-030bf4371227": {
      "main": [
        [
          {
            "node": "0393e143-7e02-4e25-bd1a-96ade644ee52",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "60b75454-0608-4f86-a9ed-ff55f0046615": {
      "ai_textSplitter": [
        [
          {
            "node": "992e7ef4-c08a-4c54-b2df-5489dcc91dcb",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "063583e6-bb88-4c88-801b-fdd57e2b92a6": {
      "main": [
        [
          {
            "node": "16918647-88af-4a67-8798-e1a24c142d82",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b4556eea-381d-4ac2-8930-248043ed02e3": {
      "main": [
        [
          {
            "node": "7b6f9c79-95aa-42ee-a0f6-4b1eeec7192c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "53c2db23-0b29-40a8-9c6c-66582785f363": {
      "main": [
        [
          {
            "node": "4461b2ea-9391-4d16-8e8a-9b5bd077f899",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "16918647-88af-4a67-8798-e1a24c142d82": {
      "main": [
        [
          {
            "node": "19d9fdf0-ee81-4a2b-9f23-f160ffc9ace9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c7aab9a9-6972-4510-8534-cad58d2532df": {
      "ai_embedding": [
        [
          {
            "node": "0393e143-7e02-4e25-bd1a-96ade644ee52",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "4461b2ea-9391-4d16-8e8a-9b5bd077f899": {
      "main": [
        [
          {
            "node": "758d752c-06ab-473c-8ebc-ccac5792207d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7b6f9c79-95aa-42ee-a0f6-4b1eeec7192c": {
      "main": [
        [
          {
            "node": "063583e6-bb88-4c88-801b-fdd57e2b92a6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c9e4d71a-80db-45c9-8cb6-7d645c081de7": {
      "ai_embedding": [
        [
          {
            "node": "9f443fc4-e71a-4152-b304-c4a8cbf8abea",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "41441ea8-f3c0-4b36-8a47-f12e3a624866": {
      "ai_languageModel": [
        [
          {
            "node": "d70f8ef2-e252-4dca-acf5-cec60f80db7c",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "d9884de0-7389-4cd8-9657-80fffa95fe34": {
      "ai_languageModel": [
        [
          {
            "node": "51a0a38b-ab01-47b8-9665-0cbc2be623f6",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "57e406c7-5b52-49c1-a4c6-bee15d97bdcd": {
      "ai_languageModel": [
        [
          {
            "node": "7b6f9c79-95aa-42ee-a0f6-4b1eeec7192c",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "2d995c22-3ac9-4714-a7b8-0f9d58b44385": {
      "main": [
        [
          {
            "node": "9830b153-1ec5-431a-b2a1-9434934eac79",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "992e7ef4-c08a-4c54-b2df-5489dcc91dcb": {
      "ai_document": [
        [
          {
            "node": "0393e143-7e02-4e25-bd1a-96ade644ee52",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "1404754e-362c-45a8-a48d-5bdd81903ed5": {
      "ai_outputParser": [
        [
          {
            "node": "7b6f9c79-95aa-42ee-a0f6-4b1eeec7192c",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "9f443fc4-e71a-4152-b304-c4a8cbf8abea": {
      "ai_vectorStore": [
        [
          {
            "node": "d70f8ef2-e252-4dca-acf5-cec60f80db7c",
            "type": "ai_vectorStore",
            "index": 0
          }
        ]
      ]
    },
    "5849e29d-80bb-4b4b-b01c-5df0e125710d": {
      "main": [
        [
          {
            "node": "1a16e82c-1072-4a68-8e32-2ebb93afa211",
            "type": "main",
            "index": 0
          },
          {
            "node": "2d995c22-3ac9-4714-a7b8-0f9d58b44385",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

上級 - サポート, 人工知能

有料ですか?

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

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

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

作成者
Sam Yassine

Sam Yassine

@samyassine

AI Automation Expert | n8n Wizard | Workflow Simplifier I turn complex processes into powerful automations using n8n. Whether you're scaling your business or saving hours of manual work, I've got plug-and-play templates that bring AI and automation together—fast, smart, and easy. Let’s make your systems work for you.

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34