You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the drag-and-drop feature to insert data from nodes that are 2 or more steps back in the workflow, the generated expressions are incorrect. The feature adds unnecessary .item references or other incorrect syntax, which causes the expressions to fail. This issue occurs specifically when trying to reference nodes that are not immediately before the current node in the workflow.
Red - using drag'n'drop
Green - manual editing
To Reproduce
Create a workflow in n8n with multiple nodes.
Add data-generating nodes (e.g., HTTP Request or Code nodes).
In a later node, try to use the drag-and-drop feature to reference data from nodes that are two or more steps earlier in the workflow.
Notice that the generated expression contains incorrect syntax, such as unnecessary .item references or other elements that cause errors like "Can't determine which item to use."
Expected behavior
The drag-and-drop feature should correctly generate expressions that use the proper syntax, such as {{ $node.Configure.json.guild_id }} or {{ $node["Configure"].json["guild_id"] }}, without adding unnecessary .item or other incorrect parts.
The red is actually the "correct" syntax we changed it back in v1, When you try and run the node what error do you see as it could be that paired items is not implemented correctly in the node the data is coming from.
Bug Description
When using the drag-and-drop feature to insert data from nodes that are 2 or more steps back in the workflow, the generated expressions are incorrect. The feature adds unnecessary .item references or other incorrect syntax, which causes the expressions to fail. This issue occurs specifically when trying to reference nodes that are not immediately before the current node in the workflow.
Red - using drag'n'drop
Green - manual editing
To Reproduce
Expected behavior
The drag-and-drop feature should correctly generate expressions that use the proper syntax, such as
{{ $node.Configure.json.guild_id }}
or{{ $node["Configure"].json["guild_id"] }}
, without adding unnecessary .item or other incorrect parts.Operating System
https://n8n.io/
n8n Version
1.57.0
Node.js Version
don't know
Database
SQLite (default)
Execution mode
main (default)
The text was updated successfully, but these errors were encountered: