COMPRESSION Add to ZIP function

The COMPRESSION Add to ZIP function in RPA.

Help CentreBuilding Processes

This article describes the RPA Compression functionality to add a file to an existing ZIP archive.

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


Description

The Add to ZIP function adds a file to an existing ZIP archive. You can optionally specify the name the file should have inside the archive.


Setting it up

To use the Add to ZIP function, follow these instructions:

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

Once on a process map:

  1. Navigate to the process where you would like to add the Add to 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 Add to ZIP option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
Archive PathYesText-The path to the existing ZIP file
File PathYesText-The path to the file to add
Archive NameNoText-The name the file should have inside the archive. Defaults to the original filename.

Output variables

This action does not produce output variables.


Errors

ErrorDescription
Archive not foundThe ZIP file does not exist
File not foundThe file to add does not exist

Tips

  • Use the archive name parameter to control the name and path inside the archive
  • Combine with zip-create to build archives incrementally

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.