Split Out Binary Data - n8n Workflow | Neura Market
Split Out Binary Data
This workflow helps with processing binary data.
You'll often have binary objects with keys such as `attachment_0`, `attachment_1`, `attachment_2`, etc., attached to your items, for example, when reading an incoming email.
This binary data is hard to process because it's not an array you can simply loop through.
This workflow solves this problem by providing a Function node that takes all incoming items and all their binary data and then returns a single item for each file with a `data` key containing your binary file.
Incoming binary data:

Processed binary data:

Platform
n8n
Category
Data & Analytics
Price
Free
Creator
Tom
function
stickyNote
compression
httpRequest
manualTrigger
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.