I am trying to add one field from past node but got this error
Please help me how to solve this iss
error “ [Can’t determine which item to use - execute node for more info] “
The error message you are seeing (Can’t determine which item to use - execute node for more info) happens in n8n when the workflow tries to reference data from a previous node using the .item method, but n8n cannot automatically determine which item to use. This typically happens in workflows with branching, loops, or nodes that output multiple items, breaking the direct link between items across nodes.
Why:
-
n8n maintains a “thread” for each item, tracking its origin through the workflow. If this thread is broken (e.g., due to branching, merging, or certain node types), or if there are multiple possible matches, n8n can’t resolve which item to use with
.itemand throws this error. -
Nodes like Merge, Aggregate, or custom code nodes that output multiple items or combine items from different sources can also cause this issue if item pairing information is lost or ambiguous.
Fix:
Instead of using .item, use methods like .first(), .last(), or .all()[index] to explicitly specify which item you want to reference. For example, use $('NodeName').first().json.field if you want the first item from a node’s output.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.