Split PDFs by Barcode in Make: Iterator + PDF4me Split by Barcode (Step-by-Step)
When you scan a stack of documents into one PDF—batch invoices, mail with separator sheets, or reports with barcode dividers—you need each document in its own file. PDF4me’s Split by Barcode module detects barcodes, filters by text (e.g. starts with PDF4me), and splits before, after, or at the barcode page—and Make’s Iterator turns the split results into individual files you can upload to Dropbox, Google Drive, or any storage.
This guide walks you through the exact modules, fields, and values to get from one PDF to many—with each split saved as its own file.
What Do You Need?
- Make — Create a Make account and open a new scenario.
- PDF4me API key — Get your API key and connect it to PDF4me.
- Dropbox — We use it here, but any storage with download + upload works (Google Drive, OneDrive, etc.).
Flow Overview (4 Modules).
- Dropbox – Download a File — Downloads
barcode.pdffrom your folder. - PDF4me – Split by Barcode — Splits the PDF using barcode text and filter settings.
- Iterator — Loops through the Generated Documents[] array returned by PDF4me.
- Dropbox – Upload a File — Uploads each split PDF file.

Input vs. Output.
Input: one PDF named barcode.pdf

Output: multiple files (barcode_1.pdf, barcode_2.pdf, etc.)

Step 1: Dropbox – Download a File.
Flow so far: Download a File.
- Add Dropbox → Download a File.
- Connection — Select your Dropbox connection.
- Way of selecting files — Select a file.
- File —
/Blog Data/Split By Barcode/barcode.pdf.

This outputs file content for the Split action.
Step 2: PDF4me – Split by Barcode.
Flow so far: Download a File → Split by Barcode.
- Add PDF4me → Split by Barcode.
- Connection — Select your PDF4me connection.
- File — Map Dropbox – Download a File.
- Barcode Text —
PDF4me - Barcode Filter — Starts with
- Barcode Type — Any Type
- Split Barcode Page — Before the barcode
- PDF Render DPI —
150 - Combine pages with same barcodes — No

Output: An array of Generated Documents[] (each is a split PDF file).
Step 3: Iterator (Flow Control).
The PDF4me module returns Generated Documents[]. You must iterate over the array to upload each file.
Make returns an array of split PDFs. You can’t upload the array as-is—you need to loop through it and upload each item. That’s what the Iterator does.
- Add Flow Control → Iterator.
- Array — Map 4. Generated Documents[] from the Split by Barcode module.
![Iterator: Array mapped to 4. Generated Documents[]](/assets/images/blog/split-pdf-barcode-make/split-pdf-barcode-make-iterator.png)
Step 4: Dropbox – Upload a File.
Inside the Iterator route, upload each split file.
- Add Dropbox → Upload a File.
- Folder —
/Blog Data/Split By Barcode. - File — Select Flow Control – Iterator (the current split file).
- Overwrite — No (or Yes if you want to replace).

Each iteration uploads one split PDF.
Quick Reference: Key Parameters.
The Split by Barcode module has a few knobs worth knowing. Here’s what we used:
| Parameter | Value | Notes |
|---|---|---|
| Barcode Text | PDF4me | Only barcodes that match trigger a split |
| Barcode Filter | Starts with | Or Ends with, Contains, Exact—pick what fits your barcodes |
| Split Barcode Page | Before the barcode | Split before, after, or remove the separator page |
| PDF Render DPI | 150 | Bump to 200+ if barcodes are small or blurry |
| Iterator Array | Generated Documents[] | Output from Split by Barcode—this is what you loop over |
Pro tip: The Iterator is the step that trips people up—Make won’t let you upload the whole array at once. You have to iterate over Generated Documents[] and upload each item. That’s what we did in Step 4.
For full parameter details, see Split by Barcode — Make.
Troubleshooting.
Make sure you’re passing the actual file content from Dropbox, not a path. Check that your barcode text and filter match what’s in the PDF—if nothing matches, you’ll get one output (the whole file). See Zapier and Power Automate Tips for file handling.
Try the API Interactively.
Want to test without building a scenario? Upload a PDF and see the response:
Next Steps.
- Drop a test PDF with barcodes into your folder and run the scenario—you should see split files in the output folder.
- Tweak Barcode Text and Barcode Filter (Contains, Exact, etc.) to match how your documents are structured.
- Swap Download a File for Watch Files (Dropbox) to run automatically when new PDFs land in the folder.