Fill, validate, and email PDF forms from webhook data with PDFops, Gmail, and Drive

Go to Workflow
0 views
Built by PDFops PDFops
Created on August 06, 2026

Description

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
Receives a POST webhook request containing pdfUrl, a fields object, and the recipient email address.
Downloads the blank fillable PDF from the provided URL using an HTTP request.
Sends the PDF and field mappings to PDFops to fill the form and produce a new filled PDF file.
Sends an email via Gmail to the provided address with the filled PDF attached.

Setup
Activate the workflow and copy the Production Webhook URL to the system that will submit the JSON payload.
Add a Gmail credential and confirm the sender account has permission to send emails to your recipients.
(Optional) Add a PDFops API credential to increase quota, and ensure your caller provides exact AcroForm field names in the fields object.

Requirements
Self-hosted n8n with the n8n-nodes-pdfops community node installed (Settings > Community Nodes)
Gmail credential for the send step
Optional free PDFops API key - the keyless tier works at 100 requests per IP per month

Customization
Swap Gmail for SMTP, Slack, or Google Drive as the delivery step
Add a PDFops node with the Inspect Fields operation to validate output or discover field names
Chain the PDFops Merge operation to bundle several filled forms into one packet

Additional info
This template uses the n8n-nodes-pdfops community node, so it runs on self-hosted n8n only (community nodes are not installable on n8n Cloud). Field names must match the PDF exactly: discover them with the node's Inspect Fields operation or the free browser inspector at pdfops.dev/tools/inspect.

Nodes Used (4)

Code
n8n-nodes-base.code
Gmail
n8n-nodes-base.gmail
Google Drive
n8n-nodes-base.googleDrive
HTTP Request
n8n-nodes-base.httpRequest