But for real business cases, as soon, as i add some other nodes (for example xml conversions, but that’s true for everything), it doesn’t work anymore…
N8n is not like programming, so there is often not the need for a variable type object to keep changing.
Have you done the courses? They might give you a better understandig on how to do it with n8n.
Your original question had you refering to specific nodes and fields.
My answer was how to do it in a flow.
You might need a combination of that or use merge nodes to combine and then modify data.
Ps. I personally always use merge nodes for things like this, as it makes sure no funky business happens.
Except for settings or single values coming into a flow. Only then I use references to other nodes.
Yeah so whenever you are having multiple lines going into a node you need to think to your self if you need a merge node.
Sometimes it is fine, but most of the time you want to combine the data and you need to use a merge for that.
It of course always depends.