Sub topic 3
Zero Data Retention and Response Controls
This chapter assumes you understand Salesforce permissions, prompts, and common privacy risks such as personally identifiable information (PII).
Zero Data Retention with Model Providers
Zero data retention means the external model provider does not retain the prompt or response after processing. The provider should not use that content to train its models. The Einstein Trust Layer sends the request through a controlled gateway so Salesforce data does not become a permanent provider record.
Zero retention reduces exposure, but it does not make every request safe. The request still needs correct permissions, grounding, masking, and policy controls before it reaches the model.
Model Choices and Trust Boundaries
The selected model affects where data travels and which provider terms apply. An administrator should review the provider, data residency, retention agreement, supported features, and whether the model is suitable for the data classification.
| Decision | Trust question |
|---|---|
| Model provider | Which organization processes the prompt? |
| Model location | Where is the request processed? |
| Provider contract | Does the provider retain or train on the data? |
| Model capability | Can it follow the required safety and grounding controls? |
Changing models can change the trust boundary. Treat model selection as a governance decision, not only a quality or cost decision.
Toxicity Detection and Demasking
After the model returns text, toxicity detection scores it for harmful, abusive, or unsafe content. A policy can block, flag, or route a response for review. This check evaluates the generated response; it does not prove that the response is factually correct.
When masking was used, demasking replaces placeholders with the original values inside Salesforce. The user sees the intended names or contact details, while the external model saw tokens such as PERSON_0 and EMAIL_0.
Audit, Administration, and Shared Responsibility
The audit trail records interaction details and protection outcomes according to the configured feature and release. Feedback data can help an administrator review failures, identify unsafe patterns, and improve agent instructions or actions.
Administrators should test permissions, grounding, masking, model settings, toxicity handling, and audit access. The Trust Layer cannot repair excessive sharing rules, inaccurate CRM data, unsafe agent actions, or poorly designed prompts. Customers remain responsible for data classification, permission design, review processes, and human oversight.
Exercise
Does zero data retention guarantee that an Agentforce response is accurate and safe?
Show answer
No. It limits provider retention, but permissions, data quality, model behavior, toxicity handling, and agent design still require controls and review.