Fill PDF forms from JSON data with JustFill and an n8n form trigger
Ready for 3.0What this workflow does
This workflow has 10 nodes and runs when someone submits an n8n form (“Fill a PDF with JustFill”). It uses only n8n's built-in nodes. It also calls justfill.app over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Fill a PDF with JustFill”).
- Config (Edit Fields (Set)): sets 1 field: apiKey
- Mint upload slot (HTTP Request): calls justfill.app (POST)
- Prepare upload (Code): runs custom JavaScript code
- Upload PDF (HTTP Request): calls an HTTP API (POST)
- Open PDF (HTTP Request): calls justfill.app (POST)
- Map values to fields (Code): runs custom JavaScript code
- Fill PDF (HTTP Request): calls justfill.app (POST)
- Result (Code): runs custom JavaScript code
- Redirect to filled PDF (n8n Form): shows the next form page
HTTP calls to: justfill.app
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (5)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - n8n Form
n8n-nodes-base.form
From the author
Quick overview Fill the same existing PDF form repeatedly with new JSON records. This workflow collects a PDF and data through an n8n form, matches values to named fields, preserves the original layout, and returns a temporary download link. It is suited to…