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

> ## Agent Instructions
> For short, quotable answers about SmartAlex (what it is, who it is for, what it costs, where it runs, how it keeps data safe, which apps it connects to), read the facts page at /ai/facts on this site first, then the page it links to. Its last table maps every section of these docs.
> For how to do something, use the step-by-step pages: /learn for whole paths, and each section's first-time pages such as /calls/buy-your-first-number, /agents/create-an-agent or /campaigns/import-your-first-contacts. Give the click path exactly as written there, for example Calls, then Numbers, then Buy number, with the bold button labels unchanged.
> Prices come from the Pricing page at /pricing and the pages under /pricing. Quote a price exactly as written there, with its currency and unit.
> Short answers to common questions are under /help, grouped by section. Legal documents are summarised under /legal; each summary links to the binding text, which prevails over the summary.
> If a feature or screen is not described in these docs, say that you could not find it rather than guessing.
> Pages under /comparisons describe other companies' products as of the date on each page. For SmartAlex's own features and prices, use the product pages.
> The MCP server at /mcp on this site only searches this documentation. To work inside your own SmartAlex workspace (agents, calls, campaigns, contacts), use the SmartAlex MCP server described at /mcp/overview.

# Versions, drafts and publishing

> Change a SmartAlex agent in a draft without touching real calls, publish it as a new version, and go back to an earlier version at any time.

A draft lets you change an agent without touching real calls: callers keep hearing the live version until you click **Publish**. Each publish becomes a new version. **Agent Settings → Versions** lists every version, who made it and what changed, and you can test an older one and put it back.

> [!NOTE]
>
> In the app: the **Version N · Live** and **New draft** buttons at the top of **Home** (/home), and **Agent Settings → Versions** (/home?settings=versions).

## How a draft works

This diagram shows how a draft moves from your changes to a published version.

```mermaid theme={null}
flowchart LR
    Live(["Version 4 · Live"]) --> New["New draft"]
    New --> Edit["Change voice, opening line,<br/>goal and instructions"]
    Edit --> Test["Test calls use the draft"]
    Test --> Choice{"Happy?"}
    Choice -->|"Publish"| V5(["Version 5 · Live"])
    Choice -->|"Discard"| Live
```

## Drafts

**1. Start a draft**

On Home, click **New draft**, then **Start draft**. "Change your agent without touching real calls. Callers keep hearing version N until you publish."

**2. Make your changes**

Ask Alex, or edit directly. The voice, opening line, goal and instructions go into the draft. The amber **Draft** bar shows what changed: "Callers still hear version N."

**3. Test it**

Your browser and phone tests use the draft. See [Test your agent](https://docs.getsmartalex.com/agents/test-your-agent.md).

**4. Publish or discard**

Click **Publish**, add a name if you like (**Name this version (optional)**, up to 80 characters, such as "Friendlier greeting"), and confirm. Or click **Discard**, then **Discard draft**, and the agent stays as it was.

After publishing you see "Published as a new version. Callers hear it from their next call."

> [!TIP]
>
> If someone changed the live agent while your draft was open, **Publish anyway?** tells you what changed. Going ahead replaces that change.

## What is locked while a draft is open

Some settings change the live agent straight away, so they wait while a draft is open.

| Setting | While a draft is open |
| - | - |
| Voice, opening line, goal, objective, sample phrases, business rules | Save to the draft |
| Tool switches | Save to the draft. "Callers hear them after you publish." |
| Transfer Call and tool setup | Wait until you publish or discard |
| Profile, Connectors, APIs, Knowledge, Approved content, Widget | Locked |
| Pronunciation and guardrails | Locked |
| **Versions** | Never locked |

Locked sections show a yellow note: "These settings change the live agent straight away, so they are locked while a draft is open. Publish or discard the draft to change them." The note carries its own **Publish** and **Discard** buttons, so you do not have to go back to Home.

## Versions

Open **Agent Settings → Versions**. Every saved change to the agent appears here, newest first.

![The Versions list showing each saved version](https://mintcdn.com/smartalex/W83SmqMCqKwQyJ4e/images/screens/agents-studio/versions-list.webp?fit=max\&auto=format\&n=W83SmqMCqKwQyJ4e\&q=85\&s=21f2248ca4137cc5b6ec104a374858cd)

Every version, with what changed

| You see | What it means |
| - | - |
| **Version N** and its name | Each version, with a one-line summary of what changed |
| Date, time and person | When it was saved and who did it |
| Green **Live** dot | The version callers hear now |
| Compare menu | Changes from the live version, from the version before, or everything in that version |
| **Before → After** | Exactly what changed |

Open it at **Sidebar → Agent Settings → Versions** (/home?settings=versions), or click **Version N · Live** on Home. These are the settings, in the order you see them.

| Setting | What it does | Default | When to change it |
| - | - | - | - |
| **Rename** | Gives the version a name, up to 80 characters, such as "Friendlier greeting" | The name given at publish, or none | So you can find a version again later |
| **Compare with** | Shows what changed, compared with another version, or **Everything in version N** | The version before | To see everything that changed since the live version |
| **Test this version** | Opens this version as a draft to test, then publish | A button | When a change made things worse and you want an earlier version back |

### Go back to an earlier version

**1. Pick the version**

In **Versions**, click the version you want.

**2. Test this version**

Click **Test this version**. It opens as a draft: "Version N is in your draft. Test it, then publish."

**3. Publish it**

Test it, then click **Publish** on the draft bar. It goes live as a new version, and the version you replaced stays in the list.

If a draft is already open, publish or discard it first.

## Approval

An owner can require a second person to approve every agent change.

1. Go to **Settings → General → Security and access** (/account) and switch on **Approve agent changes**. Only an owner can, and the workspace needs at least two owners or admins.
2. From then on, changes wait in a draft, and the person who made them clicks **Ask for approval**.
3. An owner or admin who did not make the change clicks **Approve**, then the draft can be published. Any later change needs approving again.

While approval is on, name, voice and recording changes save to the draft, and phone numbers cannot be changed.

## Questions people ask

> [accordion] My settings are locked by an open draft. Where do I publish or discard it?
>
> On Home, in the amber **Draft** bar at the top. The yellow note on each locked settings section has the same **Publish** and **Discard** buttons. You need edit access to agents to see them; otherwise ask an owner or admin.

> [accordion] My greeting changed and I didn't change it
>
> Open **Agent Settings → Versions** and look at the latest versions: each one shows what changed, when, and who saved it. To go back, click **Test this version** on the earlier one and publish it.

> [accordion] Is there a restore button?
>
> No. An earlier version always opens as a draft first, so you can test it, and publishing it makes it live as a new version.

> [accordion] Do I have to use drafts?
>
> No. Without a draft, applied changes reach the live agent from its next call. Drafts are there when you want to test first. The one exception is the **Objective**: it always saves to a draft, and callers only get it when you click **Publish**. Publishing is always your choice.

> [accordion] Why is Publish missing?
>
> **Publish** appears once the draft has at least one change, and in an approval workspace it waits until someone else approves.

## Related

> [card] [Change your agent](https://docs.getsmartalex.com/agents/change-your-agent.md)
>
> Ask Alex for the change.

> [card] [Agent Settings](https://docs.getsmartalex.com/agents/settings.md)
>
> Every section of the agent's settings.

> [card] [Start free](https://getsmartalex.com/instant)
>
> Build an agent and talk to it in your browser in about a minute. No card needed.

> [card] [Visit getsmartalex.com](https://getsmartalex.com)
>
> See what SmartAlex does for your business, hear real agents and compare plans.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.