Connect Claude or ChatGPT via MCP to wFirma invoicing and KSeF
Ready for 3.0What this workflow does
This AI workflow has 32 nodes and runs when an MCP client calls one of its tools (plus 1 other trigger). Along the way it connects Google Drive. It also calls doc.wfirma.pl over HTTP.
How it runs
Trigger: When an MCP client calls one of its tools (plus 1 other trigger).
- Config (Edit Fields (Set)): sets 2 fields: company_id, drive_folder_id
- Plan (Edit Fields (Set)): sets 6 fields: root, singular, params…
- Route (Switch): routes items into branches
- Request payload (Edit Fields (Set)): sets or maps fields
- Ask for approval (Edit Fields (Set)): sets 4 fields: ok, status, message…
- Fetch wFirma docs (HTTP Request): calls doc.wfirma.pl
- To XML (XML): converts between XML and JSON
- Docs HTML (Edit Fields (Set)): sets 1 field: html
- API call? (If): checks a condition and branches into true / false
- HTML to Markdown (Markdown): converts between Markdown and HTML
…plus 11 more steps. See the full node list below.
Services it uses
HTTP calls to: doc.wfirma.pl
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (11)
- MCP Server Trigger
@n8n/n8n-nodes-langchain.mcpTrigger - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - XML
n8n-nodes-base.xml - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Google Drive
n8n-nodes-base.googleDrive - Markdown
n8n-nodes-base.markdown
From the author
Quick overview Connect Claude, ChatGPT or any MCP client to wFirma, the Polish invoicing and accounting service. Nine tools cover about 40 API modules: search and edit invoices, contractors, payments and expenses, read the official API docs live and save PDFs…