Using the merge node - merge by key
Needs changesNeeds 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.0 | Replace with |
|---|---|
| Function (legacy) Data 1, Data 2, Convert Data 1, Convert Data 2 | Code node, mode 'Run Once for All Items' |
Nodes used (2)
- Function
n8n-nodes-base.function - Merge
n8n-nodes-base.merge
What it does
This is an example of how you can make Merge by Key work. The “Data 1” and “Data 2” nodes simply provide mock data. You can replace them with your own data sources. Then the “Convert Data” nodes are important. They make sure that the different array items are actually different items in n8n. After that, you have then the merge with the merged data.