Templates / Issue gapless sequential PDF invoices from Google Sheets with Google Docs and Gmail

Issue gapless sequential PDF invoices from Google Sheets with Google Docs and Gmail

Ready for 3.0

by Ziad Karim ✓ · 0 views · created 2026-09-26 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 13 nodes and runs on a schedule (every 15 minutes). Along the way it connects Google Sheets, Gmail, Google Drive and Google Docs.

How it runs

Trigger: On a schedule (every 15 minutes).

  1. Read the Invoice Sheet (Google Sheets): read
  2. Assign the Next Invoice Numbers (Code): runs custom JavaScript code
  3. Is the Numbering Intact? (If): checks a condition and branches into true / false
  4. Is the Row Complete? (If): checks a condition and branches into true / false
  5. Email You That Numbering Stopped (Gmail): uses Gmail
  6. Reserve the Number in the Sheet (Google Sheets): update
  7. Flag the Incomplete Row (Google Sheets): update
  8. Copy the Invoice Template (Google Drive): copy
  9. Fill In the Invoice (Google Docs): update
  10. Export the Invoice as PDF (Google Drive): download

…plus 2 more steps. See the full node list below.

Services it uses

Google SheetsGmailGoogle DriveGoogle Docs

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 (7)

From the author

Quick overview This workflow runs every 15 minutes to read a Google Sheets invoice ledger, audit gapless sequential invoice numbers, generate and fill a Google Docs invoice template, export it as a PDF from Google Drive, and email it to customers via Gmail…

Excerpt from Ziad Karim'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.