So I have an on form submission trigger, with a field named ‘Video link’. The next step, I split and am performing two AI transform javascript functions to sanitize the video link for future steps, then rejoin to continue the workflow.
In step 3… Why are my ‘Video link’ data pills unable to differentiate when I drag them in from step/node 1 vs. step/node 2A vs. step/node 2B? The expression which comes in, no matter which pill I drag it from, always says {{ $json[‘Video Link’] }}… so what determines order?
This seems like a bug. When you drag and drop a data pill, you would expect the expression to adjust dynamically based on which node you are dragging it from. I would think just having the same name should not create a different result. In other words, the expression should also tie to the NODE.
So I fixed this by adding the node name before the expression pill.
For example:
As opposed to: {{ $json[‘Video Link’] }}
I added in: {{ $(‘Edit Fields’).item.json[‘Video Link’] }}
Or I added in: {{ $(‘On form submission’).item.json[‘Video Link’] }}
I still think this is a bug. Not sure if all of n8n works like this when you drag in data pills or if its just limited to youtube get video… but when you drag in a data pill, the JMESpath should differentiate automatically between the nodes the pill is coming from.