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

# Version history

> Understand how DialogBot tracks draft and published versions of your automation flows.

DialogBot automatically tracks every published version of your flows, so you always have a record of what was running in production and can safely iterate without risk.

## How versioning works

<Steps>
  <Step title="Edit in draft">
    Make changes to your flow freely. All edits are saved as a **draft** and do not affect the live flow.
  </Step>

  <Step title="Publish to go live">
    When your changes are ready, click **Publish**. The draft becomes the new **published** version.
  </Step>

  <Step title="Published versions are locked">
    Once published, a version is **immutable** — it cannot be edited. This ensures your production flow stays stable.
  </Step>

  <Step title="Edit again when needed">
    If you want to make more changes, DialogBot automatically creates a new draft copied from the published version. Edit and publish again when ready.
  </Step>
</Steps>

## Draft vs. published

DialogBot uses color-coded indicators to show the state of each version:

| Indicator  | Status    | Description                      |
| ---------- | --------- | -------------------------------- |
| Yellow dot | Draft     | Work in progress. Not live.      |
| Green dot  | Published | Currently running in production. |

## Reverting to a previous version

Because every published version is saved and immutable, you can always return to an earlier state:

1. Open the **Version History** panel for the flow.
2. Locate the version you want to restore.
3. DialogBot will copy that version into a new draft.
4. Review the draft and publish it when ready.

<Note>
  Rolling back creates a new draft from the old version — it does not immediately replace the currently published flow. You must publish the draft to make it live.
</Note>
