What is Change Set in Salesforce?
Updated · By the Clientell AI team · How we write
A change set in Salesforce is a bundle of metadata changes that you send from one org to another, usually from a sandbox to production. It carries setup items such as custom fields and flows, not records. You build it as an outbound change set. The target org deploys it as an inbound change set.
Key facts
- What it moves
- Metadata, meaning customizations made in Setup. Never records (Salesforce Help).
- Two sides
- Outbound change set in the source org, inbound change set in the target org
- Typical path
- Sandbox to production, or sandbox to sandbox, over a deployment connection (Salesforce Help)
- Where to find it
- Setup > Outbound Change Sets and Setup > Inbound Change Sets
- Deploy rule
- An inbound change set deploys as a whole, not component by component
- Before you deploy
- Validate first to see the success and failure messages (Salesforce Help)
Clientell AI, the AI Salesforce admin, compares your sandbox to production and deploys from a chat, with a pre-flight check and rollback, so Change Set stops being a manual step. See AI Salesforce deployments
Try it in Clientell AI
“Compare my sandbox to production, list what a Change Set would move, and show the risks before anything deploys.”
Clientell AI reads your org first. Platform deployments include rollback. How security works.
What is a change set in Salesforce?
A change set is the standard click-based way to copy customizations from one Salesforce org to another. You build and test a change in a sandbox. Then you add it to a change set and send it to production.
Change sets contain information about the org, not data such as records (Salesforce Help). You cannot use one to upload contact records. Use Data Loader or the Data Import Wizard for records.
Change sets carry only changes you can make through Setup. Code changes outside Setup need the Metadata API or the Salesforce CLI.
What is the difference between outbound and inbound change sets?
The same change set has two names, depending on which org you are in. You work in both orgs.
| Outbound change set | Inbound change set | |
|---|---|---|
| Where it lives | The org you send from | The org that receives it |
| Who creates it | You, by adding components | Nobody. It arrives after you upload. |
| What you do with it | Add components and dependencies, then upload | Validate it, then deploy it |
| Typical use | Send changes tested in a sandbox | Receive changes in production |
How do you deploy a change set step by step?
Both orgs must be connected before you can send anything. Salesforce calls this a deployment connection. Production and its sandboxes are connected by default (Salesforce Help).
- 1. In the source org, go to Setup > Outbound Change Sets. Click New and name the change set.
- 2. Under Change Set Components, click Add. Pick the component type, select items, and add them.
- 3. Click View/Add Dependencies to add what your items rely on. A flow needs every component it references.
- 4. Click Upload and choose the target org.
- 5. In the target org, go to Setup > Inbound Change Sets. Find the change set under Change Sets Awaiting Deployment.
- 6. Click Validate. It runs a test deploy and saves no changes. Fix any failure in the source org.
- 7. Click Deploy, then check Setup > Deployment Status. If it fails, fix the cause in the source org and upload again.
Why do change set deployments fail for flows?
Flow rules cause most failed deployments (Salesforce Help).
A change set with a flow must include every component the flow references. Some references, such as Post to Chatter, Send Email and Submit for Approval, do not show on the Component Dependencies page. If your flow has a Submit for Approval element, add the approval process by hand.
An active flow arrives in the target org as inactive, so you activate it after the deploy. You can include only one version of a flow in a change set. Flow triggers are not available. Validation locks the resources being deployed, so validate off-peak (Salesforce Help).
Change sets vs other ways to deploy
Change sets are the simplest tool, but they are manual. You cannot version or roll back a change set the way you can with source control. Teams that deploy often tend to move to the Salesforce CLI with Git, or to a DevOps tool (Salesforce Help). Change sets stay a good fit for small, occasional changes between connected orgs.
| Tool | Best for | Trade-off |
|---|---|---|
| Change set | Small, click-based changes between connected orgs | Manual, no version history, no data |
| Salesforce CLI / Metadata API | Repeatable deploys from source control | Needs a developer skill set |
| Data Loader / Data Import Wizard | Moving records | Does not move setup changes |
What are common change set mistakes?
Each of these has a quick fix.
- Skipping dependencies. Fix: click View/Add Dependencies before every upload.
- Expecting records to move. Fix: use Data Loader for data.
- Forgetting to activate flows after deploy. Fix: add the activation step to your release checklist.
- Deploying straight to production without validating. Fix: validate first and read every message.
FAQ: Change Set in Salesforce
What is a change set in Salesforce?
A bundle of setup changes, called metadata, that you send from one org to another. You build it in the source org and deploy it in the target org. It never contains records.
What is the difference between inbound and outbound change sets in Salesforce?
An outbound change set is the one you build and upload from your current org. An inbound change set is the same package, seen from the org that received it. You validate and deploy it there.
Can a change set move data?
No. Change sets hold information about the org, not records (Salesforce Help). Use Data Loader or the Data Import Wizard for records.
Can I deploy part of an inbound change set?
No. You deploy the contents of an inbound change set as a whole, not component by component.
Why did my flow arrive inactive?
An active flow in a change set is deployed as inactive. Activate it by hand after the deploy (Salesforce Help).
How do I test a change set before deploying?
Click Validate on the inbound change set. It runs a test deploy with the same messages as a real deploy and saves no changes (Salesforce Help).
Sources: Salesforce Help: Change Sets, Salesforce Help: Deployment Connections for Change Sets, Salesforce Help: Validate a Change Set, Salesforce Help: Change Set Considerations for Flows, Salesforce Help: Deploy Your Changes. Last reviewed .
Related Salesforce Terms
4 termsSandbox
AdministrationA Sandbox is an isolated copy of your Salesforce production org used for development, testing, and training without risking live data.
Approval Process
AutomationAn Approval Process is a Salesforce automation that routes records through a series of approval steps with designated approvers, actions, and rejection handling.
Data Loader
DataData Loader is a Salesforce desktop application for bulk importing, exporting, updating, deleting, and upserting large volumes of records.
Flow
AutomationFlow is Salesforce's declarative automation tool that lets admins build complex business processes using a visual, drag-and-drop interface without writing code.
What should I read next?
More in Platform
View all →AppExchange
AppExchange is Salesforce's official marketplace where customers can discover, install, and manage third-party apps, components, and consulting services.
Managed Package
A Managed Package is a distributable bundle of Salesforce metadata (objects, code, components) published under a unique namespace that can be installed in other orgs and upgraded by the publisher.
Salesforce DX
Salesforce DX is a modern development experience that brings source-driven development, scratch orgs, and CLI-based workflows to Salesforce application lifecycle management.
Agentforce
Agentforce is Salesforce's AI agent platform that enables businesses to build, deploy, and manage autonomous AI agents within the Salesforce ecosystem.
Try this on your own org
Start the 14-day free trial, no card. Clientell AI asks before it changes anything in production.
14-day free trial · No credit card required