Templates / Connect Claude or ChatGPT via MCP to wFirma invoicing and KSeF

Connect Claude or ChatGPT via MCP to wFirma invoicing and KSeF

Ready for 3.0

by Romuald Członkowski · 3 views · created 2026-10-23 · Invoice Processing, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What 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).

  1. Config (Edit Fields (Set)): sets 2 fields: company_id, drive_folder_id
  2. Plan (Edit Fields (Set)): sets 6 fields: root, singular, params…
  3. Route (Switch): routes items into branches
  4. Request payload (Edit Fields (Set)): sets or maps fields
  5. Ask for approval (Edit Fields (Set)): sets 4 fields: ok, status, message…
  6. Fetch wFirma docs (HTTP Request): calls doc.wfirma.pl
  7. To XML (XML): converts between XML and JSON
  8. Docs HTML (Edit Fields (Set)): sets 1 field: html
  9. API call? (If): checks a condition and branches into true / false
  10. HTML to Markdown (Markdown): converts between Markdown and HTML

…plus 11 more steps. See the full node list below.

Services it uses

Google Drive

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)

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…

Excerpt from Romuald Członkowski's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.