CloudConvert icon

CloudConvert

Use CloudConvert to convert files, create thumbnails, merge files, add watermarks and more!

Overview

The node uses CloudConvert to optimize or compress files to reduce their size. This operation is useful for scenarios where file size reduction is needed without significant loss of quality, such as preparing images, PDFs, or other documents for web use, email attachments, or storage optimization.

Use Case Examples

  1. Compressing a PDF document to reduce file size before sending via email.
  2. Optimizing images to improve website load times by reducing file size.
  3. Compressing video files to save storage space while maintaining acceptable quality.

Properties

Name Meaning
Authentication Method of authentication to use for CloudConvert API requests, either OAuth2 or API Key.
Binary Input Data Whether the input file to upload should be taken from a binary field.
Input File Contents The text content of the file to upload, used if Binary Input Data is false.
Input File Name The input filename including extension, used if Binary Input Data is false.
Binary Property Name of the binary property which contains the data for the file to be optimized, used if Binary Input Data is true.
Additional Options JSON dictionary of additional options to customize the optimization task.

Output

JSON

  • id - Unique identifier of the optimized file job.
  • status - Status of the optimization job (e.g., processing, finished).
  • result
    • files - Array of files resulting from the optimization process, including URLs and metadata.

Dependencies

  • CloudConvert API

Troubleshooting

  • Ensure the correct authentication method is selected and credentials are valid.
  • Verify that the input file is correctly provided either as binary data or text content depending on the Binary Input Data setting.
  • Check the format and correctness of the Additional Options JSON to avoid malformed requests.
  • Common error messages include invalid operation errors if the operation parameter is incorrect, or API authentication errors if credentials are missing or invalid.

Links

Discussion