Merge PDF
AI-generatedOverview
This node merges two PDF documents provided as binary data inputs. It is useful in scenarios where you need to combine multiple PDF files into a single document, such as merging reports, contracts, or forms. The node takes two inputs, each containing PDF files, and outputs a single merged PDF for each pair of input items.
Use Case Examples
- Merging two separate PDF reports into one consolidated report.
- Combining a signed contract PDF with an additional terms PDF into a single file.
Properties
| Name | Meaning |
|---|---|
| Property Name 1 | Name of the binary property for the first input which holds the document to be used |
| Property Name 2 | Name of the binary property for the second input which holds the document to be used |
| Property Name Out | Name of the binary property where the combined document will be output |
Output
Binary
The node outputs a binary PDF file that is the result of merging the two input PDF documents.
JSON
json- Merged JSON data from both input itemsbinary- Binary data of the merged PDF documentpairedItem- Array indicating the paired input items from both inputs
Dependencies
- Uses a PDF merging utility function from an internal helper module.
- Requires binary data inputs containing PDF files.
Troubleshooting
- Error if the number of items in the two inputs differ; ensure both inputs have the same number of items.
- Error if either input binary data is not a PDF file; verify input files are valid PDFs.
- If an error occurs and 'Continue On Fail' is enabled, the node outputs the original input data without merging for that item.