Illustrated in the below image is a flow where a Record Generator source step is used as a source step that contains Base64 strings which reference 2 separate PDF pages. The Combine step is used to combine records into a single output. The Merge PDF Writer step is used to combine the separate PDF pages into one PDF file. A Run File destination step is used to deliver an output file that can be downloaded.
Adding a Merge PDF Writer Step
To add a Merge PDF Writer step in a flow, follow the below instructions:
1. Click on the highlighted icon as shown in the below image.
2. The below page will appear. Select or search for a Writer step to pull out the source data. Click on the Writer tab and select Merge PDF as shown in the image below.
Configuring a Merge PDF Writer Step
Illustrated in the below image is the configuration that is available in the Merge PDF Writer step.
From Field section โ Retrieve the value from a field on the record.
Using a Merge PDF Writer Step
The image below shows data in the Record Generator step. The 2 separate PDF pages are being referenced as Base64 strings.
The Run File step is shown below. The File Type has been selected as PDF.
Viewing the created PDF file
1. Click the Execute Flow button shown in the image below:
2. Click the Create Run button.
3. Once the run has completed successfully, click on the processed run and then click the download button on the Run File step to download the output file as highlighted in the image below.
The image below is an example of the PDF file which contains the 2 PDF pages.