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.
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. |
Consider how this block can be beneficial across different scenarios:
In summary, whenever there’s a need to efficiently handle and analyze data stored in zipped collections, the Read Zip File
block proves invaluable!