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

# Convert to YAML

> Serialize a workflow value as YAML text.

## Inputs

| Input               | Type    | Required | Description                                                                |
| ------------------- | ------- | -------- | -------------------------------------------------------------------------- |
| **Value**           | Any     | Yes      | The value to serialize.                                                    |
| **Use references?** | Boolean | No       | Represent repeated objects with YAML anchors and aliases. Defaults to off. |

## Output

| Output   | Type   | Description                       |
| -------- | ------ | --------------------------------- |
| **YAML** | String | YAML using two-space indentation. |

Lines wrap at approximately 80 characters. Enable references when a repeated
object should be emitted once and reused with aliases; leave it off for
simpler standalone YAML.
