🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 30, 2026

How to Combine a Gravity Forms Entry and Its Uploads into One PDF (Document Packets)

GravityExtra
How to Combine a Gravity Forms Entry and Its Uploads into One PDF (Document Packets)

If your Gravity Forms are used to collect paperwork — a loan application with pay slips and ID, an insurance claim with photos and a police report, a job application with a CV and certificates, a permit request with drawings and proof of ownership — then every submission arrives as an entry plus a scattering of separately uploaded files. Someone on your team then has to download each file, open the entry to copy across the applicant’s details, and stitch everything into a single document before it can be filed, emailed to an underwriter, or printed for a case folder. Gravity Forms is excellent at collecting the pieces; it has never been the thing that assembles them into one document.

The Gravity Forms Document Packet add-on is that assembler. It takes a form entry and the files uploaded with it and produces one combined PDF — a packet — with the entry’s own summary at the front and the uploaded files appended behind it. This article explains what a document packet is, how the add-on builds one, how it handles the modern PDFs that real scanners and office apps produce, and why doing it on your own server matters.

What a document packet is

A document packet is a single PDF that contains, in a deliberate order, everything that belongs to one entry. It typically starts with a generated page — a cover and a summary of the entry’s fields — and then continues with the files the applicant uploaded. Uploaded PDFs are appended page-for-page, so a two-page contract stays two pages. Uploaded images are each placed on their own page, scaled to fit, so a photo of an ID card or a receipt becomes a clean full page rather than a thumbnail. The result is one document you can hand to a colleague, attach to an email, or drop into a records system, instead of an entry and a folder of loose attachments.

This is the gap that the existing Gravity Forms PDF tools leave open. They are very good at rendering a PDF from an entry’s data — turning the field values into a formatted document. What they do not do is fold the entry’s uploaded files into that same document. A bulk PDF download gives you many separate PDFs, one per entry; it does not merge an entry’s own uploads into one file. Combining the generated page with the uploaded PDFs and images into a single packet is the specific job this add-on exists to do.

The Layout panel: cover page with a merge-tag title and sub-title, table of contents, bookmarks and packet-wide page numbers
The layout options: a cover page, a table of contents, bookmarks and page numbering.

How the add-on builds a packet

When a packet is built, the add-on collects the entry’s sources in the order you set. First comes the lead document: either the built-in template, which renders the entry’s fields as a tidy summary page, or a file you map — useful when the applicant uploads a signed application form that should sit at the front. Then come the uploaded files, taken from the upload fields you chose, in field order. The add-on opens a PDF writer and appends each source: PDFs are imported page-for-page, and images are drawn one per page and scaled to the sheet.

On top of that raw concatenation you can switch on the finishing touches that make a packet usable. A cover page carries a title and sub-title built from Gravity Forms merge tags, so every packet is labelled with the applicant’s name and the entry number. A table of contents lists each source document with the page it starts on. Bookmarks add a PDF outline entry for each source, so a reviewer can jump straight to the contract or the ID without scrolling. And page numbers run across the whole packet, so a printed file is easy to reference. Each of these is optional; turned off, you get a plain merged PDF.

The hard part: modern PDFs

Merging PDFs sounds simple until you meet the files that real people upload. Older PDFs use a classic, readable cross-reference table, and almost any library can import them. But modern scanners, phone scanning apps and office suites emit PDFs that pack their objects into compressed object streams and use a compressed cross-reference stream, often with a PNG or TIFF predictor on top. Free PDF import libraries typically refuse these files outright — and a tool that quietly skips a file the applicant actually uploaded is worse than one that fails loudly, because you only discover the missing page when it is too late.

The Document Packet add-on handles these modern files with a bundled, GPL-compatible engine that understands object streams, cross-reference streams, predictors and incremental-update chains, so a PDF straight off a scanner is appended just like any other. And it treats “unreadable” as a first-class case rather than an afterthought. If a file genuinely cannot be read — it is encrypted, damaged, or in a format nothing can open — the add-on never silently drops it. Depending on your choice, it either skips the file and records a visible notice on the entry, so the rest of the packet still builds and you can see exactly what was left out, or it fails the whole packet with a clear message so you fix the source before anything goes out. Either way, you are told.

Build it when and how it suits you

A packet can be built automatically the moment a form is submitted, so it is ready on the entry before anyone opens it. It can also be built on demand: open an entry, press Build packet, and download it — handy when a file was re-uploaded or a setting changed. And it can be built in bulk: select a run of entries on the entries list and build all their packets in one action, with a Packet column that gives a one-click download for each. The same three triggers suit a small team doing a few applications a day and a busy operation clearing a backlog at month end.

The Document Packet box on a Gravity Forms entry: the page count, a Download packet button and a Build / rebuild button
Build and download a packet right from the entry, with any notices shown.

Delivering the packet

Once a packet exists, there are three ways to get it where it needs to go. You can attach it to any Gravity Forms notification, so the underwriter, the case worker or the applicant receives the whole file by email automatically. You can share it with a secure link: the {packet_link} merge tag produces a signed, time-limited download URL that you can put in a notification or a confirmation message, and that stops working after it expires. And you can download it directly from the entry or the entries list. The packet file itself is stored in a protected folder that is closed to direct web access, so it is only ever served through the add-on’s licence-checked download — nobody reaches a stored file by guessing its URL.

Why local assembly matters

Some document-generation tools send your files off to a third-party service to be merged and send them back. For the kind of material that ends up in a packet — financial documents, identity papers, medical or legal records — that is often exactly what you cannot do. The Document Packet add-on assembles every packet on your own server, from files that are already attached to the entry. It makes no outside connection to do its work; the only network calls it ever makes are to gravityextra.com to check your licence and offer plugin updates. Nothing about the applicant’s documents leaves your site.

Who it is for

Any team that collects documents through a form and then has to assemble them will recognise the problem. Lenders and mortgage brokers building a loan file. Insurers compiling a claim. Recruiters bundling an application. Councils and permit offices collecting drawings and proofs. Clinics and law firms gathering intake paperwork. In each case the work of downloading, ordering and merging is repetitive, error-prone and exactly the kind of thing software should do — which is what this add-on does, inside the Gravity Forms you already run.

Get started

You can see the full feature list and pricing on the Gravity Forms Document Packet page, and the step-by-step set-up is in the Document Packet setup guide. Turn it on for a form, pick the uploaded files to include, choose your cover, contents and page numbering, and let every entry become one tidy PDF. Ready to stop stitching files together by hand? Get Gravity Forms Document Packet.

Privacy and security

Everything runs on your own site. The add-on uses no third-party document service and makes no outside HTTP request beyond checking gravityextra.com for your licence and plugin updates. Stored packets live in a protected uploads folder and are served only through a licence-checked, signed and expiring download link, and no file an applicant uploaded is ever silently dropped from a packet. For Gravity Forms 2.9 and newer.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr