2026-10-30 | FieldRat
Agentforce metadata readiness: a field review before launch
Before an Agentforce assistant uses Salesforce data to make a decision or run an action, check that the fields involved have an agreed meaning, reliable values and appropriate access. For example, an old “Return Approved” checkbox might describe a previous request. If the configured action treats it as approval for today’s request, it could issue a shipping label that the customer does not qualify for.
That is the problem this guide addresses. Metadata describes your fields and automation: names, data types, descriptions and relationships between components. Record data contains the actual dates, statuses and approvals. You need to review both. A clearer description explains what a field means; it does not repair an old value or add a missing check to a Flow.
We will work through one fictional return-label process, from defining the decision to testing it. You can use the same review for another narrow Agentforce task without cleaning your entire org first. FieldRat can contribute field-usage and dependency evidence; the business owner and implementation team still have decisions to make.
Start with a rule you can test
Imagine a retailer using an Agentforce support assistant to handle a return request recorded in a Salesforce Case. The assistant can call an action that creates a return shipping label. For this example, the retailer allows that action only when the purchase was within the past 30 days, a service lead has approved this specific return, and no label has already been issued. This is an invented policy for the walkthrough, not a Salesforce default or a recommendation for every retailer.
Missing or conflicting evidence goes to a service lead. An existing label must not trigger another one. Write these rules before editing field descriptions or agent instructions, and name who owns the policy. You now have a concrete question to answer: can the configured process establish each condition before creating a label?
Decide which fields the action should trust
In this fictional org, the relevant Case fields are listed below. These are example custom fields, not standard Salesforce fields. The team must confirm the real source of each value and how it relates to the current return request.
| Field | Meaning to confirm | Check before use |
|---|---|---|
| Purchase_Date__c | Date of the purchase covered by this return | Does it match the order, rather than the Case creation date? |
| Return_Approved__c | Service-lead approval for this particular return request | Who sets it, and how is old approval prevented from carrying over? |
| Return_Label_ID__c | Identifier recorded after a label is created | Where is the duplicate check enforced, including retries? |
| Legacy_Return_OK__c | Older eligibility flag with an unconfirmed purpose | Which automation or external consumer still reads or writes it? |
“Return approved” is too vague on its own. After the owner confirms the process, a useful description might say: “Approval by a service lead for the current return request. This does not establish purchase-date eligibility or confirm that a label has been issued.” Record the owner, source of updates and reset behaviour in the data dictionary. If nobody can explain the legacy flag, keep that uncertainty visible. A generated description cannot supply missing business knowledge.
Trace what reads and changes those values
Follow the action into its Flow or Apex and inspect the conditions it actually checks. Then review formulas, validation rules, other automation and integrations around the four fields. In our example, finding an older Flow that still writes the legacy flag would raise a specific question: does any path still use that flag to authorise a label? Resolve that path before relying on the newer approval field.
This is where FieldRat can help assemble evidence. QuickScan checks dependencies across 11 metadata types natively; DeepScan covers 23 types from an uploaded metadata ZIP. Review the documented scan scope and whether the retrieved metadata includes the components you need. Neither scan proves that an external system has no dependency on a field. Ask integration owners about consumers outside that coverage.
Population results answer another question: do records contain values? A field filled on every Case may still hold yesterday’s approval. An empty field may belong to a seasonal process. Use usage and dependency evidence to investigate; use the field retirement checklist if deletion becomes a separate, approved task. Removing fields is not a prerequisite for this pilot.
Check whose permissions the action uses
Identify the agent’s execution context and inspect the access behaviour of each underlying action. For the return example, test access to the correct customer’s Case, the required approval and purchase fields, and the label-creation action. A successful test as an administrator does not establish that the intended agent or user has the right access.
Test a restricted user or agent configuration too. An unreadable approval must not be treated as approval, and a permission failure must not be “fixed” by granting access to unrelated records. Record whether the failure came from access, missing data or conflicting policy evidence so that the right owner can resolve it.
Salesforce documents agent context and user context separately. Review the actual action configuration and execution mode when testing access.
Run the example through success and failure cases
Write the expected outcome first, then exercise the configured agent and the action in a sandbox. These are proposed tests for our invented policy, not results from a deployed customer agent.
| Case evidence | Expected outcome |
|---|---|
| Purchase 12 days ago; current approval; no existing label | Create one label and retain its identifier. |
| Purchase 45 days ago; approval present | Do not create a label; refer the policy conflict to the service lead. |
| Eligible date and approval; label identifier already present | Do not create a second label. Repeat the request to check duplicate handling. |
| Purchase date missing, or only the legacy flag says approved | Do not create a label; request verified evidence or human review. |
| Approval exists but the execution context cannot read it | Do not create a label or expose restricted data; record the access failure. |
Retain the input record, relevant values, execution context, expected outcome, actual action and reviewer decision. Check the resulting record or shipping-system response, not just the assistant’s reply. If you change an approval rule, a description or a Flow, rerun the affected cases. Passing these examples supports this narrow task; it does not establish that the whole org is Agentforce-ready.
What should be ready before the pilot?
For this return process, the team should be able to show the agreed policy, the field definitions and owners, the automation and integration paths reviewed, the access checks, and the observed test results. Every unresolved issue needs an owner and a decision about whether it blocks the pilot. If the action cannot distinguish current approval from an old flag, keep label creation disabled until that gap is resolved.
Start with one action and the fields it uses. FieldRat can help you find and review dependencies along that path. Business meaning, record accuracy, access and correct action behaviour still need their own evidence. That is the useful outcome of this review: a specific process the team understands and has tested.
Sources and further reading
Salesforce’s metadata-gap guidance explains why business meaning needs admin review. The return policy, field definitions and test cases above are our illustrative workflow.
If Vibes is helping with the implementation, keep the metadata diff and review it like any other change. TechParrot’s Vibes budgeting guide explains why reviewed changes are a better pilot measure than generated lines. For FieldRat scan scope and handling of metadata, see the product documentation.
Review FieldRat on AppExchangeCommon questions
Does a populated field mean an agent can trust it?
No. Population shows that values exist. It does not establish their meaning, accuracy, freshness, access permissions or suitability for a decision.
Can FieldRat certify an org as Agentforce-ready?
No. FieldRat provides field usage and dependency evidence. Agent permissions, business meaning, grounding quality and end-to-end behaviour require separate review and testing.
Should I delete empty fields before enabling Agentforce?
Not solely because they are empty. Check seasonal processes, integrations, dependencies and the business owner’s intent. A scan is evidence for review, not approval to delete.