Edit a live automation
You can change an automation while people are in it. Your edits save as a draft, and nothing changes for anyone until you publish.
Draft and publish
When you edit an enabled automation, click Save draft to keep your changes without making them live. To discard them, use Discard draft.
When you're ready, click Publish. Before it applies the changes, PostHog shows how many people are partway through, and what happens to people who wait in a step that you removed. It also warns you about variables that will be empty for them.


Each publish saves a version on the History tab. To roll back, click Restore as draft on an earlier version, then publish it.


What happens to people already in it
A run remembers which step it's on, not the automation as it was when it started. So:
- Fixes reach them. When someone reaches their next step, it runs as it's published now.
- Nobody goes back. A step that you add behind someone never runs for them.
- Sent is sent. Emails already sent are never resent or changed.
Changes reach running automations within about 30 seconds of publishing.
| You change | People waiting at that step |
|---|---|
| A delay, shorter | Move on within minutes if they've already waited long enough. |
| A delay, longer | Keep waiting for the rest of the new time. |
| A time window or Wait until condition | Are checked against the new one within minutes. |
| An email's content | Get the new version when they reach it. |
| Delete the step they're waiting in | Move to the next step, or leave if there isn't one. |
A variable from a step that you add is empty for people who were already past that step.
Turn it off
Click Disable to stop new people from entering. People already waiting stay where they are. When they reach their next step while it's still off, their run is canceled. If you enable it again in time, they carry on.
To stop them straight away, cancel their runs. See stop runs.





