OpenAIとNotionを使用して、ウェブサイトに埋め込める知識ベースチャットボットを作成する

中級

これはSupport Chatbot, AI RAG分野の自動化ワークフローで、9個のノードを含みます。主にNotionTool, Agent, ChatTrigger, LmChatOpenAi, MemoryBufferWindowなどのノードを使用。 OpenAIとNotionを使ってウェブサイトに埋め込める知識ベースチャットボットを作成

前提条件
  • Notion API Key
  • OpenAI API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "cba9e349b601c19a1409b9fd06680aff0a77829be13c8aad9a858d4cea7ff290",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "889783dd-88c8-4344-ab75-26ff93abbc03",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -416,
        528
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "de6ea262-83f6-4411-bd3a-a594f52e4967",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -128,
        528
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0dfc989d-7dd2-4b9c-b0d9-245e28a90c68",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        224,
        528
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "55c51c3f-8c2e-41e5-a956-c5f5f936b21b",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -288,
        -112
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e8b9d000-d0ac-4574-9db8-7f286dcf5b58",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -336,
        368
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "6d3f259c-2d95-4d52-b270-c7f0bfb41a69",
      "name": "チャット会話を開始",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -384,
        144
      ],
      "webhookId": "cf1de04f-3e38-426c-89f0-3bdb110a5dcf",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "93e69333-6752-4dc7-85e7-76e2a3140a9e",
      "name": "Smart AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -128,
        144
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "683ce86c-ee1c-4809-a775-d949a3795354",
      "name": "チャット履歴を記憶",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -16,
        368
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "c0c049f9-81f4-47a4-ad8f-e6a9f1049a99",
      "name": "Set & Get Notion Database",
      "type": "n8n-nodes-base.notionTool",
      "position": [
        320,
        368
      ],
      "parameters": {},
      "typeVersion": 2.2
    }
  ],
  "pinData": {},
  "connections": {
    "e8b9d000-d0ac-4574-9db8-7f286dcf5b58": {
      "ai_languageModel": [
        [
          {
            "node": "93e69333-6752-4dc7-85e7-76e2a3140a9e",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "683ce86c-ee1c-4809-a775-d949a3795354": {
      "ai_memory": [
        [
          {
            "node": "93e69333-6752-4dc7-85e7-76e2a3140a9e",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "6d3f259c-2d95-4d52-b270-c7f0bfb41a69": {
      "main": [
        [
          {
            "node": "93e69333-6752-4dc7-85e7-76e2a3140a9e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c0c049f9-81f4-47a4-ad8f-e6a9f1049a99": {
      "ai_tool": [
        [
          {
            "node": "93e69333-6752-4dc7-85e7-76e2a3140a9e",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

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

有料ですか?

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

関連ワークフロー

OpenAI GPT と Airtable 知識ベースを使用したインタラクティブなチャットボットの作成
OpenAI GPTとAirtableのKnowledge Baseを使用したスマートチャットボットを作成する
Airtable Tool
Agent
Chat Trigger
+
Airtable Tool
Agent
Chat Trigger
9 ノードGegenfeld
サポートチャットボット
OpenAI GPT-4 Miniを活用したBaserowデータベース検索AIチャットボット
OpenAI GPT-4 Miniを使用してBaserowデータベースを検索するAIチャットボット
Baserow Tool
Agent
Chat Trigger
+
Baserow Tool
Agent
Chat Trigger
9 ノードGegenfeld
サポートチャットボット
動のMongoDB知識ベースチャットボット
OpenAI GPTに基づく動のMongoDB知識ベースチャットボット
Mongo Db Tool
Agent
Chat Trigger
+
Mongo Db Tool
Agent
Chat Trigger
9 ノードGegenfeld
内部Wiki
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
AI サポート デスク用の Supabase および JIRA 統合
GPT、Supabaseベクター検索、JIRAチケットに基づくSlack ITデスクの自動化
If
Set
Slack
+
If
Set
Slack
25 ノードinderjeet Bhambra
サポートチャットボット
AI駆動型WhatsAppチャットボット
ドキュメント用のRAG駆動 WhatsApp チャットボットを構築:GPT-4o-mini と MongoDB を使用
Set
Code
Switch
+
Set
Code
Switch
35 ノードMuhammad Shahzaib Shahid
サポートチャットボット
ワークフロー情報
難易度
中級
ノード数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