Templates / Download KSeF invoices to NocoDB and email formatted HTML copies

Download KSeF invoices to NocoDB and email formatted HTML copies

Ready for 3.0

by Łukasz ✓ · 130 views · created 2026-04-30 · Invoice Processing

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-10-19.

What this workflow does

This workflow has 32 nodes and runs on a schedule (every 30 days) (plus 1 other trigger). Along the way it connects NocoDB.

How it runs

Trigger: On a schedule (every 30 days) (plus 1 other trigger).

  1. ⚙️ Config (Edit Fields (Set)): sets or maps fields
  2. NocoDB Config (Edit Fields (Set)): sets 3 fields: Base ID, NocoDB Url, Table Name
  3. Get Public Key (HTTP Request): calls an HTTP API
  4. Create NocoDB KSeF Invoices Table (HTTP Request): calls an HTTP API (POST)
  5. Get Challenge (HTTP Request): calls an HTTP API (POST)
  6. Encrypt Token (Code): runs custom JavaScript code
  7. Init Auth (HTTP Request): calls an HTTP API (POST)
  8. Wait: pauses before continuing
  9. Check Auth Status (HTTP Request): calls an HTTP API
  10. Redeem Token (HTTP Request): calls an HTTP API (POST)

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

Services it uses

NocoDB

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 (12)

From the author

What Is This? This workflow is an improvement of this workflow by Greg Brzezinka. This workflow connects to KSeF (Krajowy System e-Faktur — Poland's national e-invoicing platform) and automatically downloads both issued and received invoices into a NocoDB…

Excerpt from Łukasz'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.