Version Control

Promote agent changes safely from development to production

The platform supports a simple version control workflow using the expected environments: Development, Staging, and Production. Use Clone Agent and Replace Agent Content from the Actions column in the Agents table to move changes through each stage.

Clone and Replace Agent

Clone Agent and Replace Agent Content are the two actions that power the version control procedure. Cloning creates an identical copy of your agent, including all associated data. This allows you to experiment with new workflows and logic without affecting your live production environment. You can also replace one agent with another to promote configurations—such as moving from Dev to Prod. This action overwrites the current agent's content with content from another agent.

To create an identical copy:

  • Go to Workspace > Agents

  • Click the clone button in the Action column

  • Select the current workspace and enter a new name to reflect its environment.

  • Click Clone Agent to confirm

circle-check

How Agent Version Control Works

Version control relies on maintaining three separate copies of your agent, each representing an environment:

  • Dev: Where you build and iterate freely

  • Staging: Where you test changes before going live

  • Production: The live agent your end-users interact with

Changes flow in one direction: Dev → Staging → Production. You never edit Staging or Production directly. To reset the process you clone the Production back to Dev.

Setting Up Your Environments

circle-info

You only need to do this once per agent. After the initial setup, you promote changes using Replace Agent Content.

1

Create Your Dev Agent

Go to Workspace > Agents and click Create New Agent. Name it with a clear prefix, e.g., [DEV] Customer Support. Build your workflows, automated answers, and configurations here.

2

Clone to Staging

Once your Dev agent is ready for testing, click the Clone agent icon (copy) in the Actions column on the Dev agent row. Name the clone [STAGING] Customer Support.

3

Clone to Production

After testing passes in Staging, click the Clone agent icon on the Staging agent row. Rename the clone to [PROD] Customer Support. Deploy this agent to your live channels.

Promoting Changes

After the initial setup, use Replace Agent Content to push updates from one environment to the next.

1

Make Changes in Dev

Edit workflows, update automated answers, or adjust settings in the [DEV] agent only. Never modify Staging or Production directly.

2

Promote Dev to Staging

Click the Replace Agent Content icon in the Actions column on the [STAGING] agent row. In the dialog, select the [DEV] agent from the From dropdown. The To field is locked to the Staging agent. Review the confirmation screen, then click Replace.

3

Test in Staging

Validate the changes in Staging using the built-in testing tools or manual conversation testing. Confirm everything works as expected.

4

Promote Staging to Production

Click the Replace Agent Content icon on the [PROD] agent row. Select the [STAGING] agent from the From dropdown. Review and click Replace.

Resetting the Cycle

After a successful promotion to Production, reset the cycle by cloning your Production agent back to Dev. This re-baselines Dev to match exactly what is live, giving you a clean starting point for the next round of changes.

Click the copy action icon on the [PROD] agent row and name the new [DEV] agent. All three environments are now in sync and you can begin developing new changes in Dev.

circle-info

Resetting the cycle is optional but recommended. It prevents drift between environments and ensures Dev always starts from the current production state.

What Gets Replaced

Replacing Agent content will overwrite all currently existing content of selected Agent including all worfklows, variables and plugins.

Naming Convention

Use a consistent naming convention to keep your agents organized:

Environment
Naming Pattern
Example

Development

[DEV] Agent Name

[DEV] Customer Support

Staging

[STAGING] Agent Name

[STAGING] Customer Support

Production

[PROD] Agent Name

[PROD] Customer Support

Best Practices

  • Respect version control rules: Never edit Staging or Production agents directly — all changes start in Dev

  • Sync environments: Reset the cycle after every production deployment to keep environments in sync

  • Choose appropriate naming: Use consistent naming prefixes ([DEV], [STAGING], [PROD]) and tags so any team member can identify each environment at a glance

  • Backups before replacing: Create a backup for each environment in Designer > Backups before replacing content in Production, giving you a rollback option if needed

  • Replace with care: Review the confirmation screen carefully during Replace Agent Content — the action is non-reversible

Last updated

Was this helpful?