動のMongoDB知識ベースチャットボット

中級

これはInternal Wiki, AI RAG分野の自動化ワークフローで、9個のノードを含みます。主にMongoDbTool, Agent, ChatTrigger, LmChatOpenAi, MemoryBufferWindowなどのノードを使用。 OpenAI GPTに基づく動のMongoDB知識ベースチャットボット

前提条件
  • MongoDB接続文字列
  • OpenAI API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "cba9e349b601c19a1409b9fd06680aff0a77829be13c8aad9a858d4cea7ff290"
  },
  "nodes": [
    {
      "id": "76870e68-37c2-41f9-a07b-4f895cd49332",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        448
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a2012852-fe36-4aef-acf9-abe0ff59cab1",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -192,
        448
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9bac9112-c22f-42b3-b24b-df2eaaa2a452",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        448
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e91ab3aa-43e7-4799-a00b-877dc8e9d17d",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -352,
        -192
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "91c92861-211c-492e-883e-f43f4d9a2d3c",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -400,
        288
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "c614dd51-269d-4349-9728-b19fb78b5f46",
      "name": "チャット会話開始",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -448,
        64
      ],
      "webhookId": "cf1de04f-3e38-426c-89f0-3bdb110a5dcf",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "40661eb9-8802-4fd9-bd7e-0b07871c43e4",
      "name": "スマートAIエージェント",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -192,
        64
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "5a88768f-3249-4f8c-924b-c4d44d36012d",
      "name": "チャット履歴記憶",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -80,
        288
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "a34afd41-ff47-456b-be9e-ae98e8ddeddd",
      "name": "MongoDB Database Lookup",
      "type": "n8n-nodes-base.mongoDbTool",
      "position": [
        240,
        288
      ],
      "parameters": {},
      "typeVersion": 1.2
    }
  ],
  "pinData": {},
  "connections": {
    "91c92861-211c-492e-883e-f43f4d9a2d3c": {
      "ai_languageModel": [
        [
          {
            "node": "40661eb9-8802-4fd9-bd7e-0b07871c43e4",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "5a88768f-3249-4f8c-924b-c4d44d36012d": {
      "ai_memory": [
        [
          {
            "node": "40661eb9-8802-4fd9-bd7e-0b07871c43e4",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "a34afd41-ff47-456b-be9e-ae98e8ddeddd": {
      "ai_tool": [
        [
          {
            "node": "40661eb9-8802-4fd9-bd7e-0b07871c43e4",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "c614dd51-269d-4349-9728-b19fb78b5f46": {
      "main": [
        [
          {
            "node": "40661eb9-8802-4fd9-bd7e-0b07871c43e4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

中級 - 内部Wiki, AI RAG検索拡張

有料ですか?

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

関連ワークフロー

OpenAI GPT-4.1-MiniとSupabaseデータベース知識ベースを活用したAIチャットボット
OpenAI GPT-4.1-MiniとSupabaseデータベース知識ベースを活用したAIチャットボット
Supabase Tool
Agent
Chat Trigger
+
Supabase Tool
Agent
Chat Trigger
9 ノードGegenfeld
内部Wiki
OpenAIとNotionを使用して、ウェブサイトに埋め込める知識ベースチャットボットを作成する
OpenAIとNotionを使ってウェブサイトに埋め込める知識ベースチャットボットを作成
Notion Tool
Agent
Chat Trigger
+
Notion Tool
Agent
Chat Trigger
9 ノードGegenfeld
サポートチャットボット
OpenAI GPT と Airtable 知識ベースを使用したインタラクティブなチャットボットの作成
OpenAI GPTとAirtableのKnowledge Baseを使用したスマートチャットボットを作成する
Airtable Tool
Agent
Chat Trigger
+
Airtable Tool
Agent
Chat Trigger
9 ノードGegenfeld
サポートチャットボット
シンプルな RAG
PDFベースのRAGシステムをOpenAI、Pinecone、Cohereの再ランキングで構築する
Form Trigger
Agent
Chat Trigger
+
Form Trigger
Agent
Chat Trigger
14 ノードAji Prakoso
内部Wiki
🤖 Gemini RAGパイプラインを使用してドキュメントエキスパートチャットボットを構築
n8nドキュメント専門のチャットボットをOpenAI RAGパイプラインで構築
Set
Html
Filter
+
Set
Html
Filter
46 ノードAyham
内部Wiki
メール履歴RAG
Gmail、OpenAI、Qdrantベクトルデータベースを使ってメールの知識ベースを作成する
Code
Gmail
Gmail Trigger
+
Code
Gmail
Gmail Trigger
23 ノードZain Ali
内部Wiki
ワークフロー情報
難易度
中級
ノード数9
カテゴリー2
ノードタイプ6
難易度説明

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

作成者
Gegenfeld

Gegenfeld

@gegenfeld

We at Gegenfeld are an EdTech platform dedicated to delivering high-quality on-demand courses and interactive training sessions for professional development at all skill levels. With our commitment to "Accelerate your future," we empower professionals to enhance their expertise through engaging, industry-focused learning experiences. On n8n, we share some of the workflows used in our interactive training to provide deeper insights and practical applications.

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34