Make informed decisions before taking action on Salesforce data.
Think of Record Health Check as a coach sitting on the record page. It checks the record against rules your organization defines, explains what looks good and what needs attention, and tells users what they can do next.
It provides guidance, not enforcement. It never changes your data and never prevents someone from saving a record.
Free and open source. Distributed as a namespaced Salesforce 2GP unlocked package.
Check Sets and Checks are defined in Custom Metadata. When the card runs, Record Health Check combines the record context with the business rules your organization defines to evaluate what is true now. That context can include the current record, related records, aggregate results, and data that existed before the Checks were created. It does all of this without writing to the record.
Every Check returns Pass, Fail, Skipped, Unable to Check, or System Error. For a Fail result, the row is labeled Failed, Warning, or Info based on its severity.
When a record needs attention, the card explains what was Found, what was Expected, why it matters, and how to resolve it. It can also provide an optional read-only action link.
Documentation · Install and verify · Build with AI · Examples · Deploy a demo
- Formula Checks evaluate fields on the current Account, such as whether the owner is still an active user.
- Query Checks measure related records and aggregates. Found and Expected values explain results such as reachable Executive Sponsors, contacts missing email, open pipeline against a 75% revenue target, and high-priority Cases.
- Custom Apex evaluates recent Tasks and Events within a configurable 60-day window to confirm customer engagement is current.
- Applicability conditions skip Checks that do not apply to this Account. Channel-partner governance is skipped for a direct Customer, and the card explains why.
| Capability | What it provides |
|---|---|
| Custom Metadata configuration | Version, review, and deploy Check Sets and Checks with the rest of your Salesforce metadata |
| Evaluation methods | Evaluate current-record fields, related records, aggregate results, comparisons, or custom Apex logic |
| Applicability conditions | Skip Checks that do not apply and explain why, such as a partner-only Check on a customer Account |
| Display and run controls | Run Checks when the card loads or on demand, and control how passed and skipped Checks appear |
| Automation and diagnostics | Use Apex and Flow entry points, optional Platform Events, and permission-controlled diagnostics for automation, integration, and troubleshooting |
What's included
This inventory describes the current source checkout. See version availability for differences from the published package.
| Area | Details |
|---|---|
| Package | Salesforce 2GP unlocked package with the rhc namespace |
| Apex | 352 classes, including 166 @IsTest classes and 2 global contract-test support classes · size breakdown · 97.86% coverage from the namespaced 2.0.11 run dated 2026-09-12 · Salesforce-validated 2.0.11.4 package coverage: 97% |
| LWC | 2 Lightning Web Components · 406 Jest tests · 98.93% line coverage · 93.86% branch coverage |
| Packaged examples | 4 active Example Check Set records containing 50 Check records; 49 Checks are active |
| Permission sets | Card User, User, Admin, MCP Integration, Diagnostics Viewer, Error Log Publisher, and Readiness Auditor |
| Custom permissions | Record Health Check Run |
| Custom Metadata Types | Record Health Check Set (19 fields) and Record Health Check (45 fields) |
| Platform Events | Record Health Check Log (14 fields), Record Health Check Result (13 fields), and Record Health Check Set Run (18 fields) |
| Documentation | 159 maintained pages, including 18 documented Check examples |
Historical Apex coverage (2026-09-12); current source coverage is unverified. The retained run has no source snapshot digest; it must not be treated as coverage of this checkout.
See the contribution guide for local checks, testing requirements, and pull request guidance.
Questions and feedback can be shared in a GitHub discussion. To report a bug or request a feature, open an issue. You can also join the community on Slack. Already a member? Open Slack. Prefer email? Reach out at feedback@recordhealthcheck.com.
Licensed under the Apache License, Version 2.0. See NOTICE for attribution.
