> For the full index of Sherpa pages for agents, see https://www.withsherpa.ai/llms.txt

URL: https://www.withsherpa.ai/docs/publish-and-roll-back
Title: Publish and roll back | Sherpa Docs
Description: Send a change live after a person reviews it, and undo it if you need to.

[Docs](https://www.withsherpa.ai/docs) Websites

# Publish and roll back

Send a change live after a person reviews it, and undo it if you need to.

Admins and members can publish. Contributors build the change and share the preview for one of them to publish.

Publishing is the one step an agent never takes for you. When you say publish, your agent prepares a review page that shows what the change does, and a person presses the button. That single rule is what lets a team hand real work to AI without worrying about what ends up on the live website.

If something still goes wrong, every published version is kept and you can roll back.

## See it in action

Ask your agent this.

> Summarize what this change does in plain words, then send it for review so I can publish.

It answers with something like this.

Here is what will go live.

- A new Security page at /security

- A Security link in the footer under Company

It is ready for review. Open the link and press Publish when you are happy.

## What happens

1. Your agent submits the change and sends you a review link.

2. You open the review in Sherpa. It shows what the change does, including any CMS content and experiments it touches.

3. You press **Publish**.

4. Sherpa builds and releases the new version. If the build fails, the live website stays as it was.

## What to check

- The review shows only the work you expected.

- After publishing, the live page shows the change.

## Good to know

### Your agent never publishes

Your agent cannot press Publish and will not say a change is live until a person has pressed it. This is true for every role and every agent.

### What the review shows

The review is one page with a title and a plain description of the change. It lists any CMS entries the change adds or edits and any experiment it adds, updates or removes, and it links to a preview. If CMS content in the change has a problem, such as a missing required field, your agent has to fix it before the change can be published.

### If you edit after submitting

Edits made after a change was submitted are not in the review yet. Ask your agent to send it for review again.

### Roll back

Every published version is kept. If something is wrong, roll back to an earlier version from the dashboard. Your recent publishes are listed under **Recent activity** on the Overview page.

### Changes you decide not to ship

Ask your agent to discard a change you no longer want. A discarded change can be restored later. A change that has already been published cannot be discarded, so roll it back instead.

**Pro tip**

Before you publish, ask for the change in two plain sentences. If the summary surprises you, the review will too.

## Common questions

### We want AI to make changes to our website, but a person has to approve them. How does that work?

That is how Sherpa works for every change. Your agent prepares a review page that shows what the change does, and a person presses Publish. No agent can publish on its own. For teammates who should draft but not ship, use the contributor role.

### Who can publish?

Admins and members. Contributors can build a change and its preview, then share it with an admin or member to publish. See [Roles and who can publish](https://www.withsherpa.ai/docs/roles).

### How do I undo a published change?

Roll back to an earlier version from the dashboard. Every published version is kept.

## Example prompts

Each one works as written in Claude or ChatGPT once Sherpa is connected. Swap in your own pages and dates.

### The request from the example

> Summarize what this change does in plain words, then send it for review so I can publish.

You get a last look in words before the review link arrives, and your agent only sends it because you said publish.

### The pre-flight check

> Before I publish, check this change for anything risky. Look at links, forms and anything that touches the CMS.

A last check from the agent that made the edits, before a person signs off.

### The clean slate

> Discard the change for the old pricing idea.

Clears a draft you will not ship. It can be restored later, so it is safe to ask.

### The comeback

> Bring back the pricing change I discarded last week and show me a preview.

Discarded work is archived, not deleted.

## For agents

Sherpa MCP tools for this job, in the order they are usually called. `submit_change`, `get_change`, `get_change_diff`, `discard_change`, `restore_change`. Work inside a change, and only call submit_change when the person asks to publish. A person presses Publish. Every tool is described in the [MCP reference](https://www.withsherpa.ai/docs/mcp-reference).

## Next

[**Work on several drafts at once** Run more than one change at the same time, alone or with teammates, without stepping on each other.](https://www.withsherpa.ai/docs/parallel-drafts) [**Teach your agent your brand** Store your voice, design rules and company facts with the website so every agent follows them.](https://www.withsherpa.ai/docs/teach-your-brand)
