Skip to main content

282 automations on Opportunity. 3 race conditions you cannot see.

Free 10-minute scan that maps every Flow, Trigger, Workflow Rule, and Validation Rule on your critical objects. Finds every race condition. Flags every EOL automation. Proposes the consolidation path.

Last updated
Written by
Reviewed by Saahil Dhaka
Clientell · Automations & Overlap
app.clientell.ai/audit/automation

Acme Corp · Automation Density

5 objects scanned · 608 total automations · 6 race conditions

At risk
282Opportunity
147Lead
89Account
52Contact
Race Conditions Detected6 across 3 objects
1Opp_AfterUpdate_Routing + OpportunityTrigger.afterUpdate · both write StageNameRaceCritical
2Lead_Assignment_Flow + LeadTrigger.beforeInsert · both write OwnerIdRaceCritical
315 EOL Workflow Rules still firing alongside modern FlowsEOLHigh

Trusted by leaders at

Client logoClient logoClient logoClient logoClient logoClient logoClient logoClient logoClient logoClient logoClient logoClient logoClient logoClient logoClient logoClient logoClient logoClient logoClient logoClient logo
Automation Data · 202604 / 04 findings

What automation density looks like in a typical org

Four findings we see across 1,000+ flow audits on production Salesforce orgs.

FINDING 01Critical
282 typical

Opportunity object automation count

Across Flows, Triggers, Workflow Rules, and Validation Rules. The Opportunity object is consistently the worst offender in mid-market orgs we scan.

FINDING 02Critical
3 typical

Race conditions per critical object

Multiple automations writing the same field on save. Behavior is non-deterministic. The agent (or the next admin) will hit it eventually.

FINDING 03Critical
15 typical

Post-EOL Workflow Rules still firing

Workflow Rules deprecated by Salesforce in Spring 2024 but still active. Still consume CPU, still compete with Flows. Quiet technical debt.

FINDING 04Critical
4 in 5 orgs

Flow Race Condition rate

Roughly 80% of orgs we scan have at least one race condition on a core object (Opp, Lead, Account, Contact, Case).

Overlap Detector282 · on Opportunity

Every automation on every object. Mapped to its collisions.

Click an object to see its automation breakdown and the specific named assets that compete on save. Sample data from a typical mid-market org.

Clientell · Automations & Overlap
Opportunity · automation densitytotal 282
Flows14
Apex Triggers4
Workflow Rules (legacy)18
Validation Rules246
Risk indicators
Race conditions on save
3
EOL legacy automations
15
Total automations stacked
282
After consolidation
42
Asset inventory
Opportunity · 3 race conditions · 15 EOL
Race condition
AssetTypeFiresConflict
Opp_AfterUpdate_RoutingFlowAfter SaveWrites StageName
OpportunityTrigger.afterUpdateTriggerAfter SaveAlso writes StageName · race condition
Stage Update WF 2019Workflow RuleAfter SaveEOL: post-Spring 2024 deprecation. Writes StageName.
Opp_BeforeInsert_ValidateFlowBefore Savenone
OpportunityProductTriggerApexAfter Insertnone
Proposed fixConsolidate to single Flow + retire EOL Workflow Rules1-click fix
Live · re-scan on demand

Consolidation plan ships sandbox-tested with one-click apply.

Get my audit
Race detectorOn save · cross-asset
EOL flagWorkflow Rules (Spring 2024)
Healthy threshold< 50 per object
Sample org5 objects scanned
n = 1,000+ scans · 2024–2026
Coverage Areas06 / 06 areas

What the flow audit actually covers

Six dimensions, six diagnostic surfaces, one consolidation plan.

01

Per-object automation density

Every trigger, flow, validation rule, and workflow rule counted and stacked per object. A typical Opportunity has 282 automations across these four categories. We show you the full inventory in one view.

02

Race condition detection

Two automations writing the same field on the same record save = a race condition. Output depends on which fires last, which Salesforce does not guarantee. We catch every one.

03

EOL legacy automation flagging

Workflow Rules and Process Builder processes that Salesforce has deprecated. They still fire, still consume CPU, still compete with modern Flows. Each flagged with retirement path.

04

Asset-level inventory

Click through any object and see every named asset: 'Opp_AfterUpdate_Routing.flow', 'OpportunityTrigger.afterUpdate', '2019 Stage Update WF'. Filterable by type, fire condition, modified date.

05

Multi-trigger conflict surfacing

Multiple Apex triggers on the same object are the deepest source of race conditions. We surface the trigger order, the field-write overlap, and propose the one-trigger framework migration.

06

Consolidation path proposal

After mapping the overlap, propose the consolidation: which automations safely merge, which to retire, which sequence to deploy. Sandbox-tested. One-click apply.

Per-object automation density thresholds

Salesforce per-object automation density thresholds and recommended action.
AutomationsBandRiskAction
< 25CleanLow. Race conditions rare. Test coverage usually intact.Maintain. Annual audit.
25–75At thresholdRace conditions appear sporadically. Test coverage drift starts.Quarterly audit. Retire any EOL Workflow Rules.
75–150HighRace conditions on critical fields likely. Apex test failures during deploy.Consolidation sprint within 30 days.
> 150CriticalRace conditions on every save. Agentforce will not work cleanly. Unpredictable production behavior.Pause new automation. Audit and consolidate immediately.
Warning Signs05 / 05

If any of these sound familiar,
you have a flow problem.

Get the audit before the next mystery bug or failed deploy.

01

A flow change broke something nobody can explain

You updated one Flow, deployed to production, and now an unrelated field shows the wrong value 5% of the time. That is a race condition. Our audit surfaces every overlap pair so you can trace it deterministically.

02

Your Opportunity object has more than 10 active Flows

Above 10, race conditions become statistically inevitable. The median Opp we scan has 14 Flows. Add 4 Apex triggers and 18 Workflow Rules and you have 282 automations writing to the same record on every save.

03

Workflow Rules from 2019 are still active

Salesforce deprecated Workflow Rules in Spring 2024 with phased removal through 2025. If yours are still firing, they compete with whatever Flow superseded them. Our audit flags every EOL automation with a retirement path.

04

Apex test coverage just dropped after a Flow deploy

A Flow change can break a test class indirectly through trigger order. If you saw coverage drop, you have an overlap. Find it before the next deploy fails.

05

You are planning Agentforce on top of this org

Automation Overlap is the #1 AI Readiness killer in our scoring engine. An agent cannot operate on top of competing automations cleanly. Score your org first.

Deliverables05 / 05

What ships with the audit

Five deliverables, designed for admin action and architect review.

01

Automation Inventory (per object)

Every Flow, Trigger, Validation Rule, and Workflow Rule on every object you audit. Searchable, filterable, with last-modified dates and author attribution.

02

Race Condition Map

Every pair of automations that write the same field on the same save. Sorted by criticality, paired with the proposed merge or retirement.

03

EOL Retirement Queue

Every post-deprecation Workflow Rule and Process Builder process. Each with its modern Flow successor and the sandbox-tested migration script.

04

Consolidation Proposal

Suggested merged-Flow architecture per object. Before/after automation count. Per-asset impact preview. One-click apply when approved.

05

Multi-Trigger Framework Migration

If your org has more than one Apex trigger per object, the audit proposes the one-trigger framework with handler classes. Generated code samples included.

FAQ10 / 10

You have
questions,
we have
answers.

Everything admins and architects ask before a flow audit.

01

What is a Salesforce flow audit?

A Salesforce flow audit catalogs every automation on every object (Flows, Apex Triggers, Validation Rules, Workflow Rules, Process Builder processes), detects conflicts and race conditions, flags EOL legacy automations, and proposes a consolidation path. Clientell runs this in 10 minutes via read-only OAuth, returns the full audit in 24 hours.

02

How many automations should a Salesforce object have?

In a healthy org, fewer than 5 active Flows per object and one Apex trigger per object. The median mid-market Opportunity we scan has 14 Flows, 4 Triggers, 18 Workflow Rules, and 246 Validation Rules. That density is the leading cause of unpredictable behavior, race conditions, and AI agent failure.

03

What is a flow race condition?

Two or more automations writing the same field on the same record save, where the final value depends on which fires last. Salesforce does not guarantee fire order between Flows, Triggers, and Workflow Rules. The result: a 5% data corruption rate on the affected records that nobody can reproduce on demand.

04

Are Workflow Rules still supported in Salesforce?

No. Salesforce deprecated Workflow Rules in Spring 2024 with phased removal through 2025. Existing Workflow Rules still run for now but no new ones can be created. Each one is technical debt that competes with the Flow that should have superseded it. Our audit flags every active Workflow Rule with the recommended Flow migration.

05

What is the difference between a flow audit and a health check?

A health check covers six audit dimensions: flows, permissions, data quality, technical debt, integrations, performance. A flow audit zooms into one dimension (automation overlap), going deeper on per-object density, race conditions, EOL detection, and consolidation paths. Use the flow audit when you have specific automation pain. Use the health check when you want the broader picture.

06

How does Clientell detect race conditions?

We read the metadata graph: every Flow with its target fields, every Apex Trigger with its field writes (parsed from source), every Workflow Rule with its field updates. For each object, we compute the set of automations that target each field. Where two or more automations target the same field on the same save trigger, we flag a race condition.

07

Can I run the flow audit on a sandbox?

Yes. The audit needs a read-only OAuth connection. No writes during the scan. Many teams run sandbox first to validate findings before scanning production.

08

How is this different from Salesforce Optimizer?

Salesforce Optimizer is a free Salesforce-native tool that produces a static PDF of generic recommendations including some flow counts. It does not detect race conditions, does not flag EOL automations with migration paths, and does not propose sandbox-tested consolidation. Our audit does all three.

09

Does the audit work for Process Builder processes too?

Yes. Process Builder was also deprecated (alongside Workflow Rules) and our audit treats both as legacy automation with a migration path to Flow. Each Process Builder process is mapped to the equivalent record-triggered Flow.

10

How long does consolidation take after the audit?

Depends on org size. For a typical mid-market org with race conditions on 2-3 core objects, the consolidation sprint is 1-2 weeks of admin time, much of it auto-generated by the agent. We see most orgs gain 30-50% automation count reduction after the first sprint, with zero functional regression.

Customer Reviews

What teams found with the Flow Audit

We had 47 race conditions on Opportunity nobody knew about. Every one mapped back to a specific Process Builder built before I joined. The audit pointed at the exact records that would break before we deprecated anything.
DR
Daniel Reyes
Lead Salesforce Developer, Manufacturing
The flow conflict detector found 282 automations on a single object. It is the only tool I have used that explained the order-of-execution implications in plain English instead of a 40-page architecture doc.
JT
Jessica Tran
Salesforce Admin, B2B SaaS
References

References & Authority Sources

Every claim on this page is anchored to a primary source. The references below cite official standards bodies, Salesforce documentation, and peer-reviewed industry research.

  1. [1]
    Workflow Rules End of Life — Salesforce HelpSalesforce

    Supports: Workflow Rules and Process Builder deprecation timeline

  2. [2]
    Flow Best Practices — Salesforce HelpSalesforce

    Supports: Flow design principles and bulkification

  3. [3]
    Apex Triggers — Salesforce Developer DocumentationSalesforce Developers

    Supports: Trigger order of execution and race condition mechanics

  4. [4]
    Order of Execution — Salesforce Developer GuideSalesforce Developers

    Supports: Automation execution sequence and conflict detection

  5. [5]
    DORA — State of DevOps Report 2024Google Cloud / DORA

    Supports: Deployment frequency benchmarks and change failure rate

Getting Started

Get your free
Salesforce flow audit.

Per-object density map. Race condition detection. EOL retirement queue. Sandbox-tested consolidation plan. Free, read-only, 10-minute scan.

Unlimited messages  ·  No credit card required

SOC 2
HIPAA
GDPR
Salesforce Partner