๐ Process multiple files with forms: a tutorial on binary data and loops
โก 5,409 views ยท ๐ File Management
Description
Let a user load multiple files with a Form node, and process the binary data. A very important workflow for many tools.
This is a learning example of several core concepts that are hard to grasp in n8n:
- $binary data
- Loop and $runIndex
- Split Out
The Save File deomonstrates how to access the binary data correctly, but could be swapped to POST the files to an AI, for example.
๐ Nodes Used
n8n Form Trigger, Read/Write Files from Disk
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File