CloudConvert icon

CloudConvert

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

Overview

The CloudConvert node's "Create Archive" operation allows you to bundle multiple files into a single archive (such as ZIP or RAR) using the CloudConvert API. This is useful for automating workflows where you need to compress and package files before sending, storing, or further processing them. For example, you might use this node to collect generated reports, images, or documents and deliver them as a single downloadable archive.

Properties

Name Meaning
Authentication Selects the authentication method for CloudConvert:
- OAuth2 (Recommended)
- API Key
Output Format Specifies the format of the resulting archive (e.g., zip, rar). The available options are dynamically loaded from CloudConvert based on the operation.
Binary Input Data Whether the input files should be taken from a binary field (true) or provided as text content (false).
Input File Content (Shown if Binary Input Data is false) The text content of the file(s) to upload.
Input Filename (Shown if Binary Input Data is false) The filename (including extension) for the uploaded file.
Binary Property (Shown if Binary Input Data is true) The name of the binary property that contains the data for the file(s) to be archived.

Output

  • The node outputs a JSON object containing information about the created archive.
  • If the output is a file (the archive itself), it will be available in the binary output property specified by the node configuration.
  • Typical fields in the JSON output may include:
    • Metadata about the archive (e.g., filename, size, format)
    • Download URL or reference to the binary data
  • If binary data is output, it represents the actual archive file (ZIP, RAR, etc.).

Dependencies

  • External Service: Requires access to the CloudConvert API.
  • Authentication: You must provide either an API Key or set up OAuth2 credentials in n8n.
  • n8n Configuration: Credentials for CloudConvert must be configured in your n8n instance under the appropriate authentication type.

Troubleshooting

  • Invalid Operation Error: If an unsupported operation is selected, the node will throw an error like Invalid operation archive. Ensure you select a valid operation.
  • Authentication Errors: If credentials are missing or incorrect, you may receive errors related to authentication failure. Double-check your API Key or OAuth2 setup.
  • File Not Found/Binary Property Error: If the specified binary property does not exist or is misspelled, the node may fail to find the input file. Verify the property name matches your workflow's binary data.
  • Output Format Issues: If an unsupported output format is chosen, the node may return an error from CloudConvert. Use only formats listed in the Output Format dropdown.

Links and References

Discussion