πŸ”¬ Fill, validate, and email PDF forms from webhook data with PDFops, Gmail, and Drive

⚑ 7 views Β· πŸ”¬ Document Extraction & Analysis

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

  1. Receives a POST webhook request containing pdfUrl, a fields object, and the recipient email address.
  2. Downloads the blank fillable PDF from the provided URL using an HTTP request.
  3. Sends the PDF and field mappings to PDFops to fill the form and produce a new filled PDF file.
  4. Sends an email via Gmail to the provided address with the filled PDF attached.

Setup

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

Requirements

Customization

Additional info

This template uses the n8n-nodes-pdfops community node. 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

HTTP Request, Webhook, Google Drive, Gmail

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup