← All nodes
PDF

Merge PDF

Combines the PDF on its Top input with the PDF on its Bottom input into one file per bottom document.

When to use it

Use it when a fixed front or back page, such as a cover letter or terms sheet, has to be attached to a batch of generated PDFs.

In a pipeline

Settings

SettingTypeRequiredDefault or hint
Output Namingselect—bottom_source
Custom Naming Patterntext—e.g. merged_{counter}

Example

Stapling a cover letter to each invoice

  • Output Naming=Use bottom source filename
The two inputs
InputFilePages
Topcover-letter.pdf1
Bottominvoice-1042.pdf3
Merged result
FilePagesPage order
invoice-1042.pdf4cover-letter, then invoice-1042

Output Naming decides the file name only; the page order always follows the inputs, top first then bottom.

Worth knowing

  • Only the first row of the Top input supplies a file, while every distinct PDF on the Bottom input produces its own merged output.
  • Inside a Loop the bottom document is the current item and the top comes from outside the loop.
  • Custom pattern naming supports {counter}, {source} and {source_top}.
  • A single populated input produces a copy rather than an error.

Others in PDF