ServicesSalesforce consultingArchitectureImplementationOrg health checkDevelopmentIntegrations and APIsData migrationTesting and QAManaged supportSpecialist supportMarketing Cloud auditDeliverability
SolutionsMarketing Cloud EngagementMarketing Cloud NextSalesforce + BrazeAccount EngagementData Cloud (Data 360)Identity resolutionInsights and segmentsAgentforce and AIMCP integrationsSales and Service CloudReal-time personalisationIntegration solutionsEnterprise AI integrationBy industry
ArchitectureSalesforce CRMData 360Salesforce + BrazeAgentforceCustomer 360API-led integrationEvent-drivenMCP host, client and serverIdentity and consentMCP securityData governanceCI/CD and releasesOur public MCP server
ResourcesEngineering journalDecision guidesSolution blueprintsSalesforce productsProjects and achievementsSales ROI calculatorWhere we workChecklists and templatesPlanning toolsReadiness assessmentGlossaryAbout GeekMidstOur approachOur expertiseContact
CompanyAbout GeekMidstOur approachDelivery methodologyTrust and evidenceProjectsAchievementsBook a consultationContactWhere we workSecurity and data
Book a Consultation

Salesforce Org Health Check Checklist

A structured checklist for reviewing the health of a Salesforce org, covering access, automation, code, data and limits, with sample SOQL queries for the first checks.

Type
Resource
Topic
Resource
Reading time
4 min
Updated
Author
GeekMidst Team
Reviewed by
Site owner
Talk to an expert
Administrator flags a section of a tabbed ring-bound checklist at a standing desk, gauge charts on the monitor

Salesforce orgs accumulate decisions. Ten admins, three partners and several years later, nobody is sure which flows still matter, who can see what, or why a save takes four seconds. An org health check is a deliberate pause to find out, before the next project builds on top of the problems.

This checklist is the structure we use as a starting point. It works for a self-review by an internal admin team or as preparation for an external review.

Before you start

  • Work in a recently refreshed full or partial copy sandbox where possible, and use production only for read-only checks.
  • Run Salesforce's built-in Health Check in Setup for a baseline of security settings, and the Optimizer report if it is available in your org.
  • Agree who will receive the findings and who can approve fixes. A health check without an owner becomes a document, not a change.

What to check, area by area

What to look forWhy it matters
Users and licencesActive users who have not logged in recently, shared logins, integration users with full licencesSecurity exposure and wasted licence cost
PermissionsProfiles or permission sets with Modify All Data, View All Data or Author Apex assigned to many usersLeast privilege is the strongest control you have
Sharing modelOrganisation-wide defaults, sharing rules and manual shares that no longer match the businessData visibility errors and slow recalculations
AutomationOverlapping flows, legacy Workflow Rules and Process Builder still active, triggers without a frameworkUnpredictable order of execution and errors on save
Apex and LWCLow or synthetic test coverage, SOQL in loops, hard-coded IDs, unused classesDeployment failures and governor limit errors
Data qualityDuplicate accounts and contacts, empty required-in-practice fields, inconsistent picklistsPoor reporting and failed integrations
Data volumeVery large objects, large data skew on single owners or parents, storage usePerformance, locking and storage cost
IntegrationsIntegration users, connected apps, Named Credentials, error logs and API usage trendsSilent failures and limit exhaustion
Technical debtUnused fields, reports, page layouts, record types and managed packagesSlower change and confused users

Starter queries

These SOQL queries can be run in the Developer Console query editor or with the Salesforce CLI. They are starting points; adjust the time windows to your own policy. Treat the results as leads to investigate, not as a list of things to delete.

soql
SELECT Id, Name, Username, Profile.Name, LastLoginDate
FROM User
WHERE IsActive = true
AND (LastLoginDate < LAST_N_DAYS:90 OR LastLoginDate = null)
ORDER BY LastLoginDate ASC NULLS FIRST
Active users with no login in the last 90 days (review before deactivating; some may be integration users)
soql
SELECT Assignee.Name, Assignee.Username, PermissionSet.Name,
       PermissionSet.IsOwnedByProfile, PermissionSet.Profile.Name
FROM PermissionSetAssignment
WHERE Assignee.IsActive = true
AND PermissionSet.PermissionsModifyAllData = true
Active users who hold Modify All Data through a profile or a permission set

Running the check

  1. 01

    Gather context

    Collect the list of business processes, integrations and recent incidents. Findings only make sense against how the org is actually used.

  2. 02

    Run the automated tools

    Use Health Check, Optimizer where available, and static analysis on Apex and LWC to produce a baseline quickly.

  3. 03

    Review each area

    Work through the table above, recording each finding with evidence, affected users or processes, and a severity.

  4. 04

    Rate and group findings

    Separate urgent security or data risks from performance issues and from clean-up work. Group related findings so fixes can be planned together.

  5. 05

    Agree a remediation plan

    Give each group an owner, an effort estimate and a target release. Quick, low-risk wins can go first.

  6. 06

    Re-check after fixes

    Repeat the relevant queries and tool runs to confirm the change worked and nothing regressed.

Reading the results

  • Security findings come first. Excessive permissions and stale active users are cheap to fix and carry the most risk.
  • Automation overlap is the usual cause of "random" errors. If several flows, triggers and legacy rules act on one object, map them before changing any. Salesforce recommends moving Workflow Rules and Process Builder to Flow; check current retirement guidance in Salesforce Help. See record-triggered flow best practices.
  • Code issues show up as limits. SOQL or DML inside loops is the commonest cause of governor limit errors under load; bulkifying Apex triggers explains the fix.
  • Clean-up needs care. Before deleting a field, check reports, flows, Apex, integrations and Marketing Cloud Connect sync settings that may reference it.

If your org also feeds Marketing Cloud, the Marketing Cloud audit is the matching review on the marketing side.

Want an independent view of your org?

GeekMidst runs structured org health checks and turns the findings into a prioritised plan your team can act on.

Request an org health check →

Workflow diagram

Explore how the pieces fit together. Select a step to read what happens there.

Workflow

Org health check

Open full size
Org health checkAn org health check collects configuration, usage and limit data, reviews security, automation, data quality and performance, and turns the findings into a prioritised plan. High-risk items are fixed first and the org is checked again to confirm the improvement.Org health checkDiscoveryReview areasPlan and fixScope and access: Goals, read-only access. The review starts with what the business is worried about and read-only access, so nothing changes in the org while it is being assessed.Scope and accessGoals, read-onlyaccessCollect org data: Metadata, usage, limits. Metadata, licence use, storage, API and automation limits are gathered so findings are based on the real org rather than impressions.Collect org dataMetadata, usage,limitsSecurity and access: Profiles, sharing, sessions. Who can see and change what: profiles, permission sets, sharing rules and session settings, compared with the principle of least privilege.Security andaccessProfiles, sharing,…Automation and code: Flows, triggers, tests. Overlapping flows and triggers on the same object, missing tests and hard-coded IDs are common causes of errors and slow saves.Automation andcodeFlows, triggers, testsData quality: Duplicates, unused fields. Duplicates, empty or unused fields and inconsistent picklists show where reports and automation cannot be trusted.Data qualityDuplicates, unusedfieldsPrioritised plan: Risk and effort. Findings are ranked by risk and effort, so the team fixes what could cause an incident or a data leak before cosmetic issues.Prioritised planRisk and effortFix and re-check: Measure the change. Fixes go through normal release steps. The same checks run again to confirm each problem is actually resolved.Fix and re-checkMeasure the changeStartSystem or platformProcess stepPerson or teamEnd or outcomeOriginal GeekMidst explanatory diagram, not an official Salesforce reference.

Select any step in the diagram, or use Step through, to see what happens at that point and why.

Text version: every step in order
  1. Scope and access DiscoveryGoals, read-only access

    The review starts with what the business is worried about and read-only access, so nothing changes in the org while it is being assessed.

    Next: Collect org data

  2. Collect org data DiscoveryMetadata, usage, limits

    Metadata, licence use, storage, API and automation limits are gathered so findings are based on the real org rather than impressions.

    Next: Security and access

  3. Security and access Review areasProfiles, sharing, sessions

    Who can see and change what: profiles, permission sets, sharing rules and session settings, compared with the principle of least privilege.

    Next: Automation and code

  4. Automation and code Review areasFlows, triggers, tests

    Overlapping flows and triggers on the same object, missing tests and hard-coded IDs are common causes of errors and slow saves.

    Next: Data quality

  5. Data quality Review areasDuplicates, unused fields

    Duplicates, empty or unused fields and inconsistent picklists show where reports and automation cannot be trusted.

    Next: Prioritised plan

  6. Prioritised plan Plan and fixRisk and effort

    Findings are ranked by risk and effort, so the team fixes what could cause an incident or a data leak before cosmetic issues.

    Next: Fix and re-check

  7. Fix and re-check Plan and fixMeasure the change

    Fixes go through normal release steps. The same checks run again to confirm each problem is actually resolved.

    End of the flow.

An org health check collects configuration, usage and limit data, reviews security, automation, data quality and performance, and turns the findings into a prioritised plan. High-risk items are fixed first and the org is checked again to confirm the improvement. Original GeekMidst explanatory diagram; not an official Salesforce reference architecture.

Tell us what you are trying to fix.

Share your Salesforce setup, goals and constraints. A practitioner reads every message and replies with questions, first thoughts or an honest view of whether you need outside help at all.

Talk to a Salesforce Expert
Book a Consultation