Templates / Automate PDF invoice generation & delivery with Gmail and Google Drive storage

Automate PDF invoice generation & delivery with Gmail and Google Drive storage

Ready for 3.0

by Ibrahim Emre POLAT · 636 views · created 2025-09-09 · 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.

Nodes used (6)

Google Drive

What it does

How it works Automatically generates professional PDF invoices from webhook data and delivers them via email while storing backups in Google Drive. Perfect for freelancers, small businesses, and service providers who need automated billing workflows. Set up steps Configure environment variables for company information (name, address, email, phone). Set up your PDF generation API service account (PDFShift recommended). Configure SMTP email credentials for invoice delivery. Set up Google Drive OAuth2 for cloud storage. Deploy the workflow and test with sample invoice data. Key features - Smart invoice number generation if not provided - Automatic tax calculations with configurable rates - Professional HTML templates with company branding - Parallel processing for email and storage - Comprehensive error handling and validation - Detailed success confirmation responses Required environment variables - COMPANYNAME - Your business name - COMPANYADDRESS - Business mailing address - COMPANYEMAIL - Billing contact email - COMPANYPHONE - Business phone number - PDFAPIURL - PDF generation service endpoint - PDFAPIKEY - API authentication key - GDRIVEINVOICEFOLDERID - Google Drive folder ID API requirements PDF generation service (PDFShift, HTML/CSS to PDF API, or similar), SMTP email service for delivery, Google Drive API access for storage. Input format json { "customerName": "John Smith", "customerEmail": "[email protected]", "items": {"description": "Web Design", "quantity": 1, "price": 500} , "dueDate": "2025-02-15" }

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.