Files
n8n-docs/docs/data/expression-reference/nodeoutputdata.md
Kartik Balasubramanian 96e6ba167d Revamp the data section of n8n docs (#4077)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-02-25 14:30:33 +00:00

92 lines
2.5 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# NodeOutputData
## `$()`.**`all()`**
**Description:** Returns an array of the nodes output items
**Syntax:** `$()`.all(branchIndex?, runIndex?)
**Returns:** Array<Item>
**Source:** Custom n8n functionality
**Parameters:**
* `branchIndex` (Number) - optional - The output branch of the node to use. Defaults to the first branch (index 0)
* `runIndex` (Number) - optional - The run of the node to use. Defaults to the first run (index 0)
## `$()`.**`first()`**
**Description:** Returns the first item output by the node
**Syntax:** `$()`.first(branchIndex?, runIndex?)
**Returns:** Item
**Source:** Custom n8n functionality
**Parameters:**
* `branchIndex` (Number) - optional - The output branch of the node to use. Defaults to the first branch (index 0)
* `runIndex` (Number) - optional - The run of the node to use. Defaults to the first run (index 0)
## `$()`.**`isExecuted`**
**Description:** Is <code>true</code> if the node has executed, <code>false</code> otherwise
**Syntax:** `$()`.`$()`.**`isExecuted`**
**Returns:** Boolean
**Source:** Custom n8n functionality
## `$()`.**`item`**
**Description:** Returns the matching item, i.e. the one used to produce the current item in the current node. <a href="/data/data-mapping/data-item-linking/">More info</a>
**Syntax:** `$()`.`$()`.**`item`**
**Returns:** Item
**Source:** Custom n8n functionality
## `$()`.**`itemMatching()`**
**Description:** Returns the matching item, i.e. the one used to produce the item in the current node at the specified index. <a href="/data/data-mapping/data-item-linking/">More info</a>
**Syntax:** `$()`.itemMatching(currentItemIndex?)
**Returns:** Item
**Source:** Custom n8n functionality
**Parameters:**
* `currentItemIndex` (Number) - The index of the item in the current node to be matched with.
## `$()`.**`last()`**
**Description:** Returns the last item output by the node
**Syntax:** `$()`.last(branchIndex?, runIndex?)
**Returns:** Item
**Source:** Custom n8n functionality
**Parameters:**
* `branchIndex` (Number) - optional - The output branch of the node to use. Defaults to the first branch (index 0)
* `runIndex` (Number) - optional - The run of the node to use. Defaults to the first run (index 0)
## `$()`.**`params`**
**Description:** The configuration settings of the given node. These are the parameters you fill out within the nodes UI (e.g. its operation).
**Syntax:** `$()`.`$()`.**`params`**
**Returns:** NodeParams
**Source:** Custom n8n functionality