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

2.5 KiB
Raw Blame History

NodeOutputData

$().all()

Description: Returns an array of the nodes output items

Syntax: $().all(branchIndex?, runIndex?)

Returns: Array

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 true if the node has executed, false 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. More info

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. More info

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