PROCESIO
OverviewPlatform ActionsIntegrations & DemosMarketplaceCustom ActionsDeveloperโ€™s Guide

Unzip

Extracts the files from a .zip archive, including password-protected ones.

Unzip opens a .zip archive and gives you the files inside it as a list. Use it when you receive a zipped export by email, from an SFTP server or from an API and need to process each file.

Add the action

In the Process Designer toolbox, open Documents โ€บ Archive and pick Unzip (or type Unzip in the search box).

The Unzip action properties: Archive, Password and File List

Inputs and outputs

FieldDirectionTypeRequiredWhat to put / what you get
ArchiveInputFileYesThe .zip file to extract.
PasswordInputTextNoThe archive password. Leave it empty for an archive without a password.
File ListOutputList of FileYesThe extracted files.

Example

An archive bundle.zip that holds a.txt and a folder docs with b.txt:

CaseResult
Archive bundle.zipFile List a.txt, docsb.txt
A password-protected archive, Password secretThe files are extracted
A password-protected archive, Password emptyThe step fails: "Zip extraction error : No password supplied for encrypted zip."
Archive bundle.tarThe step fails: "Input error: Archive must have '.zip' extension."

Good to know

  • The file name must end in .zip. A zip file with another extension is refused, even if its content is a valid zip.
  • Folders are not kept. A file in a sub-folder comes out at the top level, and its name is the folder name and the file name joined without a separator (docs/b.txt becomes docsb.txt). Empty folders are skipped.
  • Use a For Each to work with the extracted files one by one.

On this page