Salesforce data migration best practices the method that avoids rework
Salesforce implementation

Salesforce data migration best practices: the method that avoids rework

Hyphenx Team
By Hyphenx Team
November 24, 2026

A migration that “loaded fine” can still fail on day 1. The records arrive, but the owners are wrong, the opportunity dates all show the migration weekend, and half the contacts aren’t linked to an account.

These are the practices we follow on every Salesforce data migration, in the order they matter. If you’re still choosing a tool, our Salesforce data migration tools compared post covers that. This one covers the method.

1. Decide what not to migrate

The cheapest record to migrate is the one you leave behind. Agree a cut-off with each data owner before anyone writes a mapping.

Common rules we use:

  • Closed opportunities older than 3 to 5 years go to an archive, not Salesforce
  • Leads with no activity in 2 years are dropped or archived
  • Attachments are migrated only for open records, unless there’s a legal reason to keep them all
  • Duplicate and test records are removed at source

Every record you skip saves mapping time, storage, load time and reconciliation effort. It also gives users a cleaner system on day 1.

2. Clean at the source, not after the load

Cleaning data once it’s in Salesforce means fighting validation rules, automation and users who are already working with it. Fix it before it moves.

Profile each source first. Count blanks in required fields, invalid emails, inconsistent picklist values, orphaned child records and likely duplicates. Our data cleansing tools compared post covers the options for doing this at scale.

If the source is beyond saving in places, plan a CRM cleanup step into the project rather than hoping users fix it later.

3. Map fields with the people who own the data

A mapping sheet written by the migration team alone will miss meaning. “Status” in the old system might be 3 different things in Salesforce.

Map object by object, with a data owner signing off each sheet. For each field, record the source field, target field, transformation rule, default value and who approved it.

Watch for these:

  • Picklist values that need translating, not copying
  • Free-text fields that should become picklists
  • Multi-value fields that need splitting into related records
  • Fields with no target, which need a decision: drop, archive or create a field

4. Load in dependency order

Salesforce’s own data migration best practices article says to migrate objects in dependency order, such as users, then accounts, then opportunities. A child record can’t link to a parent that doesn’t exist yet.

A typical order for a Sales and Service Cloud migration:

Order

Object

Depends on

 

1

Users (and roles)

Nothing

2

Accounts

Users (for owners)

3

Contacts

Accounts

4

Products and price books

Nothing

5

Opportunities

Accounts, users

6

Opportunity line items and contact roles

Opportunities, products, contacts

7

Cases

Accounts, contacts

8

Activities (tasks and events)

All of the above

9

Files and notes

All of the above

Activities and files come last because they can relate to almost anything. They’re also usually the largest volumes, so plan the most time for them.

5. Use external IDs for every migrated object

Create a field on each target object for the legacy system’s record ID and mark it as an External ID. The same Salesforce article recommends this to support upserts and prevent duplicates.

External IDs pay off in 3 ways. You can upsert rather than insert, so a rerun updates instead of duplicating.

You can also link child records to parents by legacy ID, without looking up Salesforce IDs first. And you can trace any Salesforce record back to its source during reconciliation.

6. Keep the history: owners and audit fields

Users notice wrong owners and wrong dates straight away. Plan both.

Map every legacy user to a Salesforce user, including people who’ve left. Inactive owners need the “Update Records with Inactive Owners” permission, or a reassignment rule agreed with the business.

For dates, Salesforce lets you set Created By, Created Date, Last Modified By and Last Modified Date on import. Salesforce’s help article on audit field values notes that this works on record creation only, not on update. If you miss it on the first insert, the only fix is deleting and reloading.

7. Pause automation during the load

Pause automation during the load

Flows, triggers, validation rules, assignment rules and duplicate rules all fire on migrated records unless you stop them. That can mean thousands of welcome emails, reassigned records and failed loads.

Our approach:

  • Add a bypass check (a custom permission or a custom setting) to every flow, trigger and validation rule
  • Grant the bypass only to the migration user
  • Turn off email deliverability in the target org during loads
  • Switch off assignment and auto-response rules for the load window

Then decide what automation should run after the load. Some calculated fields and roll-ups need a deliberate update once the data is in.

8. Choose the load method by volume

Volume per object

Typical method

 

Up to 50,000 records, standard objects

Data Import Wizard

Tens of thousands to a few million

Data Loader or a third-party loader

Millions, or repeated loads

Bulk API 2.0 through an ETL or integration tool

Salesforce’s Manage Data at Scale Trailhead module lists the Data Import Wizard at up to 50,000 records. For larger volumes, the Bulk API 2.0 guide explains that Salesforce splits ingest jobs into batches of 10,000 records, up to 150 million records a day, and a batch fails if it can’t be processed within 5 minutes.

That 5-minute window matters. Heavy triggers or flows on an object slow each batch down, which is another reason to bypass automation during the load.

9. Rehearse in a sandbox, at least twice

Never let production see the first full load. Run a test with a handful of records, then a full trial in a partial or full copy sandbox, then a second trial with timings.

The trial migrations tell you how long the real cutover takes. They also give UAT testers realistic data, which catches mapping mistakes that a sample never shows. Our implementation checklist puts the first trial at week 6 of a 12-week project for this reason.

10. Reconcile with counts and totals

Record counts alone can hide problems. A migration can load the right number of opportunities with the wrong amounts or the wrong stages.

Reconcile on 3 levels:

Check

Example

 

Counts

Accounts in source vs accounts in Salesforce, by type

Totals

Sum of open opportunity amounts by stage, source vs Salesforce

Samples

20 records per object compared field by field, picked by the data owner

Keep the failed-records files from every load and resolve each row. A small error rate on 500,000 records is still thousands of missing records.

11. Plan the cutover and the delta

The source system keeps changing while you migrate. Decide how you’ll catch those changes.

For most projects, we freeze the source on a Friday, run the final full load over the weekend, reconcile on Sunday and go live Monday. Where a freeze isn’t possible, load the bulk of the history a week early and run a delta of new and changed records at cutover, using last-modified dates and your external IDs.

Our guide on migrating legacy ERP or CRM data with minimal downtime goes deeper on cutover options.

Source-specific traps

Each source system has its own quirks. HubSpot stores associations differently from Salesforce, so contact-to-company links need rebuilding. Our HubSpot to Salesforce migration guide covers it in detail.

Spreadsheets and paper are harder still, because there’s no system enforcing structure. In our Garula Industries case study, the work started with paper registers and loose spreadsheets, so agreeing a single data model came before any load.


Get your migration right the first time

HyphenX plans and runs Salesforce data migrations from legacy CRMs, ERPs and spreadsheets, with trial loads and reconciliation built in. Talk to our Salesforce data migration services team.

Frequently asked questions

What is the correct order to migrate data into Salesforce?

Load parents before children. A typical order is users, accounts, contacts, products and price books, opportunities, opportunity line items and contact roles, cases, then activities and files. Use external ID fields so child records can link to parents by their legacy IDs.

How do I keep the original created dates when migrating to Salesforce?

Enable the “Set Audit Fields upon Record Creation” permission and give it to the migration user. You can then set Created By, Created Date, Last Modified By and Last Modified Date during the insert. These fields can only be set when the record is created, not on a later update.

Should I turn off automation during a Salesforce data migration?

Yes, for the migration user. Build a bypass into flows, triggers and validation rules, turn off email deliverability, and pause assignment rules during the load. Then run any calculations you need afterwards, on purpose.

How long does a Salesforce data migration take?

For a mid-sized org with 200,000 to 500,000 records, plan 6 to 10 weeks from profiling to cutover, including at least 2 trial loads. The load itself often takes hours. Mapping, cleansing and reconciliation take most of the time.

Like what you see? Share with a friend.

Best CRM Software for Businesses: Why Companies Are Choosing Salesforce

Best CRM Software for Businesses: Why Companies Are Choosing Salesforce

Share with your community!

Agentic testing

What's trending

agentic-testing-poster

Most Related Blogs

Salesforce Commerce Cloud pricing in 2026 how the GMV model works
Salesforce implementation    24 November 2026

Salesforce Commerce Cloud pricing in 2026: how the GMV model works

Salesforce Commerce Cloud doesn’t charge per user. It charges a share of what you sell, which makes the…

Read More...
Salesforce data migration best practices the method that avoids rework
Salesforce implementation    24 November 2026

Salesforce data migration best practices: the method that avoids rework

A migration that “loaded fine” can still fail on day 1. The records arrive, but the owners are…

Read More...
Salesforce implementation checklist and 12-week plan template
Salesforce implementation    23 November 2026

Salesforce implementation checklist and 12-week plan template

Most Salesforce projects that slip don’t slip in the build. They slip in week 2, when the scope…

Read More...
Salesforce Jira integration_ 3 ways to connect them and how to choose
Salesforce Integration    23 November 2026

Salesforce Jira integration: 3 ways to connect them and how to choose

A customer reports a bug. Support logs a case in Salesforce, then someone copies it into Jira, and…

Read More...
Salesforce Gmail integration_ how to set it up and what to watch for
Uncategorized    20 November 2026

Salesforce Gmail integration: how to set it up and what to watch for

Your reps write to customers in Gmail all day. If none of that reaches Salesforce, your pipeline review…

Read More...
Salesforce testing_ what to test before every release, and what to automate-feature-image
Uncategorized    20 November 2026

Salesforce testing: what to test before every release, and what to automate

Your code coverage is 84%. A record-triggered flow you changed on Thursday went live on Friday, and by…

Read More...

Most Related Blogs

Salesforce Commerce Cloud pricing in 2026 how the GMV model works
Salesforce implementation    24 November 2026

Salesforce Commerce Cloud pricing in 2026: how the GMV model works

Salesforce Commerce Cloud doesn’t charge per user. It charges a share of what you sell, which makes the…

Read More...
Salesforce data migration best practices the method that avoids rework
Salesforce implementation    24 November 2026

Salesforce data migration best practices: the method that avoids rework

A migration that “loaded fine” can still fail on day 1. The records arrive, but the owners are…

Read More...
Salesforce implementation checklist and 12-week plan template
Salesforce implementation    23 November 2026

Salesforce implementation checklist and 12-week plan template

Most Salesforce projects that slip don’t slip in the build. They slip in week 2, when the scope…

Read More...
Salesforce Jira integration_ 3 ways to connect them and how to choose
Salesforce Integration    23 November 2026

Salesforce Jira integration: 3 ways to connect them and how to choose

A customer reports a bug. Support logs a case in Salesforce, then someone copies it into Jira, and…

Read More...
Salesforce Gmail integration_ how to set it up and what to watch for
Uncategorized    20 November 2026

Salesforce Gmail integration: how to set it up and what to watch for

Your reps write to customers in Gmail all day. If none of that reaches Salesforce, your pipeline review…

Read More...
Salesforce testing_ what to test before every release, and what to automate-feature-image
Uncategorized    20 November 2026

Salesforce testing: what to test before every release, and what to automate

Your code coverage is 84%. A record-triggered flow you changed on Thursday went live on Friday, and by…

Read More...

Get in Touch

Ready to launch your next project? Fill out the form below.