← All projects
Project record1 mention
Originally shared on Hacker News

AutoDocument

A document generation tool that produces document files from data sources such as Excel spreadsheets and SQL queries. It supports a user form for parameterized generation, chaining sources with parameters, splitting at multiple points to produce documents per record combination, full Jinja2 templating with field substitution and if/for blocks that works with .docx files, PDF output, templated output file names, and saving workflows as reproducible jobs (e.g. processing a .csv received each morning).

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. AutoDocument

    A document generation tool that produces document files from data sources such as Excel spreadsheets and SQL queries. It supports a user form for parameterized generation, chaining sources with parameters, splitting at multiple points to produce documents per record combination, full Jinja2 templating with field substitution and if/for blocks that works with .docx files, PDF output, templated output file names, and saving workflows as reproducible jobs (e.g. processing a .csv received each morning).

    Posted by @Harlekuin · Original source ↗

    Source text · @Harlekuin · · Source ↗

    AutoDocument: https://github.com/TomMalkin/AutoDocument Imagine your basic Excel spreadsheet -> generating document files, but add: - Other sources like SQL queries - User form (e.g. "Generate documents for Client Category [?]") - Chaining sources in order like SQL queries with parameters based on the user form - Split at multiple points (5 records in a csv, 4 records in a sql result = 20 generated documents) - Full Jinja2 templating with field substitution but also if/for blocks that works nicely with .docx files - PDF output - output file names using the same templating: "/BusinessDrive/{{ client_id }}/Invoice - {{ invoice_id}}.pdf" All saved in reproducible workflows (for example if you need to process a .csv file you receive each morning)