Automated invoice generator - Shopify to PDF with Google Drive storage and email
UnknownUnknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.
Community nodes
These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
n8n-nodes-htmlcsstopdf(Generate PDF Invoice)
Nodes used (8)
- Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Google Drive
n8n-nodes-base.googleDrive - Respond to Webhook
n8n-nodes-base.respondToWebhook - Gmail
n8n-nodes-base.gmail - Htmlcsstopdf
n8n-nodes-htmlcsstopdf.htmlcsstopdf - HTTP Request
n8n-nodes-base.httpRequest
What it does
Overview Automatically generate professional PDF invoices when new orders are placed in Shopify. This template creates beautifully formatted invoices from order data, converts them to PDF, saves to Google Drive, and emails customers - all in one seamless workflow. π― What This Template Does Transform your Shopify order fulfillment with complete invoice automation. When a customer places an order, this workflow automatically: - β
Receives order data via Shopify webhook - β
Validates payment status (only processes paid orders) - β
Generates professional HTML invoice with your branding - β
Converts to PDF using HTML to PDF conversion - β
Saves invoice to Google Drive for record-keeping - β
Emails PDF invoice to customer automatically - β
Provides webhook response back to Shopify π Key Benefits Save Hours of Manual Work - Eliminate manual invoice creation and sending - Process unlimited orders 24/7 without intervention - Professional invoices enhance your brand image Complete Automation - No missed invoices - every paid order gets processed - Automatic file organization in Google Drive - Immediate customer notification improves satisfaction Professional Results - Clean, branded invoice design that looks enterprise-ready - Proper calculations for taxes, shipping, and totals - PDF format suitable for accounting and customer records π What You'll Need Required Integrations: - Shopify Store - For order webhooks - HTML to PDF Service - For invoice conversion (API key required) - Google Drive - For invoice storage - Email Provider - For sending invoices to customers Technical Requirements: - n8n instance (cloud or self-hosted) - Basic webhook configuration in Shopify - 10 minutes for initial setup π Features Included Smart Order Processing - Payment validation (only processes paid orders) - Complete order data extraction (customer, items, addresses) - Tax and shipping calculations - Multi-currency support Professional Invoice Design - Modern, clean layout with company branding - Detailed line items with SKUs and quantities - Proper totals breakdown (subtotal, tax, shipping) - Customer billing and shipping addresses Automated Distribution - PDF saved with descriptive filename (invoice-ORDERNUMBER.pdf) - Organized storage in Google Drive "Invoices" folder - Professional email template with attachment - Proper webhook responses for Shopify integration Error Handling - Skips unpaid orders with proper notification - Comprehensive data validation - Detailed execution logs for troubleshooting π¨ Customization Options Easy Branding - Update company name, address, and contact details - Modify color scheme and styling - Add your logo and brand elements Invoice Layout - Customize invoice template in HTML/CSS - Add or remove fields as needed - Modify PDF formatting options Email Templates - Personalize customer email messages - Add tracking links or additional information - Customize sender details πΌ Perfect For - E-commerce Stores - Shopify merchants of any size - Service Businesses - Professional service invoicing - Digital Products - Immediate invoice delivery - B2B Companies - Automated business invoicing - Accounting Teams - Streamlined record-keeping π§ Setup Instructions 1. Import Template - Add to your n8n instance 2. Configure Webhook - Set up Shopify order webhook 3. Add Credentials - Connect Google Drive and email accounts 4. Update API Endpoint - Add your HTML to PDF service URL 5. Customize Branding - Update company information in HTML template 6. Test & Deploy - Run test orders to verify functionality π Expected Results Time Savings: Save 15-30 minutes per order on manual invoice processing Accuracy: Eliminate human errors in invoice calculations Customer Experience: Immediate invoice delivery improves satisfaction Organization: All invoices automatically organized and stored Scalability: Handle thousands of orders without additional effort π Works With - Shopify (primary trigger) - WooCommerce (with minor modifications) - Any H