Automate PDF invoice generation & delivery with Gmail and Google Drive storage
$20/month : Unlimited workflows
2500 executions/month
THE #1 IN WEB SCRAPING
Scrape any website without limits
HOSTINGER 🎉 Early Black Friday Deal
DISCOUNT 20% Try free
DISCOUNT 20%
Self-hosted n8n
Unlimited workflows - from $4.99/mo
#1 hub for scraping, AI & automation
6000+ actors - $5 credits/mo
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
COMPANY_NAME- Your business nameCOMPANY_ADDRESS- Business mailing addressCOMPANY_EMAIL- Billing contact emailCOMPANY_PHONE- Business phone numberPDF_API_URL- PDF generation service endpointPDF_API_KEY- API authentication keyGDRIVE_INVOICE_FOLDER_ID- 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
{
"customerName": "John Smith",
"customerEmail": "[email protected]",
"items": [
{"description": "Web Design", "quantity": 1, "price": 500}
],
"dueDate": "2025-02-15"
}