ColurianCOLURIAN
← Help centre Automation

Test changes in a sandbox, then deploy them

How to create a Colurian sandbox, what it copies, how to switch in and out and refresh it, and how to deploy tested changes to production with a change set.

Updated · 4 min read

Who can do this: Owners and admins create and manage sandboxes; deploying into production needs the workspace owner

In short: Go to Setup → Sandboxes, type a name and click + New Sandbox. You get a copy of your workspace's setup with none of its customer records. Build and test there, then bundle the changes in a change set under Setup → Deploy Metadata and deploy them back to production.

Before you start

  • Open Setup from the menu under your avatar at the top right: choose ⚙ Setup. Sandboxes and change sets are under Environments.
  • You can only create a sandbox from your real workspace, which Colurian calls Production. A sandbox can't have its own sandbox.
  • Owners and admins can create, refresh and delete sandboxes and build change sets. Deploying writes into the target workspace, so you must be that workspace's owner to deploy into it.

What a sandbox copies

A sandbox copies your configuration, not your business records.

CopiedNot copied
Workflow, validation, assignment and duplicate rules, and FlowsLeads, Accounts, Contacts, Opportunities and other records
Profiles, permission sets, record typesPeople's own events and private events
Custom objects and custom fieldsReports and dashboards
Public Groups, sharing rules and shared calendars
Quick actions, custom buttons, approval processes, page layouts, email templates and other Setup items
Your industry edition and add-ons

The one exception to "no records" is shared team calendars: events on them from the last 90 days are copied, without links to accounts or contacts, so you can try calendar setup with something on it.

Everyone in your workspace is added to the sandbox with the same role, so teammates can switch in and help test. Add a few test records yourself to try your changes on.

Create a sandbox

  1. Go to Setup → Sandboxes.
  2. Type a name in New sandbox name…, for example "Lead routing test".
  3. Click + New Sandbox.

The sandbox appears in the list with its created date and Last Refreshed time.

Switch into and out of a sandbox

  1. In Setup → Sandboxes, click Switch next to the sandbox. You can also pick it from the workspace list in your avatar menu, where sandboxes show a 🧪.
  2. A banner reads "You're in Sandbox [name]", so you always know where you are. Changes there don't affect production.
  3. To go back, open your avatar menu and pick your production workspace (shown with 🏢).

Automation runs for real inside a sandbox, but it never emails your customers. When a workflow rule or Flow would send an email, Colurian logs a completed task on the record instead, with a subject starting "Sandbox -- would have emailed".

Build and test

  1. Switch into the sandbox.
  2. Make your change: a new field, a validation rule, a Flow, a profile change.
  3. Create test records that should trigger it, one that shouldn't, and an edge case.
  4. Ask a teammate with a normal profile to try it too. Some problems only show up for people with less access.

Deploy changes to production with a change set

A change set is a named bundle of Setup items that you deploy as one batch. Build it in the sandbox.

  1. In the sandbox, go to Setup → Deploy Metadata.
  2. Type a name in New change set name… and click + New Change Set.
  3. Open it. Under + Add Components, choose a type, find the item and click + Add. For custom fields, pick the object first, or use + Add all fields for this object.
  4. Under Deploy, choose your production workspace as the target.
  5. Click Preview Deploy. Each component shows as New (it will be created) or Modified (it will replace the item with the same name in production).
  6. When the preview looks right, click Deploy [n] components to [workspace].

Components are matched by name, so a Modified item overwrites what's in production. A deploy is all or nothing: if one component fails, everything already applied in that deploy is undone. After a deploy, Last Deploy to [workspace] lists what changed.

A shared calendar deploys without its events. Check production straight after deploying, using one real record.

Refresh or delete a sandbox

  • Refresh replaces the sandbox's setup with a fresh copy of production's. Setup changes you made in the sandbox are replaced, so deploy anything you want to keep first.
  • Delete removes the sandbox, its copied setup and anything created in it, for good. Production isn't affected.

Both are in Setup → Sandboxes, next to Switch.

Frequently asked questions

Will testing in a sandbox email my customers?

No. Workflow rule and Flow emails are never sent from a sandbox. Each one is logged as a completed task on the record instead, so you can see what would have gone out.

Does a sandbox include my customer data?

No. A sandbox copies setup only, apart from recent events on shared team calendars. Add your own test records.

Can my team use the sandbox?

Yes. Everyone in your workspace is added with the same role and can switch in from the avatar menu. If you remove someone from your workspace, they lose access to its sandboxes too.

What if a deploy fails halfway?

Nothing is left half-done. Colurian undoes the components it had already applied in that deploy and tells you which component failed.

How often should I refresh?

Refresh before each new round of changes, so the sandbox matches production. For the reasoning behind this approach, read What a CRM sandbox is, and why a small team needs one.