Zip Handler¶
The Zip Handler worker is used to handle .zip files inside the Everysk platform. It can be used to compress files from the platform or from a workflow inside a .zip file, or decompress a .zip file and save the decompressed files inside the platform or just use them in the flow.

Parameters¶
The Zip Handler worker must receive specific parameters in order to execute properly. When parameters are not set correctly it may cause the worker to not work as expected. The parameters are separated in the following tabs: Input and Output.
Input¶
The Input tab contains parameters which are consumed by the worker, in order to execute its calculations or actions.
Operation¶
Select whether the Zip Handler will work to zip files or unzip a compacted file using Select variant. After selecting an option, the Outputtab will appear in order to the worker receive more information.

Zip Operation¶
Select this option to compact files inside a .zip file.

Files¶
Select files to compress to a .zip file using Upstream Data, Tag Latest, Tag List or Select File variants. To add more files click on the Add File button.
Workspace¶
Set the research workspace of the input files using Fixed Workspace variant.
Unzip Operation¶
Select this option to decompress files from a .zip file.

File¶
Select a .zip file to decompress using Upstream Data, Tag Latest, Tag List or Select File variants.
Workspace¶
Set the workspace where the files will be sourced from/saved to using Fixed Workspace variant.
Output¶
The Output tab contains parameters that defines the worker execution results, and how it will be provided to downstream workers.
Unzip Operation¶
Set the output information for an unzip operation.

Output Mode¶
Select whether the unzipped file objects will be returned in a separate downstream flow using parallelism or a single downstream flow using Select variant.
You can read the The Worker Structure article to learn more about parallelism.

Tags¶
Set the unzipped files tags using Fixed Tags or Upstream Data variants.

Store Unzipped Files¶
Select whether the unzipped files will be saved inside the Everysk Platform or not using Select variant.

Transient¶
The unzipped files will not be saved in the platform, but will be accessible to the next workers in the workflow.
Create¶
The unzipped files will be saved in the platform in the Files tab and will also be accessible for the next workers in the workflow.
Workspace¶
Set the workspace in which the unzipped files will be saved on the platform using Fixed Workspace variant. The files will be inside the Files tab in that workspace
Zip Operation¶
Set the output information for a zip operation.

Name¶
Set the .zip file name using Template Text or Upstream Data variants.
Workspace¶
Set the workspace in which the file will be saved on the platform using Fixed Workspace.
Tags¶
Set the file tags using Fixed Tags or Upstream Data variants.
Storage Mode¶
When generating the .zip file, you can choose whether this file will be saved in the platform or not through the Storage Mode button. This button has two options: Transient and Create.

Result¶
Once this worker finishes to execute successfully, it will return an object containing the generated file(s) to the workflow, which can be used by downstream workers. Below you can see an example of the Zip Handler's result object hierarchy. You can check the Output Types article to learn more about result objects types.
- File (file)
- ID (string)
- Name (string)
- Tags (list)
- Content-Type (string)
- Data (file_data)