Templates / Fill any PDF from JSON data with JustFill and Google Gemini vision

Fill any PDF from JSON data with JustFill and Google Gemini vision

Ready for 3.0

by JustFill · 1 views · created 2026-08-20 · Document Extraction, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 20 nodes and runs when someone submits an n8n form (“Fill any PDF with JustFill (AI)”). It uses only n8n's built-in nodes. It also calls justfill.app and generativelanguage.googleapis.com over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Fill any PDF with JustFill (AI)”).

  1. Config (Edit Fields (Set)): sets 3 fields: apiKey, geminiKey, model
  2. Mint upload slot (HTTP Request): calls justfill.app (POST)
  3. Prepare upload (Code): runs custom JavaScript code
  4. Upload PDF (HTTP Request): calls an HTTP API (POST)
  5. Open PDF (HTTP Request): calls justfill.app (POST)
  6. Prepare page previews (Code): runs custom JavaScript code
  7. Render preview (HTTP Request): calls justfill.app (POST)
  8. Attach page preview (Code): runs custom JavaScript code
  9. Build mapping request (Code): runs custom JavaScript code
  10. Mapping vision model (HTTP Request): calls generativelanguage.googleapis.com (POST)

…plus 9 more steps. See the full node list below.

HTTP calls to: justfill.app, generativelanguage.googleapis.com

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (5)

From the author

Quick overview This workflow collects a PDF and a JSON payload via an n8n form, uses JustFill to detect fields and render previews, then uses Google Gemini Vision to map data to field IDs and visually review the filled result before generating a downloadable…

Excerpt from JustFill's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.