mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
26 lines
592 B
Markdown
26 lines
592 B
Markdown
# Custom variables
|
|
|
|
--8<-- "_snippets/code-examples/variables-list.md"
|
|
|
|
## Examples
|
|
|
|
|
|
### $workflow
|
|
|
|
Gives information about the current workflow.
|
|
|
|
```js
|
|
// Boolean. Whether the workflow is active (true) or not (false)
|
|
$workflow.active
|
|
// Number. The workflow ID.
|
|
$workflow.id
|
|
// String. The workflow name.
|
|
$workflow.name
|
|
```
|
|
|
|
### $resumeWebhookUrl
|
|
|
|
The webhook URL to call to resume a [waiting](/integrations/builtin/core-nodes/n8n-nodes-base.wait/) workflow.
|
|
|
|
See the [Wait > On webhook call](/integrations/builtin/core-nodes/n8n-nodes-base.wait/#webhook-call) documentation to learn more.
|