List files in a compressed archive.

Parameters:
See dedicated page for more information.
listFilesInArchive is a scripted action. Embedded code is accessible and customizable through this tab.
See dedicated page for more information.
The listFilesInArchive action extracts a list of filenames contained within one or more archives. This action is particularly useful in workflows that require inspection or processing of files within compressed ZIP or RAR archives, without extracting them.
The list can be filtered using usual wildcards. This output can then be used for filtering, routing, or further ETL processing downstream.
Use this when:
Supports multiple archives input via an input pin.
Optional filtering and output column prefixing available.

Create an InlineTable with one column (e.g., C1) containing ZIP archive paths:
C1
%assets%/brazil.zip
Connect the InlineTable to the listFilesInArchive action.
Set parameters:
File(s) Name(s) from pin = enabled (true)Input file = C1Output column name prefix = ZZ_Filename Filter = (leave empty or use *.csv, *.txt, etc. if needed)Run the pipeline.

Notes:
- The action does not extract the archive content (use unpackArchive to do so).
- Wildcards (.csv, report_.pdf, etc.) are supported in the filename filter.
- Prefixing output columns helps avoid column name collisions in downstream actions.
The listFilesInArchive action enables a lightweight, fast, and flexible way to explore compressed archives content inside an ETL workflow. It offers an essential step in automating archive inspection and is ideal for batch file validation, ingestion planning, or integration with other extraction or processing steps.
