PDF Tools
Convert File to PDF
Converts supported files into PDF format. Useful for standardizing documents before storage, sharing, or downstream processing.
Uses
Use this task for converting a file to a PDF file. Word documents, spreadsheets, presentations, and other office formats are supported.
Basic Usage
Parameters Explained
files required array
An array of file objects to be converted to PDFs. These do not have to be PDF files.
function required string
The pdf_tools function to call, in this case it would be file_to_pdf
Result
The newly created files are returned in files. The same files are returned in attachments, which adds them to the stub's attachments.