Generate and email PDFBolt template PDFs via Gmail webhook
UnknownWhat this workflow does
This workflow has 7 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Gmail and Pdfbolt (community).
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Prepare template request (Code): runs custom JavaScript code
- Request valid? (If): checks a condition and branches into true / false
- Generate PDF from PDFBolt template (Pdf Bolt): convert template
- Return error response (Respond to Webhook): sends the response back to the webhook caller
- Email PDF attachment (Gmail): uses Gmail
- 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 from PDFBolt template).
Nodes used (6)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Pdf Bolt
n8n-nodes-pdfbolt.pdfBolt - Respond to Webhook
n8n-nodes-base.respondToWebhook - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow receives a POST webhook payload, validates required fields, generates a PDF from a published PDFBolt template using provided template data, emails the PDF as an attachment via Gmail, and returns a JSON success or 400 error…