Fill, validate, and email PDF forms from webhook data with PDFops, Gmail, and Drive
UnknownWhat this workflow does
This workflow has 12 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Gmail, Google Drive and Pdfops (community).
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Set Delivery Options (Edit Fields (Set)): sets 6 fields: pdfUrl, recipient, requestedFields…
- Payload Valid? (If): checks a condition and branches into true / false
- Fetch Blank PDF (HTTP Request): calls an HTTP API
- Respond With Error (Respond to Webhook): sends the response back to the webhook caller
- Pdfops: inspect
- Compare Requested Fields (Code): runs custom JavaScript code
- All Fields Exist? (If): checks a condition and branches into true / false
- Pdfops: fill
- Email Filled PDF (Gmail): send (message)
- Archive to Google Drive (Google Drive): upload (file)
…plus 1 more step. See the full node list below.
Services it uses
Other Gmail + Google Drive templates (465)
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-pdfops is verified or supports 3.0 (used in PDFops Inspect Fields, PDFops Fill & Flatten).
Nodes used (9)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Pdfops
n8n-nodes-pdfops.pdfops - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail - Respond to Webhook
n8n-nodes-base.respondToWebhook - Google Drive
n8n-nodes-base.googleDrive
From the author
Quick overview This workflow receives a webhook payload with a PDF URL, form field values, and an email address, then downloads the fillable PDF, fills it using PDFops, and emails the completed PDF via Gmail. How it works 1. Receives a POST webhook request…