Skip to main content

Merge PDF Files in Make: Combine Every Batch Automatically with PDF4me

14 min read
PDF4me Team

An agreement is rarely one document. It is a quote, an invoice, an SLA and a set of terms, four files that have to arrive as one. Page one of the results for merge pdf files is free online merge tools, add-on listings and Reddit threads arguing about which tool to use, all of which assume somebody is sitting there dragging files into a box. This walkthrough builds the version that does not need anybody: Make, three Dropbox Download a File modules, PDF4me Merge Multiple PDFs, and one upload. The order you add the items is the page order of the result.

The scenario at a glance
1. Download a File

Dropbox module reading Binder.pdf, the first document in the merge order.

2. Download a File

Dropbox module reading GraphicsTest.pdf, the second.

3. Download a File

Dropbox module reading the invoice PDF, the third.

4. Merge Multiple PDFs

PDF4me module. Three items, each taking its file from one download. Output File name merged_document.pdf.

5. Upload a File

Dropbox module. Folder /pdf4meoutput, from the Merge module.

The short version

Three Dropbox Download a File modules each read one document from a literal path. PDF4me Merge Multiple PDFs has a Files list: leave its Map toggle off, use Add item three times, and set each item's File to its own Download module. Output File name is merged_document.pdf and Skip Protected Pdf's is Yes. Dropbox Upload a File writes the combined PDF to /pdf4meoutput. Five modules, five operations, one file.

Item order is page order

The merged document follows the order of the Files list, not the left-to-right order of the modules on the canvas and not the file names. Item 1 contributes the first pages, item 3 the last. Drag an item up or down in the list to reorder the output.

Why-Based Q&A​

Why does Files have a Map toggle at all?

Files is an array, and Make lets you supply an array either as a built list or as a single mapped expression. With Map off you get Add item and a picker per item, which is what you want when the sources are known modules. With Map on you have to hand it the whole array as one expression, which is for the case where an earlier module already produced a collection of files. Each item's own File radio also ends in Map, which swaps that one item for an expression box, useful when a single entry comes from somewhere the picker cannot name.

Why one Download module per document rather than one that returns many?

Because the order is explicit and visible. Three modules and three items means the sequence is in front of you on the canvas. A single module returning a folder listing gives you whatever order the storage API felt like, which is fine when the documents are interchangeable and wrong when a quote has to come before its terms.

Why map Data rather than the file name into each item?

Each item's field is a file field, so it wants bytes. Picking the Download module in the item's File radio does this correctly. Where you see it written as an expression in the blueprint it reads {{1.data}}, the binary output, rather than the name or the path.

Why turn Skip Protected Pdf's on?

A password protected PDF cannot be merged without its password, and on No one locked file stops the whole batch. On Yes the merge continues without it, so a nightly run delivers the document minus one section rather than nothing at all.


What You'll Get​

Input: several PDFs in cloud storage. This scenario reads three files from /pdf4metest/Merge/mergetest/. Output: one combined PDF named merged_document.pdf in /pdf4meoutput, with the pages in the order of the Files list.

The completed run​

The completed Make run showing three Dropbox Download a File modules, PDF4me Merge Multiple PDFs and Dropbox Upload a File, each ticked green with one of one operations
Five modules, one operation each. The merge is a single call however many files go into it.

What You Need​

Before you start
  • A Make account with a scenario you can edit.
  • A PDF4me API key. Open the PDF4me dashboard and create one.
  • A storage connection. This scenario uses Dropbox, authenticated by you.
  • Two or more PDFs, and a decision about which order they belong in.
  • An output folder. This scenario writes to /pdf4meoutput.

The Scenario at a Glance​

  1. Dropbox: Download a File, the first document.
  2. Dropbox: Download a File, the second.
  3. Dropbox: Download a File, the third.
  4. PDF4me: Merge Multiple PDFs, one item per document.
  5. Dropbox: Upload a File, to /pdf4meoutput.

Step 1: Dropbox, Download the First Document​

Flow so far: Download a File.

  1. Create a new scenario and click the first + on the canvas.
  2. Search Dropbox and pick Download a File.
  3. Configure:
    • Connection: your Dropbox connection, or click Add to create one. Modules 2 and 3 reuse it.
    • Way of selecting files: Select a file
    • File: /pdf4metest/Merge/mergetest/Binder.pdf

First download configuration​

The first Dropbox Download a File module reading Binder.pdf from the mergetest folder
Module 1 supplies the first pages of the merged document.

Step 2: Dropbox, Download the Second Document​

Flow so far: Download a File, Download a File.

  1. Add a second Dropbox: Download a File.
  2. Configure:
    • Way of selecting files: Select a file
    • File: /pdf4metest/Merge/mergetest/GraphicsTest.pdf

Second download configuration​

The second Dropbox Download a File module reading GraphicsTest.pdf from the mergetest folder
Module 2 supplies the middle section.

Step 3: Dropbox, Download the Third Document​

Flow so far: Download a File, Download a File, Download a File.

  1. Add a third Dropbox: Download a File.
  2. Configure:
    • Way of selecting files: Select a file
    • File: /pdf4metest/Merge/mergetest/invoice_Pdf4me-202503-25041_2.pdf

Third download configuration​

The third Dropbox Download a File module reading the invoice PDF from the mergetest folder
Module 3 supplies the last pages.

Step 4: PDF4me, Merge Multiple PDFs​

Flow so far: Download a File, Download a File, Download a File, Merge Multiple PDFs.

Here you build a collection by hand, one item per document.

  1. Click the + after the third Dropbox module.
  2. Search PDF4me and pick Merge Multiple PDFs.
  3. Connection: click Add and paste your PDF4me API key.
  4. Leave the Map toggle beside Files off, so the field shows Add item instead of a single expression box.
  5. Click Add item three times, then set each item in turn:
    • Item 1 > File: choose the first Dropbox - Download a File
    • Item 2 > File: choose the second
    • Item 3 > File: choose the third
  6. Configure the rest:
    • Output File name: merged_document.pdf
    • Skip Protected Pdf's: Yes

Merge configuration, items 1 and 2​

The PDF4me Merge Multiple PDFs module showing the Map toggle off, with Item 1 taking its File from the first Dropbox download and Item 2 from the second
Map off, so Files renders as a list. Each item has its own radio list naming the three Download modules; the selected one is the item's source.

Merge configuration, item 3 and the output​

The lower half of the Merge module showing Item 3 taking its File from the third download, Output File name merged_document.pdf and Skip Protected Pdfs set to Yes
Item 3, then Add item for a fourth document if you need one, then the output name and the protected file behaviour.
FieldValue hereNotes
Files > Item N > Fileone Download module per itemThe item order is the page order
Output File namemerged_document.pdfKeep the .pdf, since this name is what reaches storage
Skip Protected Pdf'sYesA locked file is skipped instead of failing the run

Step 5: Dropbox, Upload a File​

Flow so far: Download a File, Download a File, Download a File, Merge Multiple PDFs, Upload a File.

  1. Click the + to the right of the PDF4me module.
  2. Search Dropbox and pick Upload a File.
  3. Configure:
    • Folder: /pdf4meoutput
    • File: choose PDF4me - Merge Multiple PDFs
    • Leave Show advanced settings off. Overwrite an existing file sits behind it and stays at its default, so a second run does not replace the first file.

Upload a File configuration​

The Dropbox Upload a File module writing the merged PDF into the pdf4meoutput folder
The name comes from the Merge module, which uses whatever you set in Output File name.

Run the Scenario and Verify​

Press Run once, then open the merged file and check the order before anything else.

Run once is not the same as switching the scenario on

A new Make scenario carries a schedule even while it is off. This one is set to run indefinitely at a 900 second interval, so flipping the toggle to active starts it merging the same three files every fifteen minutes and writing a new copy each time. Test with Run once, and set the schedule deliberately before you activate anything.

What did you actually build?

A scenario that collects three PDFs from storage, combines them into one document in a fixed order, and files the result. Five modules, five operations per run. Page through the output and confirm the sections appear in the order you intended, because a merge in the wrong order still reports success.


Common Variations You Can Add Without Rebuilding​

Merge four or more

Add another Download module and another Add item entry. Nothing else changes.

Merge whatever is in a folder

Replace the three downloads with a search module and an Aggregator, then switch Files to Map and hand it the aggregated array.

Name the output by date

Map an expression into Output File name so each run writes a distinct file rather than relying on Dropbox to number them.

Split it again later

Split PDF takes the combined document back apart, with an Iterator to file the pieces.


Common Questions​

How do you merge multiple PDF files into one?​

Fetch each document with its own storage module, then add PDF4me Merge Multiple PDFs and build the Files list with Add item, one item per document. The combined file comes back from the module ready to store or send.

How do you merge a lot of PDF files?​

Past a handful, stop adding Download modules by hand. Use a search module to list the folder, an Aggregator to collect the results into one array, and map that array into Files with the Map toggle on.

How do you merge PDF files quickly?​

In a scenario, the merge itself is one call however many files it receives. The time goes into fetching them, so keep the documents in the same storage account the scenario is connected to.

Can you merge PDF files without Adobe Acrobat?​

Nothing in this scenario involves a desktop PDF application. Make calls PDF4me, PDF4me returns the combined document, and Dropbox stores it.

How do you control the order of the merged pages?​

The Files list sets it. Item 1 contributes the first pages and the last item the final ones, regardless of file names or where the modules sit on the canvas. Drag items in the list to reorder.


Troubleshooting​

The Files field is empty with Map switched on

With Map on, the module expects the whole array as one expression and shows nothing to fill in per item. Turning Map off renders the field as a list with Add item.

The sections are in the wrong order

The item order in Files does not match what you intended. Reorder the items rather than rearranging the modules on the canvas.

One document is missing from the output

It is password protected and Skip Protected Pdf's is Yes, so the merge skipped it. Unlock the file first, or set the field to No if you would rather the run failed loudly.

An empty file error from the merge module

An item is pointed at something other than a Download module's file output. Each item's File should name a Download module directly.


Next Steps​

Point the three downloads at your own documents, set Output File name to something your storage will not collide on, and check the page order of the first result before you schedule it.