An Agent Is One More User
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Module 1 of 6 in the chapter Beyond the Record: Agents, chapter 20 of Securing Salesforce: Sharing and Visibility. Each module stands on its own.
The question this module answers: When an agent answers a question, whose access decides what it can find?
The newest people in the building
Section titled “The newest people in the building”Agents are the newest people in the building. And they come in the way everyone else does.
When I mapped every way into Salesforce for this course, I said it this way: the threshold is the granting. People, integrations and agents all get profiles and permission sets. How each one proves who it is differs. What it may do once it’s in is granted the same way. Chapter 3 module 7 built that idea: two questions for every agent, who does it run as, and who may use it.
This chapter takes those two questions into the file cabinets. Who the agent is, how it gets in and whose authority it carries belong to the Identity and Access course (Agents and Identity). Here, the question is the one this whole course asks: who can see what? For an agent, the answer is short. It sees what its user sees.
Who each agent runs as
Section titled “Who each agent runs as”Salesforce sets it out by agent type (Agent Execution Context and Data Access by Type (opens in a new tab), Salesforce Help, checked 2026-11-26):
| The agent | Runs as | Data access governed by |
|---|---|---|
| Employee agent, for people inside the company | The logged-in user | That user’s profile, permissions, field-level security and sharing rules |
| Lead Nurturing agent, emailing prospects | Its own agent user, EinsteinSDRAgent User | The agent user’s profile, permissions, field-level security and sharing rules |
| Service agent, for customers and partners | Its own agent user, EinsteinServiceAgent User | The agent user’s profile, permissions, field-level security and sharing rules |
| Service agent on a site, with credential-based user verification | The logged-in site user | That site user’s profile, permissions, field-level security and sharing rules |
Read the last column again. Every row is the same list: profile, permissions, field-level security, sharing rules. That’s chapters 3 to 19 of this course. Nothing about an agent replaces it. An agent never runs as nobody.
Put them on the landscape, and you can see where each one works. The employee agent sits on Salesforce itself, where employees already work. The Lead Nurturing agent works behind the scenes, on email. The service agents sit where customers and partners reach Salesforce: the communities, and messaging. Every one of them is inside the same org, running as one of its users.
Whatever its user can read, it can say
Section titled “Whatever its user can read, it can say”Here’s the one idea I want you to take from this module: the sharing model is the agent’s answer set. Whatever its user can read, the agent can find, summarize and put into an answer.
That cuts both ways.
For an employee agent, it’s good news. Salesforce says the person’s “profile, permission sets, and sharing rules/role determine the agent’s actions and responses,” and so “it’s not necessary to explicitly scope queries and actions to user-specific data” (same page). If the sharing model is right for the person, the agent can’t see more than they can. All the work you did in Part 2 protects the agent too.
For a service agent, it’s a warning. The customer talking to it isn’t the user it runs as. Salesforce’s words: “Without additional configuration, the customer has access to all of the records that the agent user has access to. You must proactively limit data access” (same page). And the reason it matters, from the agent user page: “if the agent has access to data it doesn’t need, the agent can expose proprietary information to customers” (Configure Service Agent Access (opens in a new tab), Salesforce Help, checked 2026-11-26). Module 2 sets up that user, and module 6 makes sure one customer never sees another’s records.
Two things an agent doesn’t care about:
- Your page layouts. An agent works through actions and the API, not your record page. So a field you only hid on the layout is a field the agent can read and repeat. Only field-level security and sharing count (chapter 4 module 3).
- How long it would take a person. A person runs one report and stops when the answer is on the screen. An agent asked a broad question reads everything its user can reach, in seconds, and puts the pieces together. The Data Architect course calls it “a very curious human with a lot of time on their hands” (Treat an Agent Like a Curious Human). A gap a person would never find, an agent finds on its first busy afternoon.
What this course has already told you to check
Section titled “What this course has already told you to check”Every chapter of this course ended with a note on what agents change. Put together, they’re the checklist for an agent’s user. Here’s what each chapter asked you to check (each chapter’s overview has the full note):
| Chapter | Check this for the agent’s user |
|---|---|
| 3, profiles and permission sets | A light profile for the door, its own permission set group, access that ends when the task is done |
| 4, objects and fields | Field-level security, not page layouts; whatever bleeds to a user bleeds to the agent |
| 5, the 25 ways | Which of the 25 ways opens each record it can find |
| 6, defaults and the hierarchy | Its role: high in the tree means every record below |
| 7, groups and criteria-based rules | Rules the Setup agent builds for you: read them before you accept them |
| 8, owner-based rules | A rule on the agent user’s records shares everything it creates |
| 9, manual shares, teams and territories | What the agent may share or reassign in one step |
| 10, overrides and implicit sharing | View All and Modify All at zero; what implicit sharing adds |
| 11, programmatic sharing | Sharing code an AI assistant wrote: ask the chapter’s review questions |
| 12, files and other data | Static dashboards, datasets and external objects that show one user’s access to everyone |
| 13, testing | The agent’s user as one more row in the test plan |
| 14 and 15, external users | The site user’s license, external defaults, sharing sets and share groups |
| 16, restriction rules | A real guardrail, if the action runs as the user |
| 17, secure code | Each action’s sharing keyword and mode |
| 18, encryption | Encryption doesn’t limit what the agent’s user can read |
| 19, monitoring | Its events, what’s normal for it, and who reads them |
No new mechanism. The same model, asked by a faster reader.
What an architect decides here
Section titled “What an architect decides here”- Who each agent runs as, written down beside the agent’s name.
- Whether that user’s access is right for every question the agent might be asked, not only the ones in the demo.
- For each service agent, how its answers are narrowed to the customer in front of it.
- Which chapter checks from the table above apply to this agent’s user, and who runs them.
Beyond the exam. The exam guide predates agents, so there’s no exam objective here. But everything in the table above is on the exam, for people. An agent just asks it all at once.
Explore
Section titled “Explore”- Agent Execution Context and Data Access by Type (opens in a new tab), Salesforce Help (checked 2026-11-26)
- Configure Service Agent Access (opens in a new tab), Salesforce Help (checked 2026-11-26)
- For who the agent is: Agents and Identity, Securing Salesforce: Identity and Access
- For the agent’s speed and reach: Treat an Agent Like a Curious Human, Data Architect
