Custom variables#
n8n provides the following variables:
$binary: incoming binary data from a node$data: incoming raw data from a node$env: contains environment variables$json: incoming JSON data from a node$now: a Luxon object containing the current timestamp. Equivalent toDateTime.now().$parameters: parameters of the current node$position: the index of an item in a list of items$resumeWebhookUrl: the webhook URL to call to resume a waiting workflow.$runIndex: how many times the node has been executed. Zero-based (the first run is 0, the second is 1, and so on).$today: a Luxon object containing the current timestamp, rounded down to the day. Equivalent toDateTime.now().set({ hour: 0, minute: 0, second: 0, millisecond: 0 }).$workflow: workflow metadata
Examples#
$workflow#
Gives information about the current workflow.
1 2 3 4 5 6 | |
$resumeWebhookUrl#
The webhook URL to call to resume a waiting workflow.
See the Wait > On webhook call documentation to learn more.