Skip to content
masterclass Buddy

n8n · Expression

$input

$input reads data entering the current n8n node. It can return all, one selected, or the active input item, and it can expose the node's configuration.

Last updated

Syntax

$input.all(branchIndex?, runIndex?)
$input.first(branchIndex?, runIndex?)
$input.item
$input.last(branchIndex?, runIndex?)
$input.params

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • $json
  • $parameter
  • $nodeoutputdata

Source: Nodeinputdata | Build | n8n Docs. Checked 2026-11-03.