MorphoPDF icon

MorphoPDF

Professional PDF processing - merge, split, convert, compress, protect & more

Format to PDF → PowerPoint to PDF

AI-generated

Summary

Convert a PowerPoint (.pptx) file to PDF format from either a public URL or binary data input, returning the resulting PDF as either binary data or a temporary download URL.

Inputs

  • Input Method (required) — Choose how to provide the input PowerPoint file: 'Binary Data' to use data from a previous node or 'URL' to fetch from a public URL.
  • File URL — Public URL of the PowerPoint file to process; required if Input Method is 'URL'.
  • Input Binary Property — Name of the binary property containing the PowerPoint file; required if Input Method is 'Binary Data'.
  • Output Type (required) — Select how to return the PDF: as 'Binary Data' embedded in the output or as a temporary 'URL' valid for 1 hour.
  • Output Binary Property — Name of the binary property to store the output PDF, used only if Output Type is 'Binary Data'.

Output shape

a single record containing the converted PDF file in binary form or a JSON with a temporary download URL

If 'Binary Data' output is selected, the PDF file binary is set under the specified binary property. If 'URL' output is selected, a JSON object includes the downloadUrl, filename, file size, and expiry information (valid for 1 hour). Errors from the API are propagated as failures.

Examples

Example 1: Convert a PowerPoint file from a URL and get a download link

Input Method set to URL with a valid public PPTX URL, Output Type set to URL.

Example 2: Convert a PowerPoint file from binary data in the node input and get the file inline

Input Method set to Binary Data, Input Binary Property set to the binary field containing the PPTX file, Output Type set to Binary Data, and Output Binary Property set to the desired field name to receive the PDF binary.

Links

Discussion