When to use it
- You prefer editing text over clicking through a UI.
- You want to make bulk structural changes quickly (reorder steps, copy-paste blocks, rename fields across the journey).
- You’re reviewing or auditing a journey definition and want the full picture in one place.
- You’re working from a YAML definition generated elsewhere (e.g., imported or templated externally).
Key concepts
- Journey-as-YAML — the YAML editor surfaces the full journey schema: steps, value references, assertions, metadata, and overlays.
- Round-trip editing — the Visual and YAML editors share one source of truth. There is no export/import step; switching views is instantaneous.
- Schema validation — the editor validates your YAML against the journey schema in real time and highlights errors inline. Invalid YAML will not save.
- See
/reference/yaml-schemafor the full field reference.
How it works
Open the journey in Build mode and use the view toggle at the top of the canvas to switch to YAML. The editor loads your current journey as valid YAML. Edit freely. The editor highlights schema violations as you type. When you switch back to the Visual editor, your changes are applied to the canvas.Examples
A minimal two-step journey in YAML:templatereferences a request template by path in the library.source: run-inputmeans the value is supplied at run time.source: secretwithsecret_nameselects a secret reference by name — the value is never stored in the journey.source: step-outputpulls a value from a previous step’s response using apathexpression.
Related pages
Visual editor
The canvas-based editing view — same journey, different interface.
YAML schema reference
Full field reference for the journey YAML format.
Values panel
How value sources work in journey configuration.
Step types
Supported step types and their YAML fields.

