Salesforce technical debt_ how to measure it and pay it down
Salesforce implementation

Salesforce technical debt: how to measure it and pay it down

Hyphenx Team
By Hyphenx Team
November 25, 2026

Every change to your org takes longer than it used to. A new field needs a week of testing because the team can’t say which 6 automations read it. That slowdown is technical debt, and you’re paying interest on it every sprint.

Some debt is fine. You took shortcuts to go live, and that was the right call. The problem starts when the debt goes untracked, so the interest compounds quietly until a simple project costs 3 times its estimate.

What technical debt looks like in Salesforce

In Salesforce, debt hides in configuration as much as in code. These are the patterns we find most often:

  • Legacy automation. Workflow Rules and Process Builders still running on core objects. Salesforce Ben reports that Salesforce ended support for both on December 31, 2025. They still run, but bugs won’t be fixed.
  • Overlapping automation. 3 record-triggered flows, a trigger and a validation rule on Opportunity, each written by someone different.
  • Field sprawl. Hundreds of custom fields, many under 1% populated, some with names like “Status_New_2.”
  • Hardcoded IDs. Record type, user or queue IDs pasted into flows, formulas and Apex, which break in every sandbox refresh.
  • Profile-based security. Dozens of cloned profiles instead of permission sets, so the admin can’t say who sees what.
  • Unowned integrations. Connected apps and integration users with no named owner or purpose.
  • Missing documentation. The reason behind a rule left with the person who built it.

Why it matters, in money

The best-known figures come from McKinsey’s 2020 survey of 50 CIOs at financial services and technology companies. They reported that 10 to 20% of the technology budget meant for new products gets diverted to resolving tech debt issues.

That’s company-wide technology, not Salesforce. Inside a Salesforce org it shows up as longer estimates, more regression bugs after releases, and admins who spend their week firefighting. If your team keeps saying “it’s complicated” about changes that sound simple, you’re paying it.

How to find it

Run Org Check

Salesforce retired Optimizer in the Winter ’26 release. The Salesforce Admins blog recommends Org Check, a free Salesforce Labs app, as the replacement. It analyzes your metadata and surfaces unused fields, old API versions, hardcoded URLs and automation per object.

Install it in a full or partial sandbox and export the results. That’s your raw list.

Look at where time goes

Org Check finds what exists. Your team knows what hurts. Ask your admins and developers 2 questions:

  1. Which 5 parts of the org do you dread changing?
  2. What broke in the last 3 releases, and why?

The answers usually point to 4 or 5 areas that cause most of the pain.

Do a full health check

Debt is one part of overall org health. Our Salesforce health check checklist covers security, data, limits and adoption alongside it.

Build a debt register

A list isn’t enough. Each item needs an owner, an interest score and a fix estimate, so you can prioritize like any other backlog.

Item Area Interest (1 to 5) Fix effort (days) Owner Fix by
14 active Process Builders on Opportunity and Case Automation 5 15 Senior admin Q1
9 record type IDs hardcoded in flows Configuration 4 3 Admin Q1
210 fields under 1% populated Data model 2 8 Admin + business owners Q2
38 profiles, 12 permission sets Security 4 12 Architect Q2
Undocumented ERP integration user Integration 3 2 Integration lead Q1

Interest means how much the item slows or risks work today. A Process Builder on Opportunity that every sales change touches scores 5. An unused field that no report or automation reads scores 1.

Sort by interest divided by effort. High interest and low effort go first.

A 90-day plan that doesn’t stop delivery

A 90-day plan that doesn't stop delivery

You rarely get permission to stop new work for a quarter. You don’t need it. Most teams pay down debt with a fixed share of each sprint.

Days 1 to 15: stop adding to it. Agree 3 rules for all new work: no new automation on an object without checking what’s there, no hardcoded IDs, and every new flow gets a description and owner. Write them into your documentation and handover standard.

Days 15 to 30: build the register. Run Org Check, hold the 2-question interviews, score each item.

Days 30 to 90: pay it down at 20% of capacity. Take the top items each sprint. Migrate Process Builders object by object, starting with the busiest. Our post on Flow vs Workflow Rules vs Process Builder covers what changes when you migrate.

Day 90: report. Show leadership the items closed, the time saved on recent changes, and the next quarter’s top 5.

A worked example: an 8-year-old org

Picture a 300-user org on Sales Cloud and Service Cloud, built by 2 partners and 4 admins since 2018. A simple request (add a “region” field used in routing) took 3 weeks because it touched 11 automations.

Org Check plus interviews produced a register of 46 items. The top 5 by interest-to-effort:

  1. Hardcoded queue IDs in 7 case routing flows (2 days)
  2. An undocumented integration user with Modify All Data (1 day)
  3. 9 Process Builders on Case, consolidated into 2 record-triggered flows (10 days)
  4. 4 duplicate validation rules on Opportunity (1 day)
  5. A recursion bug between an Apex trigger and a flow on Account (4 days)

At 20% capacity, the team cleared those 5 in 2 sprints. The target to track: average days to deliver a small change, measured before and after.

Debt in data is a separate cleanup. If duplicates and junk fields dominate your register, start with a Salesforce CRM cleanup and come back to the configuration list. Our case studies show what that sequencing looks like in practice.

Where debt comes from during implementation

Most debt is created in the first build, when deadlines are tight and the debt isn’t measured yet. The usual causes:

  • Automation added per request instead of designed per object. Each story adds a flow, and no one person owns the object’s whole automation picture. We’ve written about what breaks first in a hyper-automated org.
  • Data migrated as-is. Old picklist values and unused fields copied over “to be safe.”
  • Security cloned from the old system. Profiles mirror job titles from the legacy CRM.
  • No decision log. 6 months later, the reason for a rule is lost, so the team leaves it in place out of caution.

If you’re mid-implementation, score your debt before go-live while the team still remembers why each shortcut was taken.

Salesforce’s free Technical Debt module on Trailhead is a good primer to share with stakeholders who are new to the idea.

Frequently asked questions

1. What is technical debt in Salesforce?

Technical debt in Salesforce is the extra cost of change caused by shortcuts and leftovers in your org: legacy automation, overlapping flows and triggers, unused fields, hardcoded IDs, complex profiles and undocumented integrations. It shows up as slow delivery, regression bugs and fragile releases, even when nothing is visibly broken.

2. How do you measure Salesforce technical debt?

Start with Org Check, the free Salesforce Labs app that replaced Optimizer, to inventory unused fields, old API versions, hardcoded URLs and automation per object. Add interviews with the people who maintain the org. Then record each item in a debt register with an interest score, a fix estimate and an owner, so you can prioritize it like any other backlog.

3. Do Workflow Rules and Process Builder still work?

Existing Workflow Rules and Process Builders still run, but Salesforce ended support for both on December 31, 2025. That means no bug fixes and no customer support for them. Migrate them to Flow object by object, starting with the busiest objects, and test each migration in a sandbox first.

4. How much time should we spend on technical debt?

Most teams we work with reserve about 20% of each sprint for debt, which avoids a separate cleanup project that never gets approved. Increase it for a quarter if small changes routinely take weeks, or if the org has major unsupported automation still running on core objects.

Get your org’s debt under control

HyphenX builds debt registers, migrates legacy automation and pays down Salesforce technical debt as part of ongoing support. Talk to our Salesforce managed services team.

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 technical debt_ how to measure it and pay it down
Salesforce implementation    25 November 2026

Salesforce technical debt: how to measure it and pay it down

Every change to your org takes longer than it used to. A new field needs a week of…

Read More...
Salesforce sandbox types which one to use for what feature image
Salesforce implementation    24 November 2026

Salesforce sandbox types: which one to use for what

Pick the wrong sandbox and you’ll find out at the worst moment: a UAT session with no data,…

Read More...
Salesforce release management a playbook for teams that can't afford a bad Friday feature image
Salesforce implementation    24 November 2026

Salesforce release management: a playbook for teams that can’t afford a bad Friday

A small permission change went to production at 4 p.m. on Friday. By 4:20, the support team couldn’t…

Read More...
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...

Most Related Blogs

Salesforce technical debt_ how to measure it and pay it down
Salesforce implementation    25 November 2026

Salesforce technical debt: how to measure it and pay it down

Every change to your org takes longer than it used to. A new field needs a week of…

Read More...
Salesforce sandbox types which one to use for what feature image
Salesforce implementation    24 November 2026

Salesforce sandbox types: which one to use for what

Pick the wrong sandbox and you’ll find out at the worst moment: a UAT session with no data,…

Read More...
Salesforce release management a playbook for teams that can't afford a bad Friday feature image
Salesforce implementation    24 November 2026

Salesforce release management: a playbook for teams that can’t afford a bad Friday

A small permission change went to production at 4 p.m. on Friday. By 4:20, the support team couldn’t…

Read More...
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...

Get in Touch

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