Merge Function Node

2 inputs, 1 output, run Javascript

Not sure if you saw the documentation of the Function-Node here:
https://docs.n8n.io/#/nodes?id=method-itemindex

What you want to do is probably already possible by having a Merge-Node and afterward a Function-Node. You are then able to get the value of any parent node like this:

const myNumber = $item(0).$node["Set"].data["myNumber"];
1 Like