Skip to main content
Back to Blog
documents pdf generation thoughts

Why Most Document Generation Tools Fall Short

Swifty Team May 20, 2025 3 min read

Document generation sounds like a solved problem. You have data. You want a PDF. There are a hundred tools that claim to do this.

Most of them are frustrating to use in practice. Here's why.

The Template Problem

Most document tools require you to design templates in a separate environment — a visual editor, a markup language, a separate service. The template and the data live in different places.

Connecting them requires configuration, often with a technical learning curve. Making a layout change requires going back to the template tool, making the change, testing the output, iterating.

For simple documents, this works. For complex ones — multi-page invoices with conditional sections, documents that vary by locale and language, records with nested line items — the template maintenance becomes significant ongoing work.

The Data Fidelity Problem

Another common failure: the document doesn't accurately reflect the data. Calculated fields don't match what's in the system. Totals are computed differently in the document than in the record. Tax calculations vary.

This happens when document generation is treated as formatting rather than computation — when the template is just a pretty wrapper around exported values rather than a view driven by the same source of truth.

The result is documents you can't fully trust, which defeats their purpose.

The Layout Problem

Business documents have specific layout requirements that generic tools struggle with. Headers and footers that repeat correctly across pages. Tables that paginate cleanly without splitting rows. Conditional sections that appear only when relevant. Multi-language content that formats correctly for the target locale.

These aren't exotic requirements — they're the baseline for professional business documents. But they're exactly where many tools produce subtly wrong output.

The Right Approach

Good document generation requires:

  1. Templates driven by the same data model as the records they represent — no disconnected export
  2. Computation in the platform, not in the template — so documents always match records
  3. Proper layout handling — pagination, headers, conditional sections, locale-aware formatting
  4. Tight integration with workflows — generation triggered by the right events, delivered to the right people

That's what Swifty's document generation aims to deliver. Not just a PDF, but a trustworthy, professional document that's a true representation of the record it came from.

The gap between "generates a PDF" and "generates documents you can trust" is significant. We think it's worth bridging properly.

Related posts

Composed Data Sources

Chain and relate data sources for rich dashboards — compose complex data views from simpler sources without writing code.

Computed Expressions

Transform data with template expressions and built-in functions — format, combine, and derive values from your data without code.

Cross-Source Data Joins

Combine data from multiple sources in one view — join records from your database with data from external services using a shared key.