Templates / Generate and email invoice PDFs from Google Sheets with PDFMunk and Gmail

Generate and email invoice PDFs from Google Sheets with PDFMunk and Gmail

Ready for 3.0

by Muhammad Salman Anwar ✓ · 9 views · created 2026-07-17 · Invoice Processing

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 8 nodes and runs on Google Sheets events (row added). Along the way it connects Gmail and Google Sheets. It also calls pdfmunk.com over HTTP.

How it runs

Trigger: On Google Sheets events (row added).

  1. Set Client and Item Details (Edit Fields (Set)): sets 7 fields: client_name, client_email, item_description…
  2. Prepare Invoice Number (Edit Fields (Set)): sets 1 field: invoice_number
  3. Append to Invoice Orders Sheet (Google Sheets): append
  4. Process Invoice Data (Code): runs custom JavaScript code
  5. Generate PDF Invoice (HTTP Request): calls pdfmunk.com (POST)
  6. Download PDF from URL (HTTP Request): calls an HTTP API
  7. Email Invoice via Gmail (Gmail): uses Gmail

Services it uses

GmailGoogle Sheets

HTTP calls to: pdfmunk.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Quick overview This workflow watches a Google Sheets order sheet for new invoice rows, generates a unique invoice number, appends the normalized record to another sheet, converts an HTML invoice into a PDF via PDFMunk, and emails the PDF to the client using…

Excerpt from Muhammad Salman Anwar's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.