mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2026-03-27 17:38:40 +07:00
92 lines
2.5 KiB
Markdown
92 lines
2.5 KiB
Markdown
# NodeOutputData
|
||
|
||
## `$()`.**`all()`**
|
||
|
||
**Description:** Returns an array of the node’s 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 node’s UI (e.g. its operation).
|
||
|
||
**Syntax:** `$()`.`$()`.**`params`**
|
||
|
||
**Returns:** NodeParams
|
||
|
||
**Source:** Custom n8n functionality
|
||
|