Generate, email, and archive PDFs from HTML with PDFBolt, Gmail, and Google Drive
UnknownWhat this workflow does
This workflow has 8 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Drive, Gmail and Pdfbolt (community).
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Validate and prepare request (Code): runs custom JavaScript code
- Request valid? (If): checks a condition and branches into true / false
- Generate PDF with PDFBolt (Pdf Bolt): convert html
- Return error response (Respond to Webhook): sends the response back to the webhook caller
- Email PDF attachment (Gmail): uses Gmail
- Archive PDF in Google Drive (Google Drive): uses Google Drive
- Return success response (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 n8n-nodes-pdfbolt is verified or supports 3.0 (used in Generate PDF with PDFBolt).
Nodes used (7)
- Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Pdf Bolt
n8n-nodes-pdfbolt.pdfBolt - Google Drive
n8n-nodes-base.googleDrive - Respond to Webhook
n8n-nodes-base.respondToWebhook - Webhook
n8n-nodes-base.webhook - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow receives an HTML payload from an n8n webhook, validates it, converts HTML to PDF with PDFBolt, emails the PDF through Gmail, archives it in Google Drive, and returns a JSON response with success or error details. How it works 1.…