Automated invoice generator - Shopify to PDF with Google Drive storage and email
UnknownWhat this workflow does
This workflow has 10 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Drive, Gmail and Htmlcsstopdf (community).
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Check Payment Status (If): checks a condition and branches into true / false
- Format Invoice Data (Code): runs custom JavaScript code
- Response for Unpaid Orders (Respond to Webhook): sends the response back to the webhook caller
- Generate HTML Invoice (Code): runs custom JavaScript code
- Generate PDF Invoice (Htmlcsstopdf): uses Htmlcsstopdf
- Download File PDF (HTTP Request): calls an HTTP API
- Email to Customer (Gmail): uses Gmail
- Save to Google Drive (Google Drive): uses Google Drive
- Send Webhook Response (Respond to Webhook): sends the response back to the webhook caller
Services it uses
Other Gmail + Google Drive templates (465) · Other Gmail + Htmlcsstopdf templates (40) · Other Google Drive + Htmlcsstopdf templates (31)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-htmlcsstopdf is verified or supports 3.0 (used in 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
From the author
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…