Google Docs、Discord、GPT-4o-mini を基にした知識ベース

上級

これはSupport, AI分野の自動化ワークフローで、16個のノードを含みます。主にSet, Switch, GoogleDocs, DiscordTool, Agentなどのノードを使用、AI技術を活用したスマート自動化を実現。 Googleドキュメント・Discord・GPT-4o-miniに基づくデータベース

前提条件
  • Discord Bot Token または Webhook
  • OpenAI API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "8931e7db592c2960ce253801ea290c1dc66e447734ce3d968310365665cefc80",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "611a2bb4-8991-4144-a0c1-78a5cbefb966",
      "name": "別のワークフローによって実行された時",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        480,
        740
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "6b10af4c-4b89-4d44-945f-799aa5fe50be",
      "name": "長期記憶を保存",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        1120,
        700
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "2e9e0311-a2bf-483e-ba1f-40c341813cd8",
      "name": "保存された応答",
      "type": "n8n-nodes-base.set",
      "position": [
        1300,
        700
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "319c3f0a-c256-4ccc-b711-1fb5c02fe8f4",
      "name": "長期記憶で応答",
      "type": "n8n-nodes-base.set",
      "position": [
        1300,
        900
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "e197e769-decb-4c5b-b73e-17a2e9edf3d4",
      "name": "長期記憶を取得",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        1120,
        900
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "8f9ec70f-d492-4274-bc21-30c62a85ec1d",
      "name": "メモリーツールルーター",
      "type": "n8n-nodes-base.switch",
      "position": [
        820,
        740
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "77021caf-04fe-4308-8486-b9dfaddbdd4d",
      "name": "フィールドを編集",
      "type": "n8n-nodes-base.set",
      "position": [
        640,
        740
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "9150f75e-c643-4591-8805-ab3ff38219ed",
      "name": "メモリーを保存",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        480,
        1180
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "dc5b064b-e66d-4ecf-9196-c68b0a5b9ddb",
      "name": "メモリーを取得",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        660,
        1180
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "d24e81fd-405a-449a-bcb7-0d2f76f848bc",
      "name": "メモリーを Discord に送信",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        840,
        1180
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "ebed3fad-a567-421e-91be-cc8328ee294a",
      "name": "4o-mini",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1260,
        1260
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "c1f296d4-0f28-46e8-8497-c84d92b8589f",
      "name": "MCP サーバートリガー",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        560,
        940
      ],
      "webhookId": "14877796-8d49-4bde-98cb-2b035d9e9f76",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b870366a-b4aa-4547-96ca-bcae0365d1df",
      "name": "AI エージェント",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1280,
        1080
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "52a98e45-fe71-4dd5-bd6a-34b64c0118d5",
      "name": "Discord から長期記憶を取得",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        1120,
        1120
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "a9dc7e5d-d621-40e7-96a4-5f4006905863",
      "name": "ユーザーに DM 送信",
      "type": "n8n-nodes-base.discordTool",
      "position": [
        1520,
        1260
      ],
      "webhookId": "bb3f7f32-586a-47fe-ba7b-d988bfb91605",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "dec22729-2b44-48c0-9a60-67902b2381f8",
      "name": "チャンネルに送信",
      "type": "n8n-nodes-base.discordTool",
      "position": [
        1400,
        1260
      ],
      "webhookId": "bb3f7f32-586a-47fe-ba7b-d988bfb91605",
      "parameters": {},
      "typeVersion": 2
    }
  ],
  "pinData": {},
  "connections": {
    "ebed3fad-a567-421e-91be-cc8328ee294a": {
      "ai_languageModel": [
        [
          {
            "node": "b870366a-b4aa-4547-96ca-bcae0365d1df",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "a9dc7e5d-d621-40e7-96a4-5f4006905863": {
      "ai_tool": [
        [
          {
            "node": "b870366a-b4aa-4547-96ca-bcae0365d1df",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "77021caf-04fe-4308-8486-b9dfaddbdd4d": {
      "main": [
        [
          {
            "node": "8f9ec70f-d492-4274-bc21-30c62a85ec1d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9150f75e-c643-4591-8805-ab3ff38219ed": {
      "ai_tool": [
        [
          {
            "node": "c1f296d4-0f28-46e8-8497-c84d92b8589f",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "dec22729-2b44-48c0-9a60-67902b2381f8": {
      "ai_tool": [
        [
          {
            "node": "b870366a-b4aa-4547-96ca-bcae0365d1df",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "dc5b064b-e66d-4ecf-9196-c68b0a5b9ddb": {
      "ai_tool": [
        [
          {
            "node": "c1f296d4-0f28-46e8-8497-c84d92b8589f",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "8f9ec70f-d492-4274-bc21-30c62a85ec1d": {
      "main": [
        [
          {
            "node": "6b10af4c-4b89-4d44-945f-799aa5fe50be",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "e197e769-decb-4c5b-b73e-17a2e9edf3d4",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "52a98e45-fe71-4dd5-bd6a-34b64c0118d5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6b10af4c-4b89-4d44-945f-799aa5fe50be": {
      "main": [
        [
          {
            "node": "2e9e0311-a2bf-483e-ba1f-40c341813cd8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d24e81fd-405a-449a-bcb7-0d2f76f848bc": {
      "ai_tool": [
        [
          {
            "node": "c1f296d4-0f28-46e8-8497-c84d92b8589f",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "e197e769-decb-4c5b-b73e-17a2e9edf3d4": {
      "main": [
        [
          {
            "node": "319c3f0a-c256-4ccc-b711-1fb5c02fe8f4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "611a2bb4-8991-4144-a0c1-78a5cbefb966": {
      "main": [
        [
          {
            "node": "77021caf-04fe-4308-8486-b9dfaddbdd4d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "52a98e45-fe71-4dd5-bd6a-34b64c0118d5": {
      "main": [
        [
          {
            "node": "b870366a-b4aa-4547-96ca-bcae0365d1df",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

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

有料ですか?

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

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

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

作成者
David Ashby

David Ashby

@cfomodz

A hacker by nature, programmer by trade ⚒️ I'm looking to collaborate on things that save human labor 📫 How to reach me Github👇 -> Discord

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34