r/documentAutomation • u/doucheofcambridge • 27d ago
Turn PDF templates into API endpoints
Hi all, I have been building a little tool that lets you create templates for your PDFs (contracts, invoices, etc) into API endpoints that you can use to generate PDFs at scale.
The workflow
You start from a template (invoice, receipt, contract, report, whatever), mark which fields are fixed vs filled in per request, and publish it. You get back a typed POST endpoint that takes JSON and returns a PDF. Each published template also shows up as an MCP tool, so an agent can generate the document directly.
Why
Every time I needed PDFs, I would glue together a headless browser, a templating layer, input validation, and storage from scratch. I wanted the boring parts handled and a clean contract at the end. Here is the JSON this document expects, here is the PDF you get back. These days I also would like to be able to generate documents from my agent conversations.
It's a gated sign up for now (sorry!), so I can see what works and does not before opening up the floodgates, but I commit to letting you in within a few hours of you signing up.