Trailblazer Community
Feed

Getting Started

  • What is Trailhead
  • myTrailhead
  • Trailblazer Community
  • Career Growth

Learn

  • Trails
  • Trailmixes
  • Modules
  • Projects

Credentials

  • Superbadges
  • Certifications
  • Maintain Certifications

Salesforce

  • Salesforce.com
  • AppExchange
  • Developers
  • Help Portal
© 2026 Salesforce, Inc. All rights reserved. Privacy Terms of Use Trust Accessibility Cookie Preferences
  1. Feed
  2. Post
SV
Sofia Vasquez
Senior Content Author · 4 hrs ago
Asked in #Agentforce

How are you grounding Agentforce responses without leaking PII into the prompt?

We're piloting Agentforce for inbound case triage. Need to ground the model on knowledge articles + recent case history, but our compliance team flagged that the unfiltered case history can include unredacted PII.

Discuss this in Slack for faster answers and real-time help.

19 replies · preview from Slack

Accepted answer
MI
Mia Iyer
Senior Architect · Salesforce MVP · 2 hrs ago

Two-stage retrieval has been the cleanest pattern: pull the case history through a redaction layer first (the Einstein Trust Layer handles a lot of this by default but you can extend it), then ground the agent prompt on the redacted versions. Your compliance team should be able to approve the redaction policy once, not every prompt.

JB
Jordan Brooks
Account Executive · May 17, 2026 9:45 AM

We added an Apex pre-flight on every grounding call that scrubs against a regex library + a NER model for names. Overkill for some teams but compliance loved it.

Active in Slack

Conversation lives in #agentforce. Open Slack to post, reply, and react.

About the asker

SV
Sofia Vasquez
Senior Content Author
Ranger

Related learning

  • Trail
    Build an Agentforce Sales Agent
  • Badge
    Agent Handoff Patterns
  • Trail
    Omni-Channel Routing Foundations

Related threads

  • Best pattern for handing off from Agentforce to a human agent mid-conversation?
    14 replies
  • Identity resolution rulesets — when to use deterministic vs. probabilistic?
    27 replies
  • Service Cloud Voice transcripts as Agentforce prompts — anyone tried it?
    6 replies