Mit QuickBooks Online-Kundendaten in n8n über einen MCP-Server und ChatGPT chatten

Fortgeschritten

Dies ist ein Automatisierungsworkflow mit 7 Nodes. Hauptsächlich werden QuickbooksTool, Agent, McpTrigger, ChatTrigger, LmChatOpenAi und andere Nodes verwendet. In n8n mit QuickBooks Online-Kundendaten über MCP-Server und ChatGPT sprechen

Voraussetzungen
  • OpenAI API Key

Kategorie

-
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "meta": {
    "instanceId": "c8c9ba5d3eb26ae47a06d24ff164a01c0d73ed4753a74903c2bb609d434a0f6b",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "21ecf5fe-2008-43aa-85ac-9f1e6e2262e2",
      "name": "Public Chat-Trigger",
      "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": "KI-Agent Orchestrator",
      "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 Server - 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 Werkzeug - QBO Customers",
      "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 Client Werkzeug",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        384,
        224
      ],
      "parameters": {
        "sseEndpoint": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c3c3e7b0-1f0b-4f1a-8a4e-2e7b6a0a5c1a",
      "name": "Workflow description",
      "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": {
    "MCP Client Tool": {
      "ai_tool": [
        [
          {
            "node": "AI Agent Orchestrator",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Public Chat Trigger": {
      "main": [
        [
          {
            "node": "AI Agent Orchestrator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Tool - QBO Customers": {
      "ai_tool": [
        [
          {
            "node": "a5a78a3d-3b63-4dce-91d9-1b76ed7a5744",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "1c95c159-33da-4eb2-b72f-78144c903813": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent Orchestrator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Fortgeschritten

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes7
Kategorie-
Node-Typen7
Schwierigkeitsbeschreibung

Für erfahrene Benutzer, mittelkomplexe Workflows mit 6-15 Nodes

Autor
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

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34