
Finishing a Salesforce Migration for a Cybersecurity Firm
A cybersecurity services firm had a Salesforce migration that stopped partway, with most of its leads and years of activity history still in the old org. We finished the move, then rebuilt lead status, lead scoring, and reporting in the new org.
The project
The client is a cybersecurity services firm that was consolidating two Salesforce orgs. An earlier migration had moved part of the data and then stopped. Leads, activity history, and the marketing process were still in the old org, and neither org had ever been in source control.
We put both orgs in Git, rehearsed the rest of the Salesforce migration in sandboxes, and then ran it in production. Since then we have rebuilt the lead status model, lead scoring, and reporting in the new org.
Industry
Cybersecurity services
Services
Salesforce engineering: data migration, Apex development, and reporting
Stack
Salesforce, Apex, Bulk API 2.0, Account Engagement (Pardot), Python, Git
What the Salesforce migration covered
What we found
- Leads and years of activity history still in the old org
- Leads in the new org with no lifecycle stage set
- Opportunities no longer credited to the reps who had owned them
- Lead scoring rules that Account Engagement (Pardot) could not express on its own
- No version control for either org
What we delivered
- Hundreds of thousands of leads, tasks, and events moved into the new org
- Opportunities back with the reps who originally owned them
- One lead status with guided steps for qualifying, nurturing, and disqualifying a lead
- Lead scoring in Apex and Account Engagement (Pardot), with scores that decay when a prospect goes quiet
- Both orgs in source control for the first time, with our changes reviewed in pull requests and tested in a sandbox before release
How we ran the Salesforce migration
A Salesforce Migration We Could Rehearse
We built the migration as a pipeline that could be rerun. Records load through Bulk API 2.0 as upserts, so repeating a run does not create duplicates. Rehearsal runs in sandboxes found and fixed the causes of failed records before the production run.
Lead Status and Scoring
One lead status replaced several overlapping lifecycle fields, and the screen asks for a reason when a lead is qualified, sent to nurture, or disqualified. Lead scoring runs in Apex alongside Account Engagement (Pardot), and scores decay when a prospect goes quiet.
Tested Releases and Reporting
Each production release runs as a validation first, then a deploy, with the Apex tests passing. The team also got dashboards and reports for executives, lead operations, and data quality.
We do this kind of Salesforce work for other companies too: migrations, data cleanup, Apex, and reporting. Read about our Salesforce consulting services, or tell us about your org.
Tell us what you’re building
Send a few details about the project and we’ll get back to you.
Prefer to talk? Call (714) 784-5607.
