Distribute: a reverse Merge node — split each item into parts and send each part to its own named output (n8n-nodes-distribute)

Hi everyone! :waving_hand:

I built a community node called Distribute. Think of it as a Merge in reverse: one input, many named outputs, and each output gets a different slice of the same item, all at the same time.

Instead of chaining Set / Edit Fields on several branches just to send customer data to one place and order.items to another, you define it all in one node.

                  ┌→ "customer"  → { name, cpf }
Item → Distribute ├→ "items"     → one item per order.items[]
                  └→ "audit"     → whole item (with binaries)

Fields

Each Add Output in Routes creates a new output on the canvas.

Field What it does
Output Name Name shown on the canvas (like Rename Output in Switch). Empty = “Output N”
Mode: Pick Fields Only the chosen fields, e.g. name, customer.cpf as cpf, address
Mode: All Fields Except The whole item minus the chosen fields. Removing a list element (tags[1]) doesn’t leave a null behind
Mode: Split Array Field Takes a list (e.g. order.items) and sends each element as its own item
Mode: Whole Item The item untouched (binaries included)
Field Names Keep Structure: customer.cpf → { customer: { cpf } }. Last Part Only: → { cpf }
Skip When Empty Sends nothing to that output if none of the fields exist

Use as to rename a field: customer.cpf as document.


Installation

Self-hosted: Settings → Community Nodes → Install → n8n-nodes-distribute, then search for Distribute in the nodes panel.

Feedback, bugs and ideas are very welcome! :raising_hands:

:package: npm: https://www.npmjs.com/package/n8n-nodes-distribute