AI Help

How do I find where n8n lost the link to the original input item?

Trace item pairing at the first node where the expected source item changes or becomes ambiguous.

Steps to follow

  1. Give each input a stable ID and inspect the node inputs and outputs around branches, merges and Code nodes.
  2. Check expressions using paired-item lookup and the node's documented item-linking behavior. Preserve pairing metadata when custom code changes item relationships.
  3. Test two distinct records through the affected path and verify each downstream value maps to its source.

Example in practice

Illustrative example. A transformed contact item should still resolve its original lead ID instead of borrowing the first item's value.

Related AI help

Official guidance

n8n documentation