COMPRESSION Create ZIP function

The COMPRESSION Create ZIP function in RPA.

Help CentreBuilding Processes

This article describes the RPA Compression functionality to create a ZIP archive.

For a full list of available functions, please read COMPRESSION functions.


Description

The Create ZIP function creates a new ZIP archive from one or more files, a directory, or a list of paths. You can choose the compression method for optimal size or speed.


Setting it up

To use the Create ZIP function, follow these instructions:

{{popups:rpas/add:action=zip-create}}

Once on a process map:

  1. Navigate to the process where you would like to add the Create ZIP function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the COMPRESSION Create ZIP option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
Archive PathYesText-The path for the output ZIP file
SourceYesText-The file, directory, or list of paths to include in the archive
CompressionNoSelectdeflatedCompression method: deflated, stored, bzip2, or lzma

Output variables

This action does not produce output variables.


Errors

ErrorDescription
Source not foundThe source file or directory does not exist
File write errorCould not write the archive to the specified path

Tips

  • Use deflated compression for the best balance of size and speed
  • Use stored (no compression) when speed matters more than file size

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.