n8n $input.all()
Returns an array of every item that reached the current node. Each item stores its data under .json.
Syntax
$input.all()
Example
$input.all().map(item => item.json.email)
Result: [[email protected], [email protected]]