Your Salesforce Org Has Problems You Don’t Know About Yet

Case Study

Building the Org Health Scorecard: A CRM Infusion Internal Tool

A native Salesforce diagnostic platform that delivers a complete, scored org health assessment across five metadata categories — in under 30 seconds, replacing 2–3 hours of manual Setup navigation per engagement.

<30s Full org health
assessment
2–3 hrs Manual Setup time
eliminated per engagement
5 Weighted metadata
categories scored
A–F Weighted composite
grading scale
Project Snapshot
Project Org Health Scorecard
Built By CRM Infusion
Platform Salesforce
Scale Full org metadata analysis delivered in under 30 seconds

The Challenge

Every Salesforce engagement begins the same way: establishing a current-state baseline. For most consultancies, that means manually navigating Setup — reviewing active and inactive Flows, checking Apex test coverage in the Developer Console, auditing Permission Sets and Profiles, scanning for legacy Workflow Rules and Process Builders, and piecing together org limit consumption from the Company Information page and Storage Usage reports.

CRM Infusion faced this reality on every new engagement. As the practice grew, the pre-engagement org review became a bottleneck — time-intensive, inconsistent across consultants, and impossible to standardize into a repeatable methodology. There was no standardized diagnostic framework — each engagement started from zero. Setup navigation overhead consumed 2–3 hours before a single line of work could be scoped or a Statement of Work drafted. Without a timestamped, documented snapshot of the org at engagement start, proving the measurable impact of remediation work was difficult. And translating raw Salesforce metadata findings into business-level language that a non-technical stakeholder could understand required significant translation effort on every engagement.

CRM Infusion needed a way to run a consistent, fast, and credible org health diagnostic — built from live Salesforce metadata — without relying on a consultant manually navigating Setup menus and keeping notes in a separate document.

The Solution

CRM Infusion designed and built the Org Health Scorecard — a Lightning Web Component powered by a custom Apex scoring engine and a Visualforce session bridge, deployed as a dedicated internal Lightning App within the firm’s Salesforce org. Consultants open the Org Health tab in the CRM Infusion Tools Lightning App, click Run Analysis, and within seconds receive a complete org assessment across five weighted metadata categories.

“Consultants enter every new org with a scored, timestamped baseline built from live metadata — no more manually cross-referencing ApexCodeCoverageAggregate, inactive Flows, and Tooling API data across a dozen Setup menus.”

The Scorecard does not return a grade and stop. It returns a prioritized Findings list — specific issues surfaced during the metadata analysis, tagged by category and severity (High, Medium, Low), written in language a non-technical stakeholder can act on. Findings sort automatically by severity — High items surface first, giving consultants an immediate triage view without manual prioritization. The Export Findings button copies the full findings list to clipboard in a structured plain-text format, ready to paste directly into a scoping document, Statement of Work, or client-facing email.

Automation Health — 25%
Inactive Flows, active Process Builders (legacy ProcessType = Workflow), active Workflow Rules.
Apex Code Quality — 20%
Classes below 75% test coverage via ApexCodeCoverageAggregate, trigger handler patterns, class count.
Org Limits — 20%
DailyApiRequests consumption, DataStorageMB, FileStorageMB via System.OrgLimits.
User & Security — 20%
Inactive Standard Users consuming licenses, Profile configuration against Standard User types.
Metadata Hygiene — 15%
Custom Field count, active TraceFlag debug logs, Custom Object count.
Findings Export
Copies full findings list to clipboard in structured plain-text — ready to paste into a SOW or client-facing email in one click.

Technical Highlights

  • OrgHealthService + OrgHealthScorer — Separated by DesignService retrieves via native SOQL and System.OrgLimits.getMap(). Scorer applies weighted category logic and produces a typed ScorecardResult wrapper. Single-responsibility pattern — when the rubric evolves, only OrgHealthScorer changes.
  • No HTTP Callouts or External DependenciesAll queries run natively against the org’s own metadata. No Named Credentials for org authentication, no cross-org OAuth, no managed package dependency.
  • Visualforce Session BridgeOrgHealthSessionBridge resolves the Lightning Experience platform constraint where UserInfo.getSessionId() returns a restricted UI session token. The VF controller returns a full API-capable session for any future callout-based expansion.
  • Modular Architecture for Future ToolsThe second tab in the CRM Infusion Tools Lightning App is already allocated for the Flow Documenter module. The Apex service pattern, Lightning App container, VF session bridge, and deployment pipeline carry forward without modification.

Results

Metric Before After Outcome
Time to org baseline 2–3 hours manual Setup navigation <30 seconds 99%+ time reduction
Consistency across consultants Variable — consultant-dependent Standardized Apex scoring rubric Fully standardized
Client-ready output Requires manual write-up and translation Generated automatically from live metadata Instant delivery
Engagement baseline on record None Timestamped Findings export Documented baseline
Scalability Bottlenecked by consultant hours Runs on any Salesforce org, on demand Unlimited scale

Ready to see what a live metadata analysis finds in your Salesforce org?

CRM Infusion does not guess at what is wrong with your org. We run a scored, documented metadata analysis built from live Salesforce data — not a gut check, not a Setup walkthrough from memory.

Book a Discovery Call

Why This Matters for Your Organization

The Org Health Scorecard is an internal CRM Infusion tool — but it represents something any Salesforce org owner should care about: CRM Infusion does not guess at what is wrong with your org. When CRM Infusion begins an engagement, the first step is a scored, documented metadata analysis built from live Salesforce data — not a gut check, not a Setup walkthrough from memory, but a systematic evaluation of the specific metadata conditions that most commonly cause Salesforce orgs to accumulate technical debt, create deployment friction, and underperform during growth phases.

That baseline — graded across Automation Health, Apex Code Quality, Org Limits, User and Security posture, and Metadata Hygiene — serves two purposes. It tells you exactly what needs attention and in what order. And it gives both sides a documented, agreed-upon starting point, so when the engagement closes, the improvement is measurable against a real before state, not an estimate. For organizations operating a Salesforce org that has never had a formal health review, the findings from that first analysis are frequently revealing: inactive Flows accumulating across years of admin turnover, Apex classes below the 75% coverage threshold creating deployment risk in production, TraceFlag records left active consuming system resources, storage consumption trending toward limits before the next renewal cycle. The Scorecard surfaces all of it — from live metadata, in under 30 seconds, without a full-day setup review.


Ready to see what a live metadata analysis finds in your Salesforce org?

Contact CRM Infusion today for a complimentary org health review.