mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2026-03-29 10:28:40 +07:00
744 B
744 B
$("<node-name>").item
!!! info "Expressions only"
$("<node-name>").item is only available in the Expressions editor. You can't use it in the Function node.
Returns the data of a specified node.
// Returns the fileName of binary property "data" of Node "HTTP Request"
const fileName = $("HTTP Request").item.binary["data"]["fileName"]}}
// Returns the context data "noItemsLeft" of Node "SplitInBatches"
const noItemsLeft = $("SplitInBatches").item.context["noItemsLeft"];
// Returns the value of the JSON data property "myNumber" of Node "Set"
const myNumber = $("Set").item.json['myNumber'];
// Returns the value of the parameter "channel" of Node "Slack"
const channel = $("Slack").item.parameter["channel"];