Use Convert to PDF to convert existing files, such as Word documents or Excel workbooks, inside a workflow. For example, after contract approval, convert the uploaded agreement and pass the PDF to an archive step.
Key Features and Business Use Cases
Use PDF for a review copy or a standard archive format. If the workflow needs to fill in a template first, use Generate document to produce a PDF from the template and workflow data.
How to Configure the Convert to PDF Action
Identify the input attachment or file variable, choose an output name, and prepare a file variable to receive the PDF.
1. Add the Convert to PDF Action
In the workflow designer, drag Convert to PDF from Actions to the canvas. Connect it after the step that makes the input file available.
2. Configure the Convert to PDF Action
Select the action and open its settings.
Step 1: Action Name and Description
Enter an Action name, such as Convert agreement to PDF. Use Description to note where the file comes from or what happens to the PDF next.
Step 2: Select Input File(s)
Under Select input file(s), select an attachment or a file variable populated earlier in the workflow. Use the switch icon beside the field to select an input through an expression. Choose Add another file for each additional input and remove any entries you no longer need.
Step 3: Output File Name
In Output file name, enter a fixed name or open the expression editor to build a name from workflow values. For example, combine Agreement- with Tracking No. so the resulting file can be matched to the request.
Step 4: Save Output File To
Under Execute result → Save output file to, select a workflow file variable to receive the PDF, such as Agreement PDF. Later actions can read the file from this variable.
To archive the PDF in a document library, add a Set Data List action after conversion. Select the library, choose Add, and map Upload File to the PDF output variable. Set Path in that action if the file belongs in a specific folder. Add files to a document library folder
3. Test and Verify
Publish the workflow in a test application and submit one sample input. Open the PDF from the output variable or wherever the test form displays it. Confirm the expected name, pages, tables, and images.
If the workflow accepts multiple inputs, test the combination people will use. Inspect the output and check the file count, contents, and page order against what the next action needs.
If the workflow archives the result, open the file in the target library folder. Check that the archive step picked up the PDF variable and that the filename matches the request.
If conversion fails, check that the input variable contains a file by the time the action runs, confirm the file format, and review the selected output variable.

