Hey Automators! ![]()
I wanted to share a free HTML to PDF Invoice generation workflow I put together. ![]()
![]()
It’s a simple, streamlined setup that takes data and turns it into a styled PDF document automatically.
How it works:
-
Set Variables: Define your invoice info (Client, items, price, etc.) in a Set node.
-
Build HTML: A Code node generates a styled HTML template based on that data.
-
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. ![]()
![]()
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! ![]()