Skip to main content
Roberty Studio
RPAPDF

Convert Document to PDF

Convert Document to PDF

Converts an Office document (Word, Excel, etc.) to PDF format, saving the result at the given path.


Options​

Path to model​

Enter the full path of the document file to convert to PDF. Example: C:\Desktop\relatorio.docx.

Path to generate the PDF​

Enter the full path where the resulting PDF file will be saved, including the name and the .pdf extension. Example: C:\Desktop\relatorio.pdf.

Returns​

This action has no returns.

Rules and Conditions​

  • The Path to model and Path to generate the PDF fields are required.
  • The source file must exist and be a document supported for conversion.
  • The PDF destination directory must exist before the run.
  • If a file already exists at the path given in Path to generate the PDF, the action returns an error and does not overwrite it.
  • On Windows, the conversion is done by Microsoft Office. On macOS and Linux, the conversion is done by LibreOffice, which must be installed on the computer.