Salta ai contenuti

Beyond the Record: Agents

Questi contenuti non sono ancora disponibili nella tua lingua.

Chapter 20 of Securing Salesforce: Sharing and Visibility, Part 3: Beyond the Company and Beyond the Record. New to the course? Start with chapter 1.

Agents are the newest people in the building. They come in the way everyone else does: as a user, with a profile and permission sets, into the same file cabinets. Nothing about an agent replaces the sharing model this course has built. It just asks the model everything at once, in plain language, faster than any person would.

So this chapter asks the two questions every agent raises, the ones chapter 3 started: who does it run as, and who may use it? Then it follows the agent’s work into the places where sharing can quietly stop applying: its actions, the apps that reach in from outside, and the customer who shares one agent user with every other customer.

  • An agent is one more user. Every agent runs as someone: the person, its own agent user, or the site user. Never nobody.
  • Whatever its user can read, it can say. The sharing model is the agent’s answer set. Page layouts don’t count; field-level security and sharing do.
  • The agent user is an internal user. A service agent talks to the outside, but reads with the internal org-wide defaults. Give it a role of its own and only what its actions need. Never a System Administrator.
  • Who may use it is a grant too. Agent Access by permission set; on a site, never the shared profile; for a service agent, the channel is the gate.
  • Who may change every agent is a bigger grant. Treat Manage AI Agents like View All: few, named, reviewed.
  • Actions run past sharing unless you say so. Flows, Apex and prompt templates each have a run context. Find the one that reads past its user.
  • Outside agents come in as a person. MCP and Headless 360 give an outside app that person’s whole access, in bulk. Narrow who connects and what the tools reach.
  • Knowing who it is isn’t a boundary. One agent user serves every customer, so every action scopes to the verified customer, and the tests prove it.

Here’s where the chapter starts: the agents on the landscape these courses share, each where its people meet Salesforce.

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

And the surprise most teams meet first: the agent user reads with the inside defaults.

The agent user is an internal user The agent user is an internal user. A customer, outside the org and often not logged in, talks to a service agent. The agent runs as its agent user, EinsteinServiceAgent User, an internal user created with minimal access. Its access comes from three grants. Permission sets: the objects and fields its actions touch, read-only where it can. A role of its own: low in the tree, with nothing under it, so it sees only the records opened to it. And the internal org-wide defaults, which apply to it: if accounts are Public Read Only inside, the agent can read every account. The external defaults, set for people from outside, never apply to the agent user. Footnote: it talks to the outside, but it reads with the inside defaults. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.59.0", "built": "2026-11-23", "id": "DGM-SVA-AG-03", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "cells 0.5.0", "theme": "stevetecharc 1.5.0"} OUTSIDE INSIDE THE ORG WHAT THE AGENT USER'S ACCESS COMES FROM OUTSIDE INSIDE THE ORG A customer outside, often not logged in Service agent answers on the site or in chat The agent user EinsteinServiceAgent User: internal, minimal access External defaults set for people from outside Permission sets the objects and fields its actions touch; read-only where it can A role of its own low in the tree, nothing under it Internal defaults they apply: Public Read Only means every record objects, fields records the baseline asks runs as never applied It talks to the outside, but it reads with the inside defaults. HOW TO READ IT the default that surprises people © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

Six modules, each standing on its own.

  1. An Agent Is One More User. Who each agent runs as, in Salesforce’s table; whatever its user can read, it can say; the agents on the landscape; what every chapter of this course already told you to check.
  2. The Agent User Is an Internal User, So Give It Only What Its Job Needs. What Salesforce creates; objects and fields from its actions; a role of its own; the internal defaults; never a System Administrator.
  3. Who May Use the Agent, and Who Manages Them All. Agent Access; sites on a permission set; the default agent; the channel as a service agent’s gate; Manage AI Agents.
  4. Actions Run Past Sharing Unless You Say So. Flows, where two contexts apply; Apex keywords and user mode; prompt templates grounding as the user; the gap to look for.
  5. MCP and Headless 360 Let Agents From Outside In, as a User. Every capability, for any authenticated caller; the person’s whole access; narrowing what it can reach; the API logs.
  6. Testing That an Agent Never Reveals Another Customer’s Data. Context variables aren’t a boundary; scope every action to the verified customer; the positive, the negative and the null; the Recipient’s tracking page.

Then check what stuck with the study guide.

  • Who each agent runs as, written down beside its name, and whether that user’s access is right for every question it might be asked.
  • The agent user’s grants: the permission sets from its actions, a role of its own, and the internal defaults it now answers to.
  • Who may use each agent, through which permission set, and where each service agent is placed.
  • Who may change every agent, and when that short list is reviewed.
  • Each action’s run context, with a written reason for every one that reads past its user.
  • Which outside apps may connect, and the narrowest tool for each job.
  • How each service agent narrows to one customer, and the tests that prove it, before go-live and after every action change.

Beyond the exam: what AI changes. This whole chapter is the AI change. The exam guide predates agents. But every mechanism here, the defaults, the hierarchy, sharing, permission sets, run context, is on the exam, for people. An agent is the same model, asked by a faster reader.

Each module lists its own sources. Two to start with:

Next: Data 360 Access: Data Spaces and Policies (coming soon)