Getting files in
Zapier represents a file either as a file object or as a URL. The Nitro app accepts both: if a step hands it a URL, the app downloads the file first and then uploads it to Nitro. You do not need a separate download step.Only the file’s bytes reach Nitro — its name is not passed through. Set the name on the step that
writes the result instead.
Getting results out
Files
With Output Type set to Download file, the action returns a file object under a labelled field such as Compressed PDF File or Merged PDF File. Map that field into any file-accepting input: a Drive upload, a Dropbox upload, a Gmail attachment, or the file input of another Nitro action.URLs and metadata
With Download URL, the action returns:
Use this when you want the metadata — for example, to record how much a compression saved, or to
branch on page count — or when the destination app takes a URL rather than a file.
Chaining actions
Nitro actions chain by mapping one step’s file output into the next step’s file input. With Download file on each step, a scan-to-archive Zap looks like:1
Ocr PDF
PDF File → the trigger’s file. Language → the document’s language.
2
Optimize PDF
PDF File → OCR PDF File from step 1. Optimization Profile → Archive.
3
PDF to PDF/A
PDF File → Optimized PDF File from step 2. Leave the conformance level at 2b.
4
Google Drive — Upload File
File → PDF/A File from step 3.
Smart PII Detection or Text Bounding Box Extract → Redact PDF
Smart PII Detection or Text Bounding Box Extract → Redact PDF
Both extraction actions emit a Redactions JSON field shaped exactly like Redact PDF’s
Redactions JSON input. Map it straight across:
- Smart PII Detection — PDF File → the source document.
- Redact PDF — PDF File → the same source document; Redactions JSON → step 1’s Redactions JSON.
- Upload Redacted PDF File wherever the original is not.
pii_types[] or route the
redactions[] line items through a Formatter step before mapping.Smart Detect Form Fields → Add Fillable Form Fields
Smart Detect Form Fields → Add Fillable Form Fields
Add Fillable Form Fields takes five parallel lists. Map the matching Smart Detect Form
Fields outputs into each — the picker passes one entry per detected field, so the counts line
up automatically:
PDF File on both steps is the same source document. You can also type the lists by hand —
one row per field, with each bounding box as
x, y, width, height in points.Multi-file outputs
PDF to Image and Split PDF produce several files.- With Download file, the result is a single ZIP archive. Zapier has no built-in unzip action, so this is usually the harder path.
- With Download URLs, the result carries a list of URLs —
file_urls[]and afiles[]line-item group withURL,contentType, and metadata per file, plusfirst_urlfor the common case of only needing page one.
URL in turn — within the 15-minute
window.
Renaming outputs
Nitro does not set a meaningful output file name, so name the file on the step that writes it. A Formatter by Zapier → Text step is the usual way to build one from the trigger’s file name — for example stripping the extension and appending-compressed.pdf.
When converting between formats, remember to change the extension: a PDF to Microsoft Office
output saved as .pdf will not open in Word.
Input formats by action
Most options are dropdowns or plain fields. These are the ones with a format to get right. Page indices are zero-based everywhere.Fill PDF Form data files
The data file is passed to Nitro as-is, so it must be in a shape the API accepts:- JSON
- CSV
- XFDF / FDF
A list of field/value objects — not a flat object:Build it with a Code by Zapier or Formatter step if the source gives you a flat
object, or skip the file and use inline Field Mappings instead.