Stubmation
Unzip Files
Extracts the contents of zip archives into individual Stubber files. Useful for bulk uploads, supplier document packs, and email attachments that arrive as a single archive.
Uses
A scenario for this could be:
- A customer or supplier uploads a single zip archive containing many supporting documents
- An email or API integration delivers a batch of files as one compressed attachment
- You need the individual files available in the stub before running further tasks on them, such as PDF Tools or a GPT Chat Task
The archive is unpacked and each file inside it is uploaded to Stubber as its own file.
Basic Usage
Flow Data Explained
files required array
An array of the zip files to extract. Each entry is a file object rather than a plain fileuuid, so pass the whole file value from the stub.
More than one archive can be passed in a single call, and the contents of all of them are extracted.
Result
Each file inside the archive is uploaded to Stubber and the details of the newly created files, such as fileuuid and filename, are returned by the task.
Use those file details in later tasks in the same action, for example to attach the files to the stub or to run a PDF tool over them.
Notes
- The files passed in
filesmust be zip archives. Other file types are not unpacked. - The original archive is left as-is; extracting does not delete or replace it.
- Files inside folders in the archive are extracted as individual files.
- Large archives can take a while to process, so raise the timeout on the task if the default is not enough.