Files
n8n-docs/docs/code-examples/methods-variables-examples/workflow.md
2023-07-18 15:33:16 +01:00

17 lines
272 B
Markdown

---
contentType: reference
---
# `$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
```