Overview:
TheRead 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/O | Feature | Type | Simple Explanation |
---|---|---|---|
input | zip_file_name | file | The zip file you want to extract and read contents from. |
output | file_names | string[] | A list of names of the files found inside the zip file. |
output | file_contents | string[] | 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.
Read Zip File
block proves invaluable!