How to view scenario C1 Flow (YAML) in Scenario Builder?
When you need the logic of a section as plain text — without walking the canvas node by node — Scenario Builder can open C1 Flow: a YAML description of states, transitions, and translations. This is view-only: edits in the editor are not saved to the scenario.
When you need this
- Share a section’s structure with a colleague or support.
- Read long state chains and branches more easily than on the canvas.
- Copy a YAML fragment for analysis outside the constructor.
Before you start
You are signed in as an integrator or administrator. Scenario Builder is open for the target bot. C1 Flow projection is enabled for your instance (an administrator turns it on under Settings → Feature Flags). If the menu item is missing, contact your administrator. The scenario is published (or saved on the server) when you need an up-to-date snapshot: YAML is built from the saved bot state, not from unsaved canvas edits.
Open C1 Flow view
- Open the target section in Scenario Builder.
- On the top toolbar, click the gear button (Settings menu).
- Choose View C1 Flow (YAML).
- The C1 Flow window opens with a text editor.
While data loads, you see Loading projection....
Using the window
| Element | Purpose |
|---|---|
| File | Projection YAML files: bot.c1.yaml (bot metadata) and sections/…c1.yaml (per section). |
| Editor | Text of the selected file; scrolling and syntax highlighting. Edits are not saved. |
| Version hash | Short snapshot id (useful when contacting support). |
| Copy | Copies the full current file to the clipboard. |
By default, the YAML for the current section is selected when available.
If view is unavailable
| Symptom | What to do |
|---|---|
| View C1 Flow (YAML) is missing under Settings | Ask an administrator to enable C1 Flow projection on the instance. |
| Message that projection is unavailable | Same — setting is off or not applied on the instance. |
| Load error | Check connectivity; publish the scenario and try again. If it persists, contact support. |
| Empty file list | Save or publish the scenario, then open the view again. |
Limitations
- View only. YAML changes in the window do not update the canvas or publish the scenario.
- The snapshot reflects the saved bot state; unsaved canvas edits are not included in YAML.
- C1 Flow is a text view of logic; not every canvas detail maps one-to-one to YAML.
To change the scenario, keep working on the canvas or use your usual publish flow. See What is C1 Flow (YAML)? for more on the format.