7️⃣

7. Handling files

Processing files in a workflow allows users to efficiently preview, download, compress, and uncompress a variety of file types.

Advanced file handling for building workflows

📂 In this video, we'll look at an advanced feature of building workflows: file handling, and introduce a new option for node output called binary view .
🖼 The binary output provides important information about the file, such as file name, directory, type, size, etc., whereas the table, JSON, and schema views remain empty when processing only files.
🔄 The example demonstrates the functionality of binary viewing by showing how an HTTP request can retrieve a file so that the user can preview or download it directly.
📦 We also discussed key nodes for file handling, including compressing and decompressing files using the zip format, which is useful for self-hosting and converting JSON objects .
📥 Learn how to retrieve multiple files by executing an HTTP request and compress them into a single zip file for easy storage or transfer.
📤 This video walks you through the process of requesting a zip file, unzipping it, and extracting multiple files, while emphasizing the need to split it into separate binary entities for further processing.
🔧 We used code nodes to split binary files into separate entities so that each file can be processed efficiently in subsequent workflow steps .
🎥 In the next video, we'll cover enterprise features that can take your workflow building to the next level.
LiveWiki, the key content on YouTube in 10 seconds! - https://livewiki.com/ko/content/n8n-advanced-course-handling-files
This video covers advanced file handling features, including an additional binary view option when processing files.
When reading images or documents, this feature allows you to preview the files or download them to your computer.
Binary output includes additional information such as file name, directory, file type, size, etc.
You can preview or download files via Binary View .
As an example, we will explain the process of retrieving a file via an HTTP request and previewing or downloading binary data.
Introducing useful nodes related to file handling: compressing/decompressing, reading/writing files from disk, converting JSON objects to file formats, etc.
An example of how to process files in n8n.
Explains the process of retrieving an image file using the HTTP request node , and previewing and downloading the file in binary view .
Demonstration of the process of compressing two files into a ZIP file via the Compress node.
Conversely, the process of requesting a ZIP file and decompressing the data is described.
Import a ZIP file and use the Unzip node to separate the files.
An example demonstration of using code nodes to split an unzipped file into individual items.
Describes the process of dividing each separated file into binary items and processing them.