Understand an org you didn’t build

Find out what’s in a Salesforce org, what each object is for, and how the pieces connect, by asking. Answers come from the org’s own metadata, not from what Salesforce orgs usually look like.

For new admins, developers and consultants

Short answer

Ask your AI assistant “give me a tour of this org” or “brief me on the Invoice object”. sf-intelligence reads a snapshot of the org’s metadata (objects, fields, flows, Apex, permissions, integrations) and answers from it, naming each component. If a name is misspelled or matches several things, it asks which one you mean.

A real answer from the demo org

Two orientation questions asked of Verdant, the demo org: the whole org first, then one object.

Question

“Give me a tour of this org.”

13 custom objects 135 components and 350 links between them.

Next: Start with Project, the object everything else hangs off: ask for a brief on it.

Most connected objects
  • Custom objectProjectCustomObject:Project__c

    Referenced by 20 other components.

  • Custom objectInvoiceCustomObject:Invoice__c

    Referenced by 6 other components.

  • Custom objectInstallationCustomObject:Installation__c

    Referenced by 5 other components.

Automation and code
  • Flows2
  • Apex classes5
  • Apex triggers1
  • Validation rules3
Access
  • Profiles3
  • Permission sets2

The card also lists the kinds of metadata the refresh didn’t pull (reports, Lightning pages and email templates among them), so you know what the rest of the answers can’t cover.

For developers: the tool call

Your assistant made this call to the sf-intelligence MCP server. sfi.org_card isn’t in the short default tool list, so it runs through sfi.run_analysis:

{
  "name": "sfi.run_analysis",
  "arguments": {
    "name": "sfi.org_card",
    "args": {}
  }
}
Question

“Brief me on the Invoice object.”

One-page brief written for someone new to the org.

Next: Share the brief with whoever is new, then ask what runs when an Invoice is saved.

What it is
  • Custom objectInvoiceCustomObject:Invoice__c

    An invoice billed against a Project for solar installation work. Child of Project via master-detail.

Key fields (top 3 of 6)
  • Currency · requiredAmountCustomField:Invoice__c.Amount__c

    Total amount billed on this invoice before payments are applied. Used by 3 components.

  • PicklistStatusCustomField:Invoice__c.Status__c

    Draft · Sent · Paid · Overdue. Used by 2 components.

  • Roll-up summaryTotal PaidCustomField:Invoice__c.Total_Paid__c

    Sum of all Payment amounts applied to this invoice.

Connected to
  • Parent · master-detailProjectCustomObject:Project__c
  • Child · master-detailPaymentCustomObject:Payment__c

    Deleting an Invoice deletes its Payments.

The full brief also covers what runs on save, who can access it, integrations and risk signals, such as “1 of 6 custom fields have neither a description nor help text”.

For developers: the tool call

Your assistant made this call to the sf-intelligence MCP server. sfi.object_360 isn’t in the short default tool list, so it runs through sfi.run_analysis:

{
  "name": "sfi.run_analysis",
  "arguments": {
    "name": "sfi.object_360",
    "args": {
      "objectApiName": "Invoice__c",
      "format": "handbook"
    }
  }
}
See the full brief, exactly as returned
# Invoice (`Invoice__c`) — object brief

## What it is
- Custom object, plural label "Invoices".
- Description: An invoice billed against a Project for solar installation work. Child of Project via master-detail.
- Org-wide default: internal `ControlledByParent`, external `not captured`.

## Key fields (6 of 6: 6 custom, 0 standard)
Ranked: declared required / external id / unique first (1 / 0 / 0), then by how many components reference the field.
- `Amount__c` "Amount" (Currency; required) — 3 referencing component(s). Total amount billed on this invoice before payments are applied.
- `Status__c` "Status" (Picklist) — 2 referencing component(s). Lifecycle status of the invoice.
- `Total_Paid__c` "Total Paid" (Summary) — 2 referencing component(s). Sum of all Payment amounts applied to this invoice.
- `Project__c` "Project" (MasterDetail; → `Project__c`) — 1 referencing component(s)
- `Balance__c` "Balance" (Currency; formula) — 0 referencing component(s). Outstanding balance on the invoice: amount billed minus total payments applied.
- `Due_Date__c` "Due Date" (Date) — 0 referencing component(s). Date by which the invoice balance is due.

## Picklists (1 of 1, most-referenced first)
- `Status__c`: 4 active value(s) — Draft · Sent · Paid · Overdue

## Record types (0 total, 0 active)
- None: `RecordType` was retrieved by the last refresh and none is attached to this object — this empty result means "this object has no record types".

## Relationships (1 lookup field(s) to parents, 1 child object(s) pointing here, among retrieved fields)
Parents (fields on this object):
- `Project__c` → `Project__c` (MasterDetail)
Children (fields on other objects that point here):
- `Payment__c` via `Invoice__c` (1 master-detail — deletes cascade)
- A child appears only when its lookup field is in this vault with a captured target; a standard child whose lookup was not captured (e.g. a polymorphic activity lookup) is not listed.

## What runs when a record is saved (1 active component(s) in 1 step(s), in order)
Tags show which events each step fires on. Entry conditions are listed by the save tool, not evaluated here.
- — the record is written to the database —
- **Parent roll-up summaries recalculated** (1): `Total_Invoiced__c` [insert+update]
- Not in the sequence above — delete: 1 step(s) from 1 component(s) (`Total_Invoiced__c`); undelete: 1 step(s) from 1 component(s) (`Total_Invoiced__c`) (`sfi.what_happens_on_save` {"event":"delete"}).
- Other components that write this object's fields (not part of the sequence above): 1 ApexClass (`sfi.why_field_changed` per field).

## Who can access it (2 profile(s), 1 permission set(s) grant at least one object permission)
- Read: 2 profile(s) (`Verdant_Read_Only`, `Verdant_Sales_Rep`), 1 permission set(s) (`Finance_Team`)
- Create: 1 profile(s) (`Verdant_Sales_Rep`), 1 permission set(s) (`Finance_Team`)
- Edit: 1 profile(s) (`Verdant_Sales_Rep`), 1 permission set(s) (`Finance_Team`)
- Delete: none declared.
- View All: 0 profile(s), 1 permission set(s) (`Finance_Team`)
- Modify All: none declared.
- These are permission containers, not users; permission set groups are not expanded here (`sfi.object_access_audit` does that). Record-level visibility also depends on sharing.

## Integrations touching it (0)
- None found among outbound messages, named credentials/external services/connected apps that reference it, Apex REST resources that read or write it, and Change Data Capture channel members.
- Apex callouts are not attributed to an object in the vault; `sfi.endpoint_catalog` / `sfi.integration_map` list them org-wide.

## Risk signals (1)
- 1 of 6 custom field(s) have neither a description nor help text.

## Where to look next (non-core tools run through `sfi.run_analysis`)
- `sfi.what_happens_on_save` {"objectApiName":"Invoice__c","event":"update"} — the full ordered save with conditions and actions
- `sfi.object_access_audit` {"componentId":"CustomObject:Invoice__c"} — every grant incl. permission set groups
- `sfi.generate_data_dictionary` {"objectId":"CustomObject:Invoice__c"} — every field
- `sfi.field_360` {"fieldId":"CustomField:Invoice__c.Amount__c"} — everything about one field
- `sfi.object_360` {"objectApiName":"Invoice__c"} — full usage accounting (reports, pages, code)

_Reference counts read MODELED edges of mixed confidence: metadata declarations are `declared`, Apex references `parsed` or `heuristic`. Dynamic SOQL, reflective access and runtime integration payloads are invisible, so a small or zero count is never proof of disuse._

_Metadata only: counts here are components, never records. Record counts, owners and recency need the live tools (`sfi.live_count`, `sfi.live_recent_activity`). `required` is the field's declared flag; platform- and layout-required fields are not visible in field metadata._

Recorded with sf-intelligence 0.8.0 on the built-in demo org. The wording is ours; the facts are the tool’s. More real answers.

Why not paste the metadata into a chatbot?

A real org has thousands of components, far more than fits in a chat. A general assistant fills the gaps with what orgs usually look like, which is how you get confident answers about fields that don’t exist. sf-intelligence keeps the whole snapshot on your computer and hands your assistant only the facts a question needs, each one named so you can check it.

Ask it like this

Use your own object and field names. If a name matches more than one thing, it asks which one you mean.

  • Give me a tour of this org.
  • Brief me on the Invoice object.
  • What fields does Project have, and which are required?
  • Is there already a field for customer health?
  • What external systems does this org talk to?
  • Generate a data dictionary for Invoice.

What it checks, and what it can’t see

Checks

  • Objects and fields, including record types, picklist values and relationships
  • Automation: flows, workflow, approval processes and assignment rules
  • Code: Apex classes and triggers, Lightning components and Visualforce
  • Access: profiles, permission sets, sharing rules and roles
  • Integrations: named credentials, endpoints and platform events, plus OmniStudio

Can’t see

  • Business records. It reads setup, not data, unless you turn on the optional live mode
  • Kinds of metadata your refresh didn’t pull. Answers name them
  • What people meant a field for, beyond its description and help text
For developers: the tools behind this

Your assistant picks these from the plain-language question. You never have to name them.

Questions

What if I don’t know the exact API name?

Ask with the words you have, typos included. It matches names loosely, and when several components could fit it asks which one you mean instead of picking one.

Can it write documentation for me?

Yes. It can produce a one-page brief of an object, a data dictionary, an admin handbook, an architecture overview or an onboarding doc, each dated with the snapshot it came from.

How current are the answers?

As current as your last refresh. Run a refresh after the org changes; the health check tells you when the snapshot is out of date.