Lesson 5 of 6 — Test and promote changes safely: Sandbox → Pre-release → Live. For detailed workflows, see Version management. For reference, see Environments and versions.
How environments work
Think of environments as checkpoints, not branches.
Draft
Your working state. Changes exist only for you.
Published version
A snapshot of the agent at a moment in time.
Environment
A place where a specific version is running and can receive traffic.
The full promotion flow
The Environments page
This page shows every published version of your agent and where it is currently deployed.What you'll see
What you'll see
- Version name or description
- Author and timestamp
- Which environments it’s active in (Sandbox / Pre-release / Live)
- An overflow menu for actions
Key actions
Key actions
- Preview version – load the agent exactly as that version behaves
- Compare versions – open a side-by-side diff
- Rollback to this version – immediately restore a previous state
Check your understanding
Environment types
- Sandbox
- Pre-release
- Live
Sandbox is your development and testing environment.Use Sandbox for:
- Writing or editing KB topics
- Adjusting rules and behavior
- Changing voice settings
- Wiring or modifying actions, SMS, or handoffs
Best practices
Best practices
- Confirm you are in Sandbox before editing
- Publish frequently with short, descriptive notes
- Test after every meaningful change
Verification
Verification
- Chat testing reflects your latest changes
- Test calls hit Sandbox numbers, not Live numbers
- Conversation Review shows the Sandbox environment tag
Publishing and promotion flow
Comparing versions
The Compare versions view is your primary safety tool.What it shows
- Added KB topics
- Modified content
- Removed actions
- Function wiring changes
- Sample question edits
When to use it
Before every promotion to verify all changes are intentional
Rollbacks
Rollbacks are instant and safe.When to use rollback
When to use rollback
- A KB topic misfires
- Voice sounds wrong
- Handoffs spike unexpectedly
- A release introduces confusion
How to rollback
How to rollback
- Select a known-good version
- Click rollback
- Confirm rollback
- Verify with a live test call
Rollback restores behavior immediately without deleting newer versions.
Phone numbers and environments
Each environment can have its own phone number.Sandbox number
Internal testing only
Pre-release number
QA and acceptance testing
Live number
Public traffic
Common mistakes
Check your understanding
Verification checklist
You understand environments when:
- You can say which version is live without checking
- You know how to roll back in under a minute
- You can explain what changed between two versions
- You never feel tempted to “just tweak production”
Try it yourself
Challenge: Pre-release checklist
You’ve made three changes in Sandbox: updated the pet policy topic, added a new SMS offer for late checkout, and changed the agent voice stability from 0.6 to 0.8.List at least 4 specific tests you would run before promoting to Pre-release.
Hint
Hint
Think about each change you made and what could have broken. Also consider: what tests should always run, regardless of what changed?
Example solution
Example solution
- Test pet policy topic — ask “are dogs allowed?” in both Chat and Call; confirm the correct topic triggers.
- Test SMS consent flow — ask “can you text me the late checkout info?” and confirm the agent asks for consent before sending.
- Make a test call — listen for the voice stability change; confirm the agent sounds more consistent and no audio artifacts were introduced.
- Run a full smoke test — test a simple FAQ, out-of-scope refusal, and a handoff to confirm nothing regressed from your other changes.
- Compare versions — open the diff and confirm the three changes are the only ones present.
Check your understanding
← Previous: Edit voice settings
Lesson 4 of 6
Next: Conversation reviews →
Lesson 6 of 6

