The Compress File block generates a ZIP archive from one or more input files during the execution of a flow. This is especially useful when you need to pass multiple files to downstream blocks (for example Send email or Web File Upload) as a single attachment.
When fully expanded, the following is an example of the Compress File block:
Note: The screenshot on this page uses the Elegance Design, introduced in 2025.3. If you are using an earlier version, your layout may look different.
Quick-start
-
Drag Compress File onto the canvas.
-
Add one or more files in Files (either by using Add File or by connecting file outputs from earlier blocks).
-
Run the flow when it’s ready and connect Zip File to the next block that should use the compressed file.
Building block parameters
Resources
|
Topic |
Description |
|---|---|
|
Common questions about creating, running, and managing flows in Leapwork. |
|
|
Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork. |