Generate PDF billing documents from webhook JSON with Acrewity and Gmail
UnknownWhat this workflow does
This workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Gmail and Acrewity (community).
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Workflow configuration (Edit Fields (Set)): sets 4 fields: companyName, companyLogoUrl, defaultTaxRate…
- Build document HTML (Code): runs custom JavaScript code
- Is the request valid? (If): checks a condition and branches into true / false
- Convert document to PDF (Acrewity): work with html to pdf
- Reject bad request (Respond to Webhook): sends the response back to the webhook caller
- Convert PDF to file (Convert to File): converts data to a file (to binary)
- Email document to customer (Gmail): uses Gmail
- Confirm delivery (Respond to Webhook): sends the response back to the webhook caller
Services it uses
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 @acrewity/n8n-nodes-acrewity is verified or supports 3.0 (used in Convert document to PDF).
Nodes used (8)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Acrewity
@acrewity/n8n-nodes-acrewity.acrewity - Convert to File
n8n-nodes-base.convertToFile - Gmail
n8n-nodes-base.gmail - Respond to Webhook
n8n-nodes-base.respondToWebhook - If
n8n-nodes-base.if
From the author
PDF Document Generator Who is this for? Businesses and freelancers who need to generate professional PDF documents (invoices, quotes, receipts, estimates) from order/sales data. Supported Document Types - invoice - Standard invoice with due date - quote -…