๐Ÿ”ฌ Automated PDF form filling for W-9 and more with PDF.co

โšก 529 views ยท ๐Ÿ”ฌ Document Extraction & Analysis

Description

๐Ÿง‘โ€๐Ÿ’ป 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

image.png


โš™๏ธ Setup Instructions

1๏ธโƒฃ Prepare Your Data

2๏ธโƒฃ Connect PDF.co

  1. Create a free account at PDF.co
  2. Copy your API Key from the dashboard
  3. In n8n โ†’ Credentials โ†’ New โ†’ PDF.co API
    • Paste your API Key โ†’ Save
  4. In the PDF.co node, select your credential and choose the Fill a PDF Form operation
  5. 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:

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


๐ŸŽ›๏ธ Customization Guidance


๐Ÿ“ฌ Contact

Need help customizing this workflow for contracts, invoices, or HR forms?

๐Ÿ“ฅ Import

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

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup