Generate PDF documents from HTML with PDF Generator API, Gmail and Supabase
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 Hunter, Gmail, Postgres and Pdf Generator Api (community).
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Verify Client Email (Hunter): email verifier
- Email Is Valid? (If): checks a condition and branches into true / false
- Load HTML Template (Postgres): select
- Respond – Invalid Email (Respond to Webhook): sends the response back to the webhook caller
- Populate HTML Template (Code): runs custom JavaScript code
- Convert HTML to PDF (Pdf Generator Api): work with conversion
- Upload PDF to Supabase Storage (HTTP Request): calls an HTTP API (POST)
- Send PDF to Client Email (Gmail): uses Gmail
- Record Document Transaction (Postgres): run a query
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 @pdfgeneratorapi/n8n-nodes-pdf-generator-api is verified or supports 3.0 (used in Convert HTML to PDF).
Nodes used (9)
- If
n8n-nodes-base.if - Hunter
n8n-nodes-base.hunter - Respond to Webhook
n8n-nodes-base.respondToWebhook - Code
n8n-nodes-base.code - Pdf Generator Api
@pdfgeneratorapi/n8n-nodes-pdf-generator-api.pdfGeneratorApi - Gmail
n8n-nodes-base.gmail - Postgres
n8n-nodes-base.postgres - HTTP Request
n8n-nodes-base.httpRequest - Webhook
n8n-nodes-base.webhook
From the author
Who’s this for 💼 This template is designed for teams and developers who need to generate PDF documents automatically from HTML templates. It’s suitable for use cases such as invoices, confirmations, reports, certificates, or any custom document that needs to…