HTML to PDF Brutalist Invoice Generator

Hey Automators! :waving_hand:

I wanted to share a free HTML to PDF Invoice generation workflow I put together. :page_facing_up::sparkles:

It’s a simple, streamlined setup that takes data and turns it into a styled PDF document automatically.

How it works:

  1. Set Variables: Define your invoice info (Client, items, price, etc.) in a Set node.

  2. Build HTML: A Code node generates a styled HTML template based on that data.

  3. Convert: It uses the PDFMyHTML API to transform that HTML into a downloadable PDF.

This specific template is the “Brutalist” style—think stark, dark mode, monospaced fonts. Very modern. :black_circle::white_circle:

To use it: Just copy the code below, paste it directly into your n8n canvas (Ctrl+V/Cmd+V), and grab a free API key from pdfmyhtml.com to put in the HTTP node.

Let me know if you find this useful or if you want to see other design styles! :backhand_index_pointing_down:

1 Like