Block 1 - Invoice Status Updated to Active
- Type / Role
- n8n-nodes-base.googleSheetsTrigger - googleSheetsTrigger
- Config choices
- Version 1
Automatically generate an Invoice PDF from Google Sheets data with DocuPotion How it works This workflow automatically generates a branded PDF invoice from data in Google Sheets and saves it to Goo...
n8n-nodes-base.googlesheetstrigger, n8n-nodes-base.filter, n8n-nodes-base.splitinbatches, n8n-nodes-base.googlesheets, n8n-nodes-base.aggregate, n8n-nodes-docupotion.docupotion, n8n-nodes-base.googledrive, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Alex Cooney.
Original n8n.io sourceThis workflow automatically generates a branded PDF invoice from data in Google Sheets and saves it to Google Drive. No manual document editing required.
It's triggered when you update the status column of any row in your invoices sheet to Active. From there it:
invoice_number)Invoice-{invoice_number}.pdfSentThe workflow loops over invoices, so you can flip multiple rows to Active at once and each will be processed independently. Polling runs every minute (but you can change this to whatever frequency you want).
1. Copy the demo Google Sheet
👉 Demo invoice Sheet
Open the link and go to File → Make a copy. This gives you a Sheet with the correct structure:
invoice_number, invoice_date, due_date, status, customer_name, customer_email, customer_company, customer_address, pdf_urlinvoice_number, description, quantity, unit_price2. Install the DocuPotion community node
In n8n, go to Settings → Community Nodes → Install and enter 'DocuPotion'.
3. Create your DocuPotion invoice template
Log into DocuPotion and create a template for your invoice layout. The workflow passes these merge fields to the template:
invoice_number, invoice_date, due_date, customer_name, customer_company, customer_address, customer_email, total, and line_items[] (an array where each item has description, quantity, unit_price).
Note the template ID from DocuPotion — you'll need it in step 5.
4. Connect credentials
Import this workflow into n8n, then connect credentials for:
5. Point the workflow at your resources
Invoice Status Updated to Active, Get Invoice Items, Add Link to Google Sheet), replace the document ID with your copied Sheet's ID.Generate PDF node, replace the template ID with your DocuPotion template ID.Upload to Google Drive, change the destination folder from root to a subfolder like /Invoices.6. Activate and test
Turn on the workflow. Then in your invoices Sheet, change the status of a sample row to Active. Within a minute, you should see:
pdf_url column populatedstatus column updated to SentUpload to Google Drive to send the invoice to customer_email automatically.Approved or Ready to send.Upload to Google Drive to include company name or date.This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Generate invoice PDFs from Google Sheets with DocuPotion and Drive |
|---|---|
| Complexity | intermediate |
| Nodes | 12 |
| Categories | Invoice Processing |
| Author | Alex Cooney |
| Published | 23 Apr 2026 |
Use the JSON export at /data/workflows/15259/15259.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Automatically generate an Invoice PDF from Google Sheets data with DocuPotion How it works This workflow automatically generates a branded PDF invoice from data in Google Sheets and saves it to Goo...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Invoice Processing use case.