Apply Trust Layer and model controls
Identify which control protects each stage of the prompt path.
Apply Trust Layer and model controls
Work through the decision
A privacy reviewer asks whether the service model can retain prompts, which fields leave the org and whether a prohibited model family is available. What evidence answers each question?
Check your reasoning
Review the provider retention boundary, the invocation path and the allowed models independently. Classify data needed for the task and exclude unnecessary fields before assembling the prompt. Salesforce documents configurable masking for directly invoked templates and disables pattern- and field-based masking for agents, including template actions. Inspect the actual path used by the app.
Compare the choices
- Provider zero data retention
- The external provider’s contractual handling of prompts and responses is distinct from records and audit evidence retained inside Salesforce.
- Configured prompt masking
- Check supported direct-template use and regional and language settings. Agent invocations have documented masking limitations, so reduce sensitive input at its source.
- Model-specific restriction
- Disallow a particular model while preserving approved alternatives, then test dependent templates and agents.
- Provider-level control
- Disable access to a provider when policy excludes every model from that provider. Check existing references and approved alternatives.
Test the decision
Inventory model references before restricting a model or disabling a provider. Test the approved replacement with the same grounded cases. A provider restriction can break a template still configured to use that provider. Check Salesforce-side traces and their retention and access separately from the external provider agreement.
Review the actual invocation path
Run the same direct-template and agent-action scenarios in a test org using fictitious identifiers. Record which fields enter the resolved prompt and what the feature supports for each path. Remove unnecessary input fields before evaluating either path. Apply the external provider’s contractual retention commitments and your own Salesforce trace policies to the appropriate system.
Salesforce Help · data masking limitations in Agentforce
Practice the guide skills
- Trace an identifier from a directly executed prompt through configured masking to the model provider. Repeat the analysis for an agent-invoked prompt, and distinguish provider zero retention from Salesforce-side audit data. Watch 18:29
- Compare disabling one model with disabling an entire provider. Inventory dependent templates and test an approved alternative before switching access. Watch 22:02
Official objectives for this lesson
Related lesson · Govern data and promote a solution
Apply Trust Layer and model controls quiz
Answer 3 questions. Check each answer for an explanation.