Templates / Split out binary data

Split out binary data

Needs changes

by Tom ✓ · 8,290 views · created 2022-05-05 · File Management

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 4 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes. It also calls static.thomasmartens.eu over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Download Example Data (HTTP Request): calls static.thomasmartens.eu
  2. Decompress Example Data (Compression): uses Compression
  3. Split Up Binary Data (Function): runs custom JavaScript (legacy Function node)

HTTP calls to: static.thomasmartens.eu

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • Function (legacy) in Split Up Binary Data: replace with Code node, mode 'Run Once for All Items'.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2022 — 25% of templates published before 2025 need changes for 3.0. See how template age affects 3.0 readiness →

Removed in 3.0Replace with
Function (legacy)
Split Up Binary Data
Code node, mode 'Run Once for All Items'

Nodes used (4)

From the author

This workflows helps with processing binary data. You'll often have binary objects with keys such as attachment0, attachment1, attachment2, etc. attached to your items, for example when reading an incoming email. This binary data is hard to process because…

Excerpt from Tom's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.