Templates / Convert an array into an array of objects

Convert an array into an array of objects

Needs changes

by Harshil Agrawal ✓ · 2,113 views · created 2020-11-03 · Engineering

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-10-19.

What to replace before upgrading

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

Nodes used (1)

What it does

You can use the Function node to convert an array to an array of objects.

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.