> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/build/work-with-data/transform-data/expression-reference/workflowdata.md).

# Workflowdata

## `$workflow`.**`active`** <a href="#dollarworkflowactive" id="dollarworkflowactive"></a>

**Description:** Whether the workflow is active

**Syntax:** `$workflow`.`$workflow`.**`active`**

**Returns:** Boolean

**Source:** Custom n8n functionality

## `$workflow`.**`id`** <a href="#dollarworkflowid" id="dollarworkflowid"></a>

**Description:** The workflow ID. Can also be found in the workflow’s URL.

**Syntax:** `$workflow`.`$workflow`.**`id`**

**Returns:** String

**Source:** Custom n8n functionality

## `$workflow`.**`name`** <a href="#dollarworkflowname" id="dollarworkflowname"></a>

**Description:** The name of the workflow, as shown at the top of the editor

**Syntax:** `$workflow`.`$workflow`.**`name`**

**Returns:** String

**Source:** Custom n8n functionality
