> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cassidyai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Utility variables

> Access metadata about the current Workflow run, the user who triggered it, and the Workflow itself for logging, personalization, and conditional logic.

Utility variables provide metadata about the current [Workflow](https://docs.cassidyai.com/workflows/overview.md) execution. Use them to personalize outputs, create audit trails, send contextual notifications, and implement conditional logic based on run details.

## Access utility variables

**1. Open the variable selector**

While editing an action's prompt or input field, type **#** or click **Insert Variable**. A dropdown appears showing trigger inputs and action outputs.

![Variable selector dropdown showing trigger inputs and action outputs](https://mintcdn.com/cassidy/fKT2RiTD5Kge6TLJ/images/workflows/variable-selector-dropdown.png?fit=max\&auto=format\&n=fKT2RiTD5Kge6TLJ\&q=85\&s=c28f77e4643f7d3c00c6558e694ab1b7)

**2. Navigate to Utilities**

In the dropdown, hover over **Utilities** to expand the available utility variables.

![Utilities section expanded in the variable selector showing Workflow Run, Run by User, and Workflow variables](https://mintcdn.com/cassidy/fKT2RiTD5Kge6TLJ/images/workflows/utilities-section-expanded.png?fit=max\&auto=format\&n=fKT2RiTD5Kge6TLJ\&q=85\&s=2db53eb9b54530f0d1c35c42ed12b1dc)

**3. Select a variable**

Click the variable you want to insert. Cassidy formats it with the correct syntax automatically.

For general information on variables, see [referencing variables](https://docs.cassidyai.com/workflows/building.md#reference-variables-between-steps).

## Available variables

### Workflow Run

| Variable | Description |
| - | - |
| **ID** | Unique identifier for this specific run |
| **Link** | Direct URL to view this run in Cassidy |
| **Started At Date (UTC)** | The date the run began, in UTC |
| **Started At Date & Time (UTC)** | Full timestamp (date and time) when the run started, in UTC |
| **Is Test Run** | `true` if this is a test execution, `false` for live runs |

### Run by User

| Variable | Description |
| - | - |
| **Name** | Full name of the user who initiated the run |
| **Email** | Email address of the user who triggered the run |
| **Role** | Organizational role of the user (Member or Admin) |

### Workflow

| Variable | Description |
| - | - |
| **Name** | Display name of the Workflow |
| **Link** | Direct URL to the Workflow configuration page |
| **ID** | Unique identifier for the Workflow itself (not the specific run) |

## Common use cases

> [accordion] Personalization
>
> Include the runner's name in email outputs or customize content based on their role. For example, add `"Prepared by: #Run by User > Name"` to a generated report.

> [accordion] Logging and audit trails
>
> Include the Run ID, user email, and timestamp in output files for compliance tracking. This is especially useful when Workflows process sensitive data or interact with external systems.

> [accordion] Notifications
>
> Send Slack messages or emails that include who ran the Workflow, when it started, and a link to the run for quick reference.

> [accordion] Conditional logic
>
> Use **Is Test Run** with [Paths](https://docs.cassidyai.com/workflows/building.md#add-conditional-logic-with-paths) to behave differently during testing vs live execution. For example, skip sending real emails during test runs, or write to a staging database instead of production.

> [accordion] Workflow management
>
> Include the Workflow name and link in generated reports or communications so recipients can easily navigate back to the source automation.

## Next steps

> [card] [Reference variables](https://docs.cassidyai.com/workflows/building.md#reference-variables-between-steps)
>
> Learn how to pass data between Workflow steps using all variable types.

> [card] [Structured output fields](https://docs.cassidyai.com/workflows/advanced/structured-output-fields.md)
>
> Define consistent output formats for your Workflow actions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.