Automated PDF Form Filling for W-9 and More with PDF.co

πŸ§‘β€πŸ’» Description This workflow demonstrates how to take structured data (e.g., Name, Business, Address) and automatically fill a PDF form (IRS W-9) using PDF.co inside n8n.

The workflow extracts values from a data source (e.g., Set node, database, or webhook), maps those values to fields in a PDF template, and generates a completed PDF. This can be adapted for contracts, invoices, HR forms, or any standardized documents that need automation.

By chaining additional nodes, you can also store completed PDFs in Google Drive/Dropbox, email them to recipients, or route them into CRM/ERP systems.

Disclaimer: this template can only be used on self-hosted n8n instances

βš™οΈ Setup Instructions

1️⃣ Prepare Your Data Add a Set node (or connect to your data source such as Google Sheets, Airtable, or a webhook).
Define fields like:
Name
Business
Address
CityState
These fields will map directly to form fields in the PDF.

2️⃣ Connect PDF.co Create a free account at PDF.co
Copy your API Key from the dashboard
In n8n β†’ Credentials β†’ New β†’ PDF.co API
Paste your API Key β†’ Save
In the PDF.co node, select your credential and choose the Fill a PDF Form operation
Map each field in your dataset to the corresponding PDF form field (e.g., Name β†’ Line 1 on the W-9).

πŸ“„ Example Form This template uses the official IRS W-9 PDF:
https://www.irs.gov/pub/irs-pdf/fw9.pdf

Mapped fields include:
Name β†’ Line 1
Business β†’ Line 2
Address + City/State β†’ Address block

You can expand this by mapping additional fields such as Tax Classification, Exemptions, TIN, and Signature.

πŸŽ›οΈ Customization Guidance Different PDFs**: Swap the W-9 for any contract, invoice, or onboarding form your business uses.
Dynamic Data Sources**: Replace the Set node with Google Sheets, Airtable, or API/Webhook inputs to pull live data.
Automated Delivery**: After filling the form, use Email or Slack nodes to send PDFs directly to recipients.
Document Storage**: Save completed PDFs automatically to Google Drive, Dropbox, or AWS S3.
Bulk Processing**: Loop through rows of a dataset (e.g., customer list) to generate multiple personalized PDFs at once.

πŸ“¬ Contact Need help customizing this workflow for contracts, invoices, or HR forms?

πŸ“§ robert@ynteractive.com
πŸ”— Robert Breen
🌐 ynteractive.com

0
Downloads
0
Views
6.54
Quality Score
beginner
Complexity
Author:Robert Breen(View Original β†’)
Created:9/10/2025
Updated:10/25/2025

πŸ”’ Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments