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.
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.
Acme Corp · Automation Density
5 objects scanned · 608 total automations · 6 race conditions
Trusted by leaders at
Four findings we see across 1,000+ flow audits on production Salesforce orgs.
Across Flows, Triggers, Workflow Rules, and Validation Rules. The Opportunity object is consistently the worst offender in mid-market orgs we scan.
Multiple automations writing the same field on save. Behavior is non-deterministic. The agent (or the next admin) will hit it eventually.
Workflow Rules deprecated by Salesforce in Spring 2024 but still active. Still consume CPU, still compete with Flows. Quiet technical debt.
Roughly 80% of orgs we scan have at least one race condition on a core object (Opp, Lead, Account, Contact, Case).
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.
Six dimensions, six diagnostic surfaces, one consolidation plan.
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.
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.
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.
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.
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.
After mapping the overlap, propose the consolidation: which automations safely merge, which to retire, which sequence to deploy. Sandbox-tested. One-click apply.
| Automations | Band | Risk | Action |
|---|---|---|---|
| < 25 | Clean | Low. Race conditions rare. Test coverage usually intact. | Maintain. Annual audit. |
| 25–75 | At threshold | Race conditions appear sporadically. Test coverage drift starts. | Quarterly audit. Retire any EOL Workflow Rules. |
| 75–150 | High | Race conditions on critical fields likely. Apex test failures during deploy. | Consolidation sprint within 30 days. |
| > 150 | Critical | Race conditions on every save. Agentforce will not work cleanly. Unpredictable production behavior. | Pause new automation. Audit and consolidate immediately. |
Get the audit before the next mystery bug or failed deploy.
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.
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.
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.
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.
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.
Five deliverables, designed for admin action and architect review.
Every Flow, Trigger, Validation Rule, and Workflow Rule on every object you audit. Searchable, filterable, with last-modified dates and author attribution.
Every pair of automations that write the same field on the same save. Sorted by criticality, paired with the proposed merge or retirement.
Every post-deprecation Workflow Rule and Process Builder process. Each with its modern Flow successor and the sandbox-tested migration script.
Suggested merged-Flow architecture per object. Before/after automation count. Per-asset impact preview. One-click apply when approved.
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.
Everything admins and architects ask before a 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Audits, playbooks, and adjacent services for teams running flow cleanup or preparing for Agentforce.
Deep dive: trigger ordering, the metadata graph, race condition detection algorithm. 16-min read.
Read morePlaybookStep-by-step playbook for consolidating competing automations safely. With sandbox dry-run.
Read moreChecklistAnti-patterns checklist: DML in loops, nested loops, Get Records in loops. Vendor-neutral.
Read moreServiceBroader audit covering flows, permissions, data, technical debt, integrations.
Read moreAuditAutomation Overlap is the #1 AI Readiness killer. Score your org before deploying Agentforce.
Read moreAuditSister audit for Apex coverage, governor risk, and code quality scoring.
Read moreAuditPer-user risk scoring + effective access drill-down. Pairs with flow audit for compliance review.
Read moreProductThe agent that consolidates the flows the audit surfaces. From $99/month.
Read moreProductShip consolidated flows to production with diff preview and one-click rollback.
Read more“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.”
“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.”
Trust + security posture
Flow conflicts often correlate with low Apex test coverage. Diagnose both together.
Surface the exact deployment that introduced each race condition.
Flow errors often trace back to dirty source data. Audit both surfaces.
Automation overlap blocks AI agent deployment. Score readiness now.
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.
Supports: Workflow Rules and Process Builder deprecation timeline
Supports: Flow design principles and bulkification
Supports: Trigger order of execution and race condition mechanics
Supports: Automation execution sequence and conflict detection
Supports: Deployment frequency benchmarks and change failure rate
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