PDF Merge
PDF Merge
Section titled “PDF Merge”Type: pdf-merge · Package: PDF Activities v1.0.0 · Output: string
Combine multiple PDFs into one, in the order you indicate. Useful for consolidating documents: joining several invoices into a single file, putting together a report with its annexes, putting together a file.
How it works
Section titled “How it works”Take the list of paths routes (in order) and create a new PDF in output containing them one after another. Returns the path of the merged file.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
paths | expression | List of PDF paths to combine, in order. |
output | expression | Path of the resulting PDF. |
Optional parameters
Section titled “Optional parameters”Ninguno.
Output
Section titled “Output”Returns a string with the path of the merged PDF.
Example
Section titled “Example”Merge all PDFs in a folder:
List Files path = "C:/anexos" pattern = "*.pdf" → output: archivosPDF Merge paths = = archivos output = "C:/expediente.pdf"Related activities
Section titled “Related activities”- PDF Split — the reverse operation: split pages.
- PDF Extract Pages — take only a few pages.