Merge PDF

Merge PDF documents with the help of Make.

Parameters

Output Parameters

Parameter

Description

Example

File Content

Raw content of the result file.

It is the content of the result file.

Input Parameters

Parameter

Description

Example

Connection

To allow your scenarios to get information from and send it to Plumsail Documents, you need to create a connection.

For more information on how to create a connection to Plumsail Documents, see the online Help.

File

The content of PDF documents. Add as many file items as you need.

You may get the content of the source PDFs from the OneDrive app or from some other app.

Examples

Basic

Manually download as many files as needed, then use the output in the Merge PDF action.

Merge PDF Example

Advanced

You can also collect all PDF files from a folder, combine them into an array, merge, and send as an email attachment. This is an example of a possible scenario:

Merge PDF Example

Let’s check the steps:

The scenario starts with an action from the OneDrive app Search Files/Folders. We need to find all PDF files from a certain folder to combine them. I also add a filter to search only for .pdf files in the folder.

Merge PDF Example

Then, I download all the found PDF files using the next action from the OneDrive app, Download a file. Enter the Item ID dynamic content from the previous step into the File ID field.

Merge PDF Example

The next step is the Array Aggregator. We need to combine all the PDF files collected in the previous steps into an array. Select Plumsail Documents - Merge PDF in the Target structure type dropdown. This option becomes available after adding the Merge PDF action in the following step. Also, I use the Map option to map Documents action fields with the OneDrive output.

Merge PDF Example

After adding the PDF files into an array we can merge them with the Plumsail Documents - Merge PDF action. Activate the Map option and select the dynamic content Array from the Array aggregator.

Merge PDF Example

Finally, I send the merged PDF as an email attachment.

Merge PDF Example