What it does
This n8n workflow solves a common problem with binary attachments, such as files that arrive with an incoming email under keys like attachment_0 and attachment_1. A Function node takes all incoming items and their binary data, then returns one item per file with the file in a data field. The result is a list that a loop can process.
Use cases
- 01Process each email attachment on its own
- 02Pass single files to a document or upload step
- 03Prepare binary files for a loop that handles one at a time
Connects
HTTP Request · Compression