For Salesforce practitioners building AI agents. This credential validates that you can design, build, ground, test, and deploy agents on the platform — and that you understand the reasoning engine, trust architecture, and data plumbing underneath them.
The Agentforce Specialist credential sits at the center of Salesforce's AI strategy: Agentforce agents that plan and act autonomously, Prompt Builder templates that generate grounded content, and Data Cloud retrieval that feeds both with enterprise knowledge.
This is a practitioner exam, not a trivia exam. Most questions describe a business scenario — a service team drowning in password-reset cases, a sales leader who wants outreach emails grounded in opportunity data, an agent that keeps picking the wrong topic — and ask you to choose the right building block: the right agent type, the right action type, the right grounding technique, the right retriever, the right test approach. Salesforce recommends hands-on experience with Agentforce and Prompt Builder, and the exam rewards people who have actually watched an agent's reasoning plan unfold in Agent Builder rather than only read about it.
The exam outline was refreshed for the current cycle (current as of July 2026): it now leads with a heavyweight AI Agents domain (35%), gives equal 20% weight to Prompt Engineering, Data Cloud for Agentforce, and Development Lifecycle, and adds a new 5% domain on Multi-Agent Interoperability covering MCP and the Agent API. If you studied from older materials organized around "Prompt Engineering 30% / Agentforce Concepts 30%," recalibrate — this guide follows the current outline exactly.
| Exam Fact | Detail |
|---|---|
| Questions | 65 total (60 scored + 5 unscored) |
| Duration | 105 minutes |
| Passing score | 73% |
| Cost | $200 USD ($100 retake) as of July 2026 |
| Question formats | Multiple choice and multiple select |
| Prerequisites | None (Salesforce recommends AI Associate-level knowledge) |
| Delivery | Onsite proctored or online proctored |
| Maintenance | Annual Trailhead maintenance module |
With 60 scored questions in 105 minutes you have about 1 minute 45 seconds per question — comfortable, as Salesforce exams go, but the multiple-select items ("choose 2" / "choose 3") punish shallow knowledge because every option must be judged independently.
The guide is organized into five Parts that map one-to-one onto the five official exam domains, in official order and weight. Every topic cluster in the current exam outline gets its own teaching section — nothing is skipped. Study Part 1 hardest: at 35% it contributes roughly 21 scored questions, more than double any other domain.
Four callout types flag material worth extra attention:
Patterns the exam repeatedly tests, and the traps hidden in plausible-looking wrong answers.
The single idea to retain from a section even if you forget the details.
Compact rules and mnemonics for fast recall under time pressure.
Nuance, edge cases, and scope boundaries.
Suggested plan: Read Parts 1–5 in order. In a Trailhead playground or Developer Edition org with Agentforce enabled, build one agent with a custom topic and a Flow action, one Flex prompt template grounded with a retriever, and run one Testing Center batch. In your final 48 hours, re-read only the callouts, the tables, and the Exam-Day Checklist.
This domain covers what agents are, when to use them, how the Atlas Reasoning Engine plans, how topics and actions define agent behavior, and how the Einstein Trust Layer, security model, channels, and escalation paths keep agents safe and useful. It is the exam's core.
The exam expects you to distinguish three generations of conversational AI and pick the right one for a scenario:
A scenario is a good agent use case when it involves natural-language input, variable multi-step resolution paths, access to business data, and actions that can be safely automated (order status, appointment scheduling, case deflection, lead qualification). It is a poor use case when the task demands guaranteed deterministic behavior, judgment calls with legal or high-stakes consequences, or pure emotional-intelligence work — those belong to humans or rigid automation.
When a scenario says "the process is identical every time and must never vary," the answer is a Flow or an Einstein Bot dialog — not an agent. Agents earn their keep when the path to resolution is unpredictable but the guardrails are clear.
Salesforce ships standard (out-of-the-box) agent types, each with pre-built topics and actions for a job-to-be-done. Know them cold:
| Agent Type | Audience | Purpose | Signature Capabilities |
|---|---|---|---|
| Agentforce (Employee Agent) | Internal employees | General-purpose assistant inside Salesforce (formerly Einstein Copilot) | Answers questions, summarizes records, drafts content, runs actions on CRM data as the logged-in user |
| Agentforce Service Agent | External customers | Autonomous customer service and case deflection | Grounded answers from Knowledge, order/case lookups, escalation to human reps, 24/7 multi-channel |
| Agentforce Sales Development Rep (SDR) | Prospects (outbound) | Autonomous inbound-lead nurturing and outreach | Answers product questions, handles objections, books meetings for sellers, works leads day and night |
| Agentforce Sales Coach | Internal sellers | Role-play and coaching | Simulates a buyer for pitch practice, gives objective feedback grounded in the actual deal's data |
Two distinctions the exam loves:
Coach = internal practice partner. SDR = external lead-toucher. Service = external issue-resolver. Employee = internal do-everything assistant.
The Atlas Reasoning Engine is the "brain" of every Agentforce agent. Instead of matching keywords to a dialog tree, Atlas runs an agentic loop:
This loop is why authoring quality matters so much: Atlas can only classify into topics whose descriptions are distinctive, and can only build good plans from actions whose descriptions and input/output labels clearly say what they do.
Atlas does two selection jobs — first it picks a topic using classification descriptions, then it picks and sequences actions within that topic using instructions and action descriptions. Most "the agent did the wrong thing" exam scenarios are fixed by improving one of those two layers of natural-language metadata, not by writing code.
A topic is a category of work the agent can perform — "Order Management," "Reservation Changes," "General FAQ." Every topic has:
Standard topics ship with standard agent types (e.g., Service Agent's FAQ topic) and give you working behavior out of the box. Custom topics are ones you author for your own use cases; you can also create topics from existing actions or modify copies of standard topics. When an utterance matches nothing, agents fall back to off-topic handling and either ask for clarification or decline.
"The agent keeps routing 'cancel my order' utterances to the Returns topic instead of Order Management — what do you fix?" Answer: the classification descriptions of the two topics, making each unambiguous and mutually exclusive. Not the LLM, not the channel, not Apex.
Actions are how agents actually do things. Every action has a description, input parameters, and outputs — all with natural-language labels that Atlas reads when planning. Four custom action types dominate the exam:
| Action Type | Built From | Best For | Notes |
|---|---|---|---|
| Flow | Autolaunched Flow | Declarative business logic, CRUD on records, calling subflows | Admin-friendly; input/output variables become action inputs/outputs |
| Apex | Invocable Apex method (@InvocableMethod) | Complex logic, callouts, anything Flow can't express | @InvocableVariable fields map to action parameters |
| Prompt Template | Prompt Builder template (usually Flex) | Generating grounded text — summaries, answers, drafts | Combines retrieval/grounding with generation inside the action |
| API / External Service | External Services registration (OpenAPI spec), MuleSoft, standard platform APIs | Reaching systems outside Salesforce | Schema-based; exposes external operations as invocable actions |
Standard actions (like "Answer Questions with Knowledge" on a Service Agent, or record summarization on the Employee Agent) come pre-built; you assign them to topics rather than build them.
Match the scenario to the lightest tool that works. Declarative record update → Flow action. Callout with complex transformation → Apex action. "Generate a summary / draft a reply grounded in CRM data" → prompt template action. "Check inventory in the legacy ERP" → External Services / API action.
One point that trips up newcomers: action descriptions and parameter instructions are functional, not documentation. Atlas literally uses them to decide when to call the action and how to fill its inputs. A vague description like "Runs the flow" degrades planning quality just as surely as a bug in the Flow itself.
Agents carry variables through a session, and you use them to manage behavior:
This is how you build multi-turn logic without a dialog tree: verify once, store the result in a variable, and let instructions gate later actions on it.
Autonomous, customer-facing agents do not run as the customer — they run as a dedicated Agent User (a special user record provisioned with the agent). Everything the agent can see and do flows from that user's access:
Order object, no amount of prompting will surface order data.Agentforce inherits the platform security model rather than replacing it. Customer-facing agents act as the Agent User (govern it with permission sets, least privilege); the Employee Agent acts as the logged-in user. "The agent can't find the record" is very often a permissions question, not a prompting question.
Every LLM interaction in Agentforce and Prompt Builder passes through the Einstein Trust Layer, a set of guardrails between Salesforce and the model providers:
Know what the Trust Layer does not do. It does not bypass Salesforce permissions (grounding still respects FLS and sharing), it does not make the LLM deterministic, and masking is about protecting data in transit to the provider — the end user still sees unmasked, real data in the response.
Agents are deployed to channels, and the exam tests which channel fits which scenario:
One agent, many channels: the same topics and actions serve every deployment, but session context variables differ by channel.
No customer-facing agent design is complete without a hand-off path. The standard pattern for a Service Agent:
Design guidance the exam rewards: escalate early and gracefully rather than letting the agent flounder; write topic instructions that define escalation triggers explicitly; and measure escalation rate as a key agent KPI. Deflection is the goal, escalation is the safety net — an agent with no escalation path is an exam wrong-answer for any customer-facing scenario.
Out of the box, a Service Agent answers questions using Salesforce Knowledge: the standard "Answer Questions with Knowledge" action retrieves relevant published articles and the LLM composes a grounded reply, instead of answering from the model's training data. Requirements to remember: Knowledge must be enabled with published articles, the Agent User needs access to them (data category visibility and object permissions apply), and for semantic retrieval at scale the articles are indexed into Data Cloud via a Data Library (Part 3 covers the machinery). Grounded answers cite what they used, dramatically reducing hallucination — the exam's answer for "the agent invents policy details" is ground it in Knowledge, not switch the model.
"Guardrails" on this exam is an umbrella for every layer that constrains an agent:
Deterministic guardrails (available actions, permissions) are stronger than probabilistic ones (instructions). When an exam scenario demands that an agent must never be able to do something, remove the capability or the permission — don't merely instruct against it.
This domain covers Prompt Builder: when to reach for it, the four template types, how templates are grounded, secured, tested, and invoked, and how the Trust Layer and model selection shape results.
Prompt Builder is the low-code tool for creating reusable, grounded, versioned prompt templates — parameterized prompts that merge CRM data at runtime and send the result through the Trust Layer to an LLM. Use it when the job is generate text from business data in a repeatable way: draft a sales email, summarize a record, fill a field, answer from knowledge. Choose Prompt Builder over ad-hoc prompting because templates are reusable (write once, invoke from many surfaces), grounded (merge fields pull live, permission-checked data), governed (Trust Layer, versioning, activation), and embeddable (Flows, Apex, agent actions, Lightning pages). Choose an agent instead when the job needs multi-step planning and actions; a prompt template is a single generation step — and, tellingly, prompt templates are themselves one of the action types agents call.
| Template Type | Purpose | Anchor Object(s) | Typical Surface |
|---|---|---|---|
| Sales Email | Personalized outreach/follow-up emails | Recipient (Contact/Lead) + optional related object | Email composer in Sales Cloud |
| Field Generation | Generate the value of one specific field | The record's object | Property field on a record (Einstein sparkle icon in Lightning) |
| Record Summary | Summarize a record and its related data | The record's object | Einstein Copilot / Employee Agent record summarization |
| Flex | Anything — you define up to five resource inputs | Any objects you choose | Flows, Apex, agent actions, Lightning pages |
Scenario says "generate a value for the Description field that users trigger from the record page" → Field Generation. "Custom generation with two different record inputs, invoked from a Flow" → Flex. "Personalized email to a contact about an opportunity" → Sales Email. Don't overthink it — the template type is determined by the surface and input shape.
Building and running templates are separate privileges:
Provisioning also matters: Einstein generative AI must be enabled in Setup, and Prompt Builder requires the Einstein for Sales/Service or Foundations licensing that carries generative AI credits. A scenario about "the button doesn't appear" is often a missing permission set, not a broken template.
Grounding is how a template gets facts. From simplest to most powerful:
{!$Input:Contact.Name} style references pull fields from the template's input records.Grounding order of preference mirrors the platform's usual guidance: merge fields and related lists if the data is on or near the record; Flow when you need declarative queries or logic; Apex when Flow can't express it; Data Cloud retrievers when the answer lives in unstructured content that needs semantic search.
An activated template can be executed from:
ConnectApi.EinsteinLLM methods, for programmatic generation inside triggers-adjacent logic or services.The exam tests prompt craft at a practical level:
When output quality is poor, check in this order: (1) is the right data actually in the resolved prompt? (2) are the instructions specific about format and scope? (3) is the model the right choice for the task? Grounding problems masquerade as "bad model" problems constantly.
Prompt Builder lets each template choose its LLM from the models available through the Einstein Trust Layer gateway — Salesforce-managed standard models (OpenAI GPT family, Anthropic Claude, Google Gemini) and, via Bring Your Own LLM (BYOLLM) through Einstein Studio, models you connect from your own provider accounts. The Model Playground (in Einstein Studio) is where you compare models side by side and tune generation parameters — temperature (randomness/creativity), frequency and presence penalties — against sample prompts before committing a template to a model. Practical guidance the exam mirrors: use lighter/faster models for simple structured tasks, stronger models for nuanced generation; lower temperature for factual, grounded outputs; and validate any model switch by re-previewing your templates, because prompt behavior is model-specific.
Everything from Part 1's Trust Layer section applies to Prompt Builder, with template-specific consequences you can see:
This domain is the retrieval layer: how unstructured knowledge gets into Data Cloud, chunked, indexed, and searched, and how retrievers feed grounded, cited answers into prompt templates and agents — the platform's RAG (Retrieval-Augmented Generation) architecture.
The Agentforce Data Library is the managed, low-setup path to RAG. Creating a Data Library automatically provisions the Data Cloud plumbing — data streams, a search index, and a default retriever — so an admin can go from content to grounded answers without hand-building pipelines. Supported source types:
Once created, the library is attached to an agent (grounding the "Answer Questions with Knowledge"-style actions) or referenced from prompt templates. For sources or pipelines beyond what libraries support, you can build custom Data Cloud ingestion (data streams → DLO/DMO → search index) manually — the library is a convenience wrapper over the same machinery.
"Fastest / least-effort way to ground an agent on Knowledge articles or a set of PDFs" → create a Data Library. Answers that involve manually configuring data streams, chunking, and vector indexes are for custom scenarios, not the default path.
LLMs can't search a 40-page PDF directly, so ingestion breaks content down:
| Search Type | How It Matches | Strengths | Weaknesses |
|---|---|---|---|
| Keyword | Exact/lexical term matching over indexed text | Precise for IDs, SKUs, error codes, exact names, rare jargon | Misses synonyms and paraphrases ("cancel" vs "terminate") |
| Vector (semantic) | Similarity between query embedding and chunk embeddings | Finds meaning-alike content regardless of wording | Can miss exact literal strings; quality depends on embeddings |
| Hybrid | Combines keyword and vector signals in one query | Best of both — recommended for most knowledge bases | Slightly more index configuration/cost |
Error code "XJ-4400" in the query → keyword shines. "How do I stop my subscription?" against articles that say "cancel your plan" → vector shines. Mixed real-world queries → hybrid is the default recommendation.
A retriever is the query-time component that takes the user's question, searches an index, and returns the top-matching chunks for grounding:
The end-to-end RAG pattern on the platform:
This is the canonical fix for hallucination on knowledge questions: the model stops answering from its training data and starts answering from your indexed, current, permission-governed content. In Prompt Builder, previewing the template shows the retrieved chunks in the resolved prompt, so you can verify retrieval quality separately from generation quality.
RAG = retriever finds the right chunks, template instructs the model to answer only from them. When answers are wrong, first check what was retrieved (a retrieval problem) before rewriting the prompt (a generation problem). Two different failure modes, two different fixes.
Not all Data Cloud grounding is unstructured RAG. Templates and agents can also ground on structured Data Cloud data — harmonized Data Model Objects (DMOs), including unified profiles and calculated insights — merging, say, a customer's engagement history or lifetime value into a prompt. So you have two Data Cloud grounding lanes: DMO merge grounding for structured, harmonized facts, and retriever grounding for semantic search over unstructured content. Many rich templates use both: retriever chunks for policy knowledge plus DMO fields for customer specifics.
When retrieval quality disappoints, tune the retriever rather than the prompt:
Access control follows the platform pattern: Data Cloud has its own permission sets (admin vs. user-level access to Data Cloud features, libraries, and indexes), and the identities that run retrieval — the Agent User for customer-facing agents, the running user for templates — need rights to the Data Cloud assets involved. Knowledge grounding additionally respects article publication status and data-category visibility. The recurring exam pattern: grounded answers work for the admin but fail for end users → a permissions gap on the Agent User or the running user, not a retrieval bug.
This domain covers how you test agents before launch, trace and debug their reasoning, move them from sandbox to production, and monitor them after go-live.
The Agentforce Testing Center is the purpose-built tool for evaluating non-deterministic agents at scale:
"Validate that the agent selects the correct topic for 200 different customer phrasings before launch" → Testing Center batch tests, not manual conversation preview, not Apex tests. Apex/Flow unit tests still validate the actions' logic; Testing Center validates the agent's reasoning.
Inside Agent Builder, the conversation preview panel lets you chat with the (even inactive) agent and — critically — inspect its plan trace for each turn: which topic Atlas classified the utterance into, which actions it selected, the inputs it passed, the outputs actions returned, and how the final response was assembled. This is your step-through debugger:
Preview + plan tracing answers why the agent did what it did on one utterance; Testing Center answers how often it does the right thing across many. You need both, and the exam distinguishes them sharply.
A systematic triage the exam expects you to reproduce:
Evaluate responses against grounding faithfulness, completeness, safety, and tone — and use real transcripts (see analytics below) to source failure cases for new tests.
Agents, prompt templates, and their dependencies are metadata, and they move through the standard Salesforce ALM toolchain:
| Asset | Moves As | Watch Out For |
|---|---|---|
| Agent (topics, actions config) | Bot/GenAi metadata types (e.g., GenAiPlanner, GenAiPlugin for topics, GenAiFunction for actions) | Deploy the full dependency set together |
| Prompt templates | GenAiPromptTemplate metadata | Re-verify model availability and grounding in target org |
| Flows / Apex behind actions | Flow, ApexClass | Must deploy before/with the agent that references them |
| Permission sets (Agent User etc.) | PermissionSet | Assign to the target org's Agent User post-deploy |
| Data Cloud libraries, indexes, retrievers | Configured/provisioned per org | Not simple change-set metadata — plan to reconfigure and re-ingest in production |
| Channel deployments (MIAW, Experience site) | Org-specific configuration | Endpoints and deployments are re-created per environment |
Vehicles: change sets (declarative, org-to-org), Metadata API / SFDX (source-driven), and DevOps Center for pipeline-managed promotion with source control. Best practice is source-driven: build and test in a sandbox, retrieve agent + template metadata into version control, deploy through stages, then perform post-deploy steps — activate the agent, assign permission sets, connect channels, rebuild/point Data Libraries, and re-run a Testing Center batch in production-like conditions.
Agents deploy inactive, and environment-specific pieces — Agent User setup, messaging deployments, Data Cloud ingestion — are post-deployment configuration, not metadata magic. An exam answer that claims a change set alone yields a fully live production agent is wrong.
Post-launch, Agentforce ships analytics to close the loop:
Aggregates tell you that something is off; session and utterance analysis tells you where:
The lifecycle is a loop, not a line: Build (Agent Builder) → Debug (preview + plan trace) → Test (Testing Center batches) → Deploy (metadata, inactive) → Activate → Monitor (analytics, transcripts, feedback) → back to Build.
The smallest domain — roughly three scored questions — covering how agents talk to other systems and other agents: MCP, agent-to-agent patterns, and the Agent API.
The Model Context Protocol is an open standard that gives AI agents a uniform way to discover and call external tools, resources, and prompts exposed by MCP servers — think "USB-C for agent integrations." Instead of hand-building a bespoke connector (custom Apex callout + External Service schema) for every system, an agent acting as an MCP client can connect to any compliant MCP server and use its published tools, with the protocol handling discovery and invocation semantics. In the Salesforce context, MCP support lets Agentforce agents consume tools from third-party and internal MCP servers — governed, with admin control over which servers and tools are allowed — and lets Salesforce capabilities be exposed to external MCP-speaking agents.
When to use MCP: the capability lives outside Salesforce, is (or can be) exposed via an MCP server, and you want standards-based, reusable, discoverable integration rather than one-off API wiring — especially when multiple agents or vendors are involved. When not to: the logic lives inside Salesforce (use Flow/Apex actions) or it's a single simple REST endpoint you control (an External Services action is fine).
MCP standardizes agent-to-tool connections. It is not a chat protocol between agents and not a replacement for the Agent API. "Connect the agent to many external systems through one open standard" → MCP. "Let our mobile app converse with our agent" → Agent API.
As organizations deploy multiple specialized agents, the exam expects recognition of the core patterns:
Design rationale to remember: multiple narrow agents beat one mega-agent because topic classification accuracy degrades as one agent's topic count and overlap grow.
The Agent API is a REST API for conversing with an Agentforce agent programmatically — start a session, send messages (synchronously or streaming), receive the agent's responses, end the session — authenticated via a Connected App (OAuth client credentials). Reach for it when:
Standard channels handle the mainstream cases with zero code; the Agent API is the programmatic escape hatch.
Pulling the domain together, you have four integration directions to keep straight: (1) Agent → external system, bespoke: External Services/API and Apex actions. (2) Agent → external tools, standards-based: MCP client connecting to MCP servers. (3) Outside world → your agent: Agent API (custom UIs, headless callers, external agents). (4) Agent ↔ agent: orchestration and handoff patterns built on those same rails. Governance applies across all four — admin-controlled allowlists for MCP servers/tools, OAuth scopes for the Agent API, and the same Trust Layer and Agent User permission boundaries no matter who or what is on the other end of the conversation.
For the 5% domain, three crisp definitions earn the points: MCP = open standard for agents to use external tools; Agent API = REST interface for external parties to converse with your agent; multi-agent patterns = orchestrator, handoff, agent-as-tool. Map the scenario's direction of the call to the right mechanism.
Run through this in your final 48 hours — every line is a tested fact or pattern.
Logistics
AI Agents (35%)
@InvocableMethod (complex/callouts), prompt template (generate grounded text), API/External Services (outside systems).Prompt Engineering (20%)
ConnectApi.EinsteinLLM), agent actions, Lightning pages, REST.Data Cloud for Agentforce (20%)
Development Lifecycle (20%)
GenAiPromptTemplate, planner/plugin/function types) via change sets, SFDX, or DevOps Center; agents arrive inactive; Data Cloud assets and channel deployments are per-org post-deploy configuration.Multi-Agent Interoperability (5%)
Good luck — study the callouts, build the agent, trust the plan trace.