Issue gapless sequential PDF invoices from Google Sheets with Google Docs and Gmail
Ready for 3.0What 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).
- Read the Invoice Sheet (Google Sheets): read
- Assign the Next Invoice Numbers (Code): runs custom JavaScript code
- Is the Numbering Intact? (If): checks a condition and branches into true / false
- Is the Row Complete? (If): checks a condition and branches into true / false
- Email You That Numbering Stopped (Gmail): uses Gmail
- Reserve the Number in the Sheet (Google Sheets): update
- Flag the Incomplete Row (Google Sheets): update
- Copy the Invoice Template (Google Drive): copy
- Fill In the Invoice (Google Docs): update
- Export the Invoice as PDF (Google Drive): download
…plus 2 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Drive + Google Sheets templates (720) · Other Gmail + Google Drive templates (465)
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)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - Google Drive
n8n-nodes-base.googleDrive - Google Docs
n8n-nodes-base.googleDocs
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…