> For the complete documentation index, see [llms.txt](https://docs.shortcutco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shortcutco.com/readme/automations/change-a-running-automation-and-versions.md).

# Change a running automation and versions

What changes straight away and what waits for a new version, how to edit and publish a running automation, and how to look at, restore, or run an older version.

You can change an automation while it's running. Customers keep getting the version that's live until you publish your changes. This page explains what is versioned, how to publish a change, and how to go back to an older version.

Editing needs the **Optimize** plan. On Growth you can look at every version, but not restore or publish one.

## What waits for a version, and what doesn't

An automation has two kinds of change:

| Change                                                                                                    | Where you make it                                                    | When it takes effect                                                                             |
| --------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| **The workflow**: its starts and its steps                                                                | **Workflow** tab                                                     | When you publish it as a new version. Runs already in progress keep the version they started on. |
| **Settings**: name, description, **Repeat**, **Per**, **Cooldown**, **Timezone**, and **Automatic exits** | **Settings** tab, or the name and description at the top of the page | Straight away, for new runs **and** runs in progress. No publish, no new version.                |

The **Settings** tab says this too: *Versions hold the workflow. Settings on this tab apply right away and never need a new version.*

## Change the workflow and publish it

1. Open the automation and go to **Workflow**.
2. Make your changes. They save to the draft on their own, and the top of the page shows **Unpublished changes** (so does the automation's row on the list).
3. Click **Review & publish v4** (whichever version is next). Check the review, then click **Publish v4**.

From then on, new starts use version 4. Anyone already partway through keeps going on version 3. Each run's drawer in **Activity** shows the version it's on.

Publishing a stopped automation doesn't restart it. Click **Restart** when you want it running again.

### Throw away your changes

Click **⋮ More actions → Discard draft changes**. The window *Discard draft changes?* explains that the draft goes back to the running version. Click **Discard draft changes** to confirm, or **Keep editing**. Runs already in progress aren't affected.

## Look at an older version

A published automation has a version switcher at the top centre of the **Workflow** canvas.

* **‹** and **›** step to the older or newer version, and back to the draft.
* The middle button opens a list: **Draft** (*Editing · not published yet*, or *Editing · same as the latest version*), then each version with when it was published and who published it. The live one says **Running**.

Picking a version shows its workflow, read-only. Click any card to see its settings; the panel says *Version N is read-only. Restore it from the version switcher to edit it as the draft.*

<figure><img src="https://2299783971-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOhi7KtJ4vY1pDKwWu5SV%2Fuploads%2Fgit-blob-f642d451296a731818b555b5d59fb60a2ab423f1%2Fautomation-version-switcher.png?alt=media" alt="The version switcher open at the top of the Workflow canvas, listing the draft and each published version"><figcaption><p>Every published version is kept. Pick one to look at it.</p></figcaption></figure>

## Go back to an older version

While you're looking at an older version:

* **Restore** (in the switcher) copies that version's workflow into the draft. You'll see *v2 is in the draft*. Check it, then click **Review & publish** to run it.
* **Run v2…** (at the top right) does both in one go: it restores that version into the draft and opens the publish review straight away.

Either way, the older workflow goes out as the **next** version number. Old versions are never changed or re-used. Restoring only copies the workflow; your settings stay as they are.

<figure><img src="https://2299783971-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOhi7KtJ4vY1pDKwWu5SV%2Fuploads%2Fgit-blob-e550a200242fbe2d13b20944a0c0ef78176cbee4%2Fautomation-version-run-older.png?alt=media" alt="An older version shown read-only on the Workflow canvas, with Restore in the version switcher and Run v2… at the top right"><figcaption><p>Restore an older version into the draft, or run it as the next version.</p></figcaption></figure>

## The Versions section on Settings

The bottom of the **Settings** tab sums it up:

* **Live version**: the running version and since when, or *Never published – this automation is a draft.*
* **Workflow draft**: *Saved workflow changes run after the next publish review.*, or *Same workflow as the live version.*
* **Earlier versions**: which ones exist. Open and restore them from the switcher on the Workflow canvas.
* **Started from**: the template it was made from, if any.
* **Created** and **Last updated**.

## Related pages

* [Build and publish an automation](https://docs.shortcutco.com/readme/automations/build-and-publish-a-campaign.md)
* [Automation results, activity, and receipts](https://docs.shortcutco.com/readme/automations/campaign-activity-and-receipts.md)
* [Troubleshooting: an automation didn't fire](https://docs.shortcutco.com/readme/automations/troubleshooting-an-automation-didnt-fire.md)
