Organizations and data
How items link across Duaer nodes
In Duaer, each output item includes metadata that links it to the input item (or items) that generated it, creating a chain you can follow backward.
Later nodes often use .item to read a field from an earlier step. An email may sit on the customer item while the current item is an order; linking tells the run which customer that order came from.
You need this when building programmatic nodes, or when the Code node creates new items.
Automatic item linking
If a node does not control how to link inputs to outputs, Duaer tries to guess:
- Single input, single output: the output links to the input.
- Single input, multiple outputs: all outputs link to that input.
- Multiple inputs and outputs: if you keep input items but reorder or drop some, Duaer can usually add the correct links; if the counts match, it links in order.
- If the counts differ, or you create brand-new objects without linking info, Duaer cannot link automatically.
When Duaer cannot link items and the node does not handle linking, it shows an error. See Item linking errors.
Questions
Which row does .item refer to?
In Duaer, the input item that belongs to the current output item, not always index 0. An expression follows that link back to a field on an earlier node.
When does automatic linking work?
In Duaer, usually for one-to-one, one-to-many, same count with reorder, or a single incoming item. It does not when counts differ without clear linking info.
In this section
Fix item linking errors in Duaer
In Duaer, when you use .item to reference an earlier node, the run errors if the linking thread is broken or points at more than one item.
DataPreserve linking in Duaer’s Code node
In Duaer, when referencing a previous node you need to know which item to use. Most nodes link automatically; in the Code node you sometimes set pairedItem yourself.
DataUnderstand Duaer’s data structure
Understanding how Duaer structures and passes data between nodes is fundamental to building workflows. This guide covers the data structure format and how data flows.