Overview:

The Read Zip File block enables users to read the contents of a zip file as UTF-8 text, allowing for further processing in your workflows. This block is particularly useful for extracting text files generated by the Zip File Writer block during runtime, providing easy access to the information contained within zip archives.

Supported file types include .pdf, .json, .csv, .txt, .html, and .docx within zip files.


Inputs & Outputs

I/OFeatureTypeSimple Explanation
inputzip_file_namefileThe zip file you want to extract and read contents from.
outputfile_namesstring[]A list of names of the files found inside the zip file.
outputfile_contentsstring[]A list containing actual contents of each file as UTF-8 strings.

Use Cases

Consider how this block can be beneficial across different scenarios:

  • Document Processing: If you need to process large volumes of text files or data sets stored in a single compressed format, this block allows seamless extraction and manipulation directly within your flow.
  • File Organization: When managing extensive archives that may contain various formats—this tool helps you quickly identify what’s included without manually opening each individual file.

In summary, whenever there’s a need to efficiently handle and analyze data stored in zipped collections, the Read Zip File block proves invaluable!