Hoppa till innehåll

An Agent Is One More User

Det här innehållet är inte tillgängligt på ditt språk än.

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?

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.

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 agentRuns asData access governed by
Employee agent, for people inside the companyThe logged-in userThat user’s profile, permissions, field-level security and sharing rules
Lead Nurturing agent, emailing prospectsIts own agent user, EinsteinSDRAgent UserThe agent user’s profile, permissions, field-level security and sharing rules
Service agent, for customers and partnersIts own agent user, EinsteinServiceAgent UserThe agent user’s profile, permissions, field-level security and sharing rules
Service agent on a site, with credential-based user verificationThe logged-in site userThat 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.

Where the agents work Where the agents work, on the system landscape used across these courses. First, the whole landscape: internal users, partner users and customers on the left; Salesforce in the middle, with the Partner Community and the Customer Community below it; identity providers, the public website and an AppExchange app above; the integration layer and the internal systems on the right; email, web forms, phone and messaging below; data in and out at the bottom right. Then the agents appear, each as a violet tag on the system it works in. An employee agent on Salesforce, where employees work. A Lead Nurturing agent on email, behind the scenes, writing to prospects. Last, service agents on the Partner Community, the Customer Community and messaging, where partners and customers reach Salesforce. Footnote: each agent sits where its people meet Salesforce, and runs as a user of the org. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.60.0", "built": "2026-11-23", "id": "DGM-SVA-AG-02", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "system-landscape 0.14.0", "theme": "stevetecharc 1.5.0"} ABOVE: IDENTITY, APPEXCHANGE, WEB PEOPLE RIGHT: INTERNAL SYSTEMS BELOW: CUSTOMER CHANNELS BOTTOM RIGHT: DATA IN AND OUT Internal users sales, service, operations Partner users Customers Public website Employee IdP single sign-on Partner IdP single sign-on AppExchange app e-signature Partner Community Customer Community Data 360 near-core: managed on core, hosted off core INTEGRATION LAYER (ESB) ERP orders, invoices Finance payments Order management Warehouse analytics Email email-to-case Web forms web-to-lead Phone contact centre Messaging SMS, chat Archive old cases Data loads migration External data referenced, not copied Salesforce the org we design around Employee agent Lead Nurturing agent Service agent Service agent Service agent Salesforce a community people identity, apps, web an internal system a customer channel data in and out the integration layer dashed: not live yet, or referenced an agent: where it works Each agent sits where its people meet Salesforce, and runs as a user of the org. © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

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):

ChapterCheck this for the agent’s user
3, profiles and permission setsA light profile for the door, its own permission set group, access that ends when the task is done
4, objects and fieldsField-level security, not page layouts; whatever bleeds to a user bleeds to the agent
5, the 25 waysWhich of the 25 ways opens each record it can find
6, defaults and the hierarchyIts role: high in the tree means every record below
7, groups and criteria-based rulesRules the Setup agent builds for you: read them before you accept them
8, owner-based rulesA rule on the agent user’s records shares everything it creates
9, manual shares, teams and territoriesWhat the agent may share or reassign in one step
10, overrides and implicit sharingView All and Modify All at zero; what implicit sharing adds
11, programmatic sharingSharing code an AI assistant wrote: ask the chapter’s review questions
12, files and other dataStatic dashboards, datasets and external objects that show one user’s access to everyone
13, testingThe agent’s user as one more row in the test plan
14 and 15, external usersThe site user’s license, external defaults, sharing sets and share groups
16, restriction rulesA real guardrail, if the action runs as the user
17, secure codeEach action’s sharing keyword and mode
18, encryptionEncryption doesn’t limit what the agent’s user can read
19, monitoringIts events, what’s normal for it, and who reads them

No new mechanism. The same model, asked by a faster reader.

An agent is one more user An agent is one more user. A question comes to an agent, for example "every customer in the West, with phone numbers." The agent runs as someone, never nobody: its running user, which is the person for an employee agent, the agent user for a service or Lead Nurturing agent, or the site user on a site. That user's grants open three things, each taught earlier in the course: objects and fields, through permission sets and field-level security, chapters 3 and 4; records, through the role, the org-wide defaults and sharing, Part 2; and files, reports and Knowledge, chapter 12 and Part 3. The answer is anything that user can read, found in seconds. Footnote: whatever its user can read, it can say. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.59.0", "built": "2026-11-23", "id": "DGM-SVA-AG-01", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "cells 0.5.0", "theme": "stevetecharc 1.5.0"} THE AGENT WHAT ANSWERS IT WHAT THE USER'S GRANTS OPEN THE AGENT WHAT ANSWERS IT A question "every customer in the West, with phone numbers" The agent runs as someone, never nobody Its running user the person, the agent user, or the site user The answer anything that user can read, found in seconds Objects and fields permission sets, field-level security: chapters 3, 4 Records the role, org-wide defaults, sharing: Part 2 Files, reports, Knowledge chapter 12 and Part 3 objects, fields records the rest asked runs as can say Whatever its user can read, it can say. HOW TO READ IT whatever its user can read © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge
  • 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.