Discuter avec les données client de QuickBooks Online dans n8n via un serveur MCP et ChatGPT

Intermédiaire

Ceci est uncontenant 7 nœuds.Utilise principalement des nœuds comme QuickbooksTool, Agent, McpTrigger, ChatTrigger, LmChatOpenAi. Dialoguer avec les données clients de QuickBooks Online dans n8n via un serveur MCP et ChatGPT

Prérequis
  • Clé API OpenAI

Catégorie

-
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "meta": {
    "instanceId": "c8c9ba5d3eb26ae47a06d24ff164a01c0d73ed4753a74903c2bb609d434a0f6b",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "21ecf5fe-2008-43aa-85ac-9f1e6e2262e2",
      "name": "Public Déclencheur de chat",
      "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": "Agent IA 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 Outil - 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 Outil",
      "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
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Intermédiaire

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds7
Catégorie-
Types de nœuds7
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Auteur
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

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34