MorphoPDF icon

MorphoPDF

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

Format to PDF → Excel to PDF

AI-generated

Summary

Convert an Excel (.xlsx) file to a PDF document using either binary input data or a public URL to the file.

Inputs

  • Input Method (required) — Select how to provide the Excel file to convert: either as binary data from a previous node or via a public URL. URL input is recommended for AI tool usage.
  • File URL (required) — When 'URL' is selected as Input Method, provide the public URL of the Excel (.xlsx) file to convert.
  • Input Binary Property (required) — When 'Binary Data' is selected as Input Method, specify the name of the binary property that contains the Excel file data in the previous node's output.
  • Output Type (required) — Choose whether to return the converted PDF as binary data in the node output or as a temporary download URL valid for one hour. The URL option is recommended for AI tool usage.
  • Output Binary Property — When 'Binary Data' is selected as Output Type, specify the name of the binary property in which to store the PDF file.

Output shape

a single file in PDF format

The output contains the PDF conversion result either as binary data under the specified binary property (default 'data') or as a JSON with a temporary download URL. The download URL expires after 1 hour.

Examples

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

Set Input Method to 'URL', provide the File URL to the Excel file, set Output Type to 'URL'. The output JSON contains a 'downloadUrl' for the resulting PDF.

Example 2: Convert Excel file from binary data and output as binary

Set Input Method to 'Binary Data', specify the Input Binary Property holding the Excel file, set Output Type to 'Binary Data' and specify Output Binary Property name. The output includes the PDF binary data under that property.

Links

Discussion