n8n内でMCPサーバーとChatGPTを使ってQuickBooks Onlineの顧客データとの対話

中級

これは自動化ワークフローで、7個のノードを含みます。主にQuickbooksTool, Agent, McpTrigger, ChatTrigger, LmChatOpenAiなどのノードを使用。 n8nでMCPサーバーとChatGPTを使ってQuickBooks Onlineの顧客データと対話

前提条件
  • OpenAI API Key

カテゴリー

-
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "c8c9ba5d3eb26ae47a06d24ff164a01c0d73ed4753a74903c2bb609d434a0f6b",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "21ecf5fe-2008-43aa-85ac-9f1e6e2262e2",
      "name": "パブリックチャットトリガー",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        0,
        0
      ],
      "webhookId": "eb3cc51c-29da-4593-9468-66d1977955ce",
      "parameters": {
        "public": true,
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "05f54bf8-51e4-4f32-b624-daf75304f199",
      "name": "AIエージェントオーケストレーター",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        224,
        0
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 2
    },
    {
      "id": "1c95c159-33da-4eb2-b72f-78144c903813",
      "name": "LLM - OpenAI Chat (gpt-4.1-mini)",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        192,
        224
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "IscXryYQZrfSUSkH",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "a5a78a3d-3b63-4dce-91d9-1b76ed7a5744",
      "name": "MCPサーバー - Claude Desktop Bridge",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -96,
        384
      ],
      "webhookId": "7a131c2c-5b3b-4a99-9319-f3aebadcf451",
      "parameters": {
        "path": "7a131c2c-5b3b-4a99-9319-f3aebadcf451"
      },
      "typeVersion": 2
    },
    {
      "id": "516680cc-8376-4e9c-8249-e4a4e4e20072",
      "name": "AIツール - QBO顧客",
      "type": "n8n-nodes-base.quickbooksTool",
      "position": [
        112,
        592
      ],
      "parameters": {
        "filters": {},
        "operation": "getAll",
        "returnAll": true
      },
      "credentials": {
        "quickBooksOAuth2Api": {
          "id": "b6aH0PejuunHdpJu",
          "name": "QuickBooks Online account 3"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "efc80f6a-80f5-4598-aec6-db600f053567",
      "name": "MCPクライアントツール",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        384,
        224
      ],
      "parameters": {
        "sseEndpoint": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c3c3e7b0-1f0b-4f1a-8a4e-2e7b6a0a5c1a",
      "name": "ワークフロー説明",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -300,
        -300
      ],
      "parameters": {
        "color": 5,
        "width": 272,
        "height": 912,
        "content": "# Workflow description\n\n⚠️ Important: Set the **MCP Client Tool** `sseEndpoint` to your actual MCP server URL. You can copy this URL from the **MCP Server - Claude Desktop Bridge** node once it is running.\n\n## Steps\n1) **Public Chat Trigger** - receives chat messages.\n2) **AI Agent Orchestrator** - coordinates tool calls and replies.\n3) **LLM - OpenAI Chat (gpt-4.1-mini)** - the language model.\n4) **AI Tool - QBO Customers** - QuickBooks customers tool.\n5) **MCP Server - Claude Desktop Bridge** - exposes tools as MCP.\n6) **MCP Client Tool** - must point to your actual SSE endpoint.\n\n## Setup\n- Connect OpenAI and QuickBooks credentials.\n- Copy the correct SSE URL from MCP Server Trigger into MCP Client Tool.\n- Add auth if exposing the chat publicly.\n\n## Extend\n- Add more QBO tools (invoices, payments, items).\n- Expose other systems to Claude via MCP.\n- Add guardrails and permissions for security."
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "efc80f6a-80f5-4598-aec6-db600f053567": {
      "ai_tool": [
        [
          {
            "node": "05f54bf8-51e4-4f32-b624-daf75304f199",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "21ecf5fe-2008-43aa-85ac-9f1e6e2262e2": {
      "main": [
        [
          {
            "node": "05f54bf8-51e4-4f32-b624-daf75304f199",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "516680cc-8376-4e9c-8249-e4a4e4e20072": {
      "ai_tool": [
        [
          {
            "node": "a5a78a3d-3b63-4dce-91d9-1b76ed7a5744",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "1c95c159-33da-4eb2-b72f-78144c903813": {
      "ai_languageModel": [
        [
          {
            "node": "05f54bf8-51e4-4f32-b624-daf75304f199",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

中級

有料ですか?

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

ワークフロー情報
難易度
中級
ノード数7
カテゴリー-
ノードタイプ7
難易度説明

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

作成者
Milan Vasarhelyi - SmoothWork

Milan Vasarhelyi - SmoothWork

@vasarmilan

We help you eliminate the busywork by building compact business tools tailored to your processes. 📞: https://smoothwork.ai/book-a-call ▶️: https://www.youtube.com/@vasarmilan

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34