FM
FlowMarket
DevOps & GitHub Beginner ⚡ 6 n8n Nodes

Split out binary data

This workflows helps with processing binary data. You'll often have binary objects with keys such as attachment0, attachment1, attachment2, etc. attached to ...

🔌 Nodes & Integrations Used (2)

HTTP Request Compression

📖 Implementation & Setup Guide

This workflows 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 returning a single item for each file with a `data` key containing your binary file.

Incoming binary data:

Processed binary data:

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Split out binary data.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related DevOps & GitHub Workflows

View All in DevOps & GitHub →