Skip to content

n8n community node

n8n-nodes-docjet is an n8n community node for DocJet: render branded PDFs (invoices, reports, certificates) and PNG/OG social images from stored templates or raw HTML, directly inside your workflows. Zero runtime dependencies — all HTTP goes through n8n’s declarative routing engine.

In n8n:

  1. Go to Settings → Community Nodes.
  2. Select Install, enter n8n-nodes-docjet, and confirm.

For a self-hosted instance you can also install from the CLI:

Terminal window
npm install n8n-nodes-docjet

See the official guide for installing community nodes.

The node uses a single DocJet API credential:

FieldValue
API KeyYour DocJet API key (binfra_ prefix), issued at signup

Get a key (free tier, no card required):

Terminal window
curl -X POST https://api.docjet.dev/v1/signup \
-H "Content-Type: application/json" \
-d '{"email": "you@example.com"}'

The key is sent as Authorization: Bearer <key> on every authenticated request. The credential test calls GET /v1/keys/usage.

OperationEndpointDescription
Render PDFPOST /v1/render?response=urlRender a PDF from a template ID or raw HTML; returns { "url": "..." } (signed download URL)
Render ImagePOST /v1/image?response=urlRender a PNG image from a template ID or raw HTML; returns { "url": "..." }
List TemplatesGET /v1/templatesFetch the public template catalog (id, name, description, outputType)

For Render PDF / Render Image:

  • SourceTemplate ID (a stored template) or Raw HTML (inline HTML, max 512 KB).
  • Data — Handlebars template variables as a JSON object (e.g. { "invoice_no": "INV-001" }).
  1. Trigger (webhook, schedule, new order in your shop…)
  2. DocJet node — Render PDF with template_id: invoice-en and data mapped from the trigger item.
  3. Next step — the output item contains a signed url; attach it to an email, post it to Slack, or store it.

Errors surface as standard n8n node errors carrying the DocJet error code — see Errors & limits.