Building a PDF feature?
Save this to your Work Desktop.

Back to Resources
n8nAutomationNo-CodeTutorial

How to Automate Invoice Generation in n8n (No-Code)

Automating the Boring Stuff

You have sales data in Airtable or Google Sheets. You need to send a PDF invoice to the client. You could do it manually. Or you could build an n8n workflow that runs while you sleep. But remember: Your automation needs a good looking output. Grab one of our professional invoice templates before you start.

The Workflow Setup

  1. Trigger: New Record in Airtable (Status = "Ready to Bill").
  2. Action: HTTP Request to pdfmyhtml API.
  3. Action: Email with Attachment (Gmail/Outlook).

Download this n8n Workflow (.json)

The New Way: Handlebars Support

In the past, you had to use complex Javascript nodes to build your HTML string. With pdfmyhtml's new Handlebars support, you don't need code nodes. Just pass your JSON data directly to our API.

{ "template_id": "brutalist", "data": { "invoice_number": "{{ $json.InvoiceNumber }}", "total": "{{ $json.Total }}" } }

This makes your n8n workflow cleaner, faster, and easier to maintain.

Why pdfmyhtml for n8n?

Most PDF tools for n8n are either:

  1. Expensive ($30/mo+).
  2. Complex (require running your own docker container).

pdfmyhtml offers a generous free tier that lets you test your workflows without pulling out a credit card.

Get your API Key and start automating today.

Ready to build?

Stop fighting with PDFs. Start shipping.