--- title: Unzip operation description: Extract one or more compressed attachments from a zip archive. You can extract all the compressed attachments in an archive or choose specific attachments to unzip. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/build-workflows/workflow-studio/unzip-operation.html release: australia product: Workflow Studio classification: workflow-studio topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [ZIP step, Steps, Flows, subflows, and actions reference, Flows, subflows, and actions, Workflow Studio, Build workflows] --- # Unzip operation Extract one or more compressed attachments from a zip archive. You can extract all the compressed attachments in an archive or choose specific attachments to unzip.
Field Description
Operation **Unzip** operation that extracts the attachments from the zipped archive in the record.
Source Attachment Records Record that contains that zipped archive that you want to unzip.
Target record Record that you want to unzip the attachments in the zipped archive to.
Target Table Table related to the target record. The table is automatically populated when you select the record from the **Target record** field.
Advanced Options
Files to Unzip Option to select the files that you want to unzip. Use the following options:- **All Files**: Unzips all the attachments from the zipped archive. - **Selected Files**: Unzips only specific attachments that you select by using the **File Name Regular Expression** field. - **File Name Regular Expression**: Regular expression for selecting the required attachments from the zipped file in the source record. For example, the regular expression `*\.png` selects all the `.png` files in the archive.
Delete Source Zip Attachment Field that removes the zipped archive in the source record after the unzip operation is completed.
## Action error evaluation - **If this step fails** Data type: **Choice** Option to continue running the next step or go to error evaluation. To use the step status code or message for a custom action error condition, see [Action error evaluation](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/action-error-evaluation.md). **Parent Topic:**[ZIP step](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/zip-step.md)