MockCertMockCert
Menu

Test yourself in exam conditions

A full Salesforce Certified Agentforce Specialist mock exam: 60 questions in 105 minutes, scored against the real exam's pass mark. Your first one is free.

Start a free mock exam
Domain 3 · 8 topics · about 46 minTopics in this domainTopics

Domain 3 · Overview

Overview

What this domain covers

  1. Topic 1 of 8 · 10 steps + check · 6 minExplain how an agent works and its basic building blocks of agent script.Subagents organize the work · Routing to a subagent · Script logic and natural language · Instructions versus reasoning actions · and 3 more
  2. Topic 2 of 8 · 10 steps + check · 6 minExplain the components and benefits of hybrid reasoning, including how Agent Script functions in Canvas and Script View.Why hybrid reasoning exists · How Atlas keeps paths predictable · Deterministic first, then the LLM · Variables hold state reliably · and 3 more
  3. Topic 3 of 8 · 11 steps + check · 6 minGiven a use case, manage deterministic behavior for the agent using mechanisms like filters, variables, and template expressions.Filters versus instructions · How a filter is built · Filters for authentication · Three kinds of variables · and 4 more
  4. Topic 4 of 8 · 10 steps + check · 6 minGiven a scenario, select and configure standard topics, custom topics, standard Agent actions, and custom Agent actions.Topics are now subagents · Standard versus custom subagents · Copies do not sync · How a subagent gets picked · and 3 more
  5. Topic 5 of 8 · 8 steps + check · 5 minExplain the process for connecting agents to various channels such as digital experience, email, voice, and Slack.Channels belong to the agent · What creates a new version · Different behavior per channel · Monitoring the voice channel · and 1 more
  6. Topic 6 of 8 · 10 steps + check · 6 minExplain the security context in which the agent is actually running, and how it impacts agent action execution.Two security contexts · Flows that call an agent · Permissions actions need · Who can talk to an agent · and 3 more
  7. Topic 7 of 8 · 8 steps + check · 5 minGiven a scenario, identify when to use an Employee or Service agent.Audience decides the type · Whose permissions apply · Channels each type supports · Service agent conversation rules · and 1 more
  8. Topic 8 of 8 · 8 steps + check · 5 minGiven a scenario, identify when it's appropriate to use Agent API.Standard channels come first · Rich responses on channels · Calling an agent from code · Working without Builder · and 1 more

Up next: Explain how an agent works and its basic building blocks of agent script. · 10 steps + check · 6 min

Domain 3 · Topic 1 of 8

Explain how an agent works and its basic building blocks of agent script.

Step 1 of 10

Think first How do subagents, actions and Agent Script work together so an agent behaves both flexibly and predictably?

Why it matters: Questions describe an agent's behavior or a build goal and ask which building block or script element controls it.

An agent is built from subagents, each a job to be done with its own actions and instructions. Agent Script adds rules that always run the same way. Natural language guides the flexible parts.

Step 2 of 10

Term Meaning
Subagent A category of actions for one job to be done, with instructions; formerly called a topic.
Agent Router A special subagent that uses each subagent's name and description to pick which one to use.
Reasoning actions The actions and utilities the LLM may choose from while it reasons.
Transition A utility or script step that moves the conversation to another subagent.
Resource A reference to a subagent, action or variable that resolves like a merge field in instructions.

Step 3 of 10

Each subagent covers one job to be done. Its parts are a name, a description, reasoning instructions, reasoning actions and agent actions. Since April 2026, topics are called subagents, with no change in how they work.

Step 4 of 10

The Agent Router picks a subagent by name and description. That is the default, and you can customize routing. Filters add conditions, so a subagent or action is only available when they are met.

Exam trap A vague subagent description is not harmless. By default, the name and description are what the Agent Router uses to choose it.

Step 5 of 10

Agent Script fixes the rules; prompts guide the conversation. Expressions set if/else conditions, variables and transitions. Before reasoning starts, each condition is evaluated against variable values, so only matching instructions reach the prompt. Branches are checked in order, and the first match wins.

Step 6 of 10

Where you place an action decides when it runs. Put it in reasoning instructions to run it deterministically, before reasoning. Put it in reasoning actions to let the LLM choose it. Follow-up actions are steps the agent takes after it runs an action during reasoning.

An action placed in reasoning instructions or in reasoning actions

Feature Reasoning instructions Reasoning actions
When the action runs Deterministically, before any reasoning When the LLM selects it during reasoning
Inputs and outputs You set the variables manually Follow-up actions (steps after it runs) can save outputs to variables
Where a new action goes Not added by default Added by default, with its action definition

Exam trap Setting a variable after a handoff transition fails. Anything in the script after a transition is skipped.

Step 7 of 10

Use standard actions for common tasks, custom ones for your own. Reasoning actions also include utilities: transitions, setting variables and escalation to a representative. Follow-up actions can save outputs, switch subagents or run another action. Escalation needs a Messaging or Enhanced Chat v2 connection.

Step 8 of 10

Action definitions show in Script view, not in Canvas view. In Canvas view, type @ to insert resources. Errors made in Script view can block Canvas view until you fix them. You can commit an agent with warnings, but not with errors.

Step 9 of 10

Orchestrators hand off by default, or can supervise. In the start_agent agent_router section, connected agents act as tools you can call with conditions. A chained agent gets context only through its inputs block.

Handoff mode and supervisor mode compared

Feature Handoff mode Supervisor mode
Default? Yes No
Who talks to the user The connected subagent, after the handoff Only the orchestrator agent
Orchestrator's role Passes control to the subagent Delegates, gathers and combines responses

Step 10 of 10

  • Subagents (formerly topics) group the actions and instructions for one job.
  • Conditions in Agent Script are evaluated before reasoning, so only matching instructions reach the LLM.
  • Reasoning instructions run actions deterministically; reasoning actions let the LLM choose.
  • Script after a transition is skipped.
  • Handoff is the default orchestration mode; supervisor mode keeps the orchestrator in charge.

Sources: The Building Blocks of Agents | Salesforce Help (opens in a new tab) · Subagents | Salesforce Help (opens in a new tab) · Building Agents in Canvas View | Salesforce Help (opens in a new tab) · Agent Script | Salesforce Help (opens in a new tab) · Example: More Reliable Agent Instructions with Agent Script | Salesforce Help (opens in a new tab) · Agent Script in Multi-Agent Solutions | Salesforce Help (opens in a new tab)

Check

Check: Explain how an agent works and its basic building blocks of agent script.

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Explain the components and benefits of hybrid reasoning, including how Agent Script functions in Canvas and Script View. · 10 steps + check · 6 min

Domain 3 · Topic 2 of 8

Explain the components and benefits of hybrid reasoning, including how Agent Script functions in Canvas and Script View.

Step 1 of 10

Think first Which parts of an agent's behavior should be left to the LLM, and which should be fixed in script, and why does mixing them help?

Why it matters: Questions describe an agent's workflow and ask what hybrid reasoning, Agent Script, Canvas view or Script view does in it.

Hybrid reasoning mixes programmatic expressions with natural language instructions. The Atlas engine runs the deterministic parts first, then hands the LLM only the instructions that apply. You write it all in Agent Script, through Canvas view or Script view.

Step 2 of 10

Term Meaning
Hybrid reasoning Combining programmatic expressions with natural language, for both control and LLM flexibility.
Agent Script The language for building agents in Agentforce Builder, in any view.
Atlas reasoning engine A graph-based engine that works like a flowchart of nodes, variables and transitions.
Canvas view A view that summarizes Agent Script into blocks you can expand.
Script view A view for writing Agent Script directly, with highlighting, autocompletion and validation.

Step 3 of 10

Natural-language-only instructions grew large and inconsistent. In the legacy builder, big prompts could exceed LLM context windows and were often applied unevenly. The whole prompt went to the LLM every turn. Hybrid reasoning keeps LLM flexibility but adds enterprise predictability.

Step 4 of 10

Atlas separates the big-picture workflow from conversational skills. It works like a flowchart, so agents follow specific, predictable paths. Natural language handles conversation, while programmatic expressions handle business rules.

Step 5 of 10

Reasoning instructions resolve in order, with no LLM at that stage. Conditionals are evaluated from variable values before reasoning begins. Only the instructions that apply go into the prompt. That improves instruction adherence and reduces latency.

Exam trap The LLM does not read every instruction and pick the relevant ones. Conditionals are resolved first, so it receives only the applicable instructions.

Step 6 of 10

Variables store the agent's state instead of LLM context memory. Their values can feed action inputs, conditionals and filters downstream. Actions placed early in reasoning instructions run before any LLM reasoning, so their outputs can hydrate the prompt.

Step 7 of 10

Switch subagents deterministically, or let the LLM decide. Each subagent in Agent Script has its own scope and reasoning instructions. You can expose a transition to the LLM as an action. Any script after a transition is skipped, so set variables before it. The starting subagent uses the start_agent prefix; by default it is the Agent Router.

Exam trap Setting a variable after a handoff transition does nothing. Script after the transition is skipped, so set it first.

Step 8 of 10

After an action runs, the agent checks the result in a reasoning loop. It then runs another action, asks the user more or replies. This continues for up to seven reasoning loops. A Service agent also validates its reply for grounding and scope before sending it.

Step 9 of 10

Both views edit the same Agent Script and stay in sync. Canvas fits builders who prefer blocks; Script view fits advanced users who write code directly.

The two editing views compared

Feature Canvas view Script view
How script appears Summarized blocks you can expand The full script, edited directly
Editing aids Type / for expressions, @ for resources Syntax highlighting, autocompletion, validation
Switching May be unavailable after some Script view edits Fix errors here before returning to Canvas

Step 10 of 10

  • Hybrid reasoning pairs programmatic control with LLM flexibility through Agent Script.
  • Conditionals resolve before reasoning, so the LLM gets only the instructions that apply.
  • Store state in variables, not LLM memory, so later steps can use it deterministically.
  • Edits stay consistent across Canvas and Script view, but Script errors can block Canvas.

Sources: How Agents Work | Salesforce Help (opens in a new tab) · Example: More Reliable Agent Instructions with Agent Script | Salesforce Help (opens in a new tab) · Agent Script | Salesforce Help (opens in a new tab) · Agent Script in Multi-Agent Solutions | Salesforce Help (opens in a new tab) · Building Agents in Canvas View | Salesforce Help (opens in a new tab)

Check

Check: Explain the components and benefits of hybrid reasoning, including how Agent Script functions in Canvas and Script View.

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Given a use case, manage deterministic behavior for the agent using mechanisms like filters, variables, and template expressions. · 11 steps + check · 6 min

Domain 3 · Topic 3 of 8

Given a use case, manage deterministic behavior for the agent using mechanisms like filters, variables, and template expressions.

Step 1 of 11

Think first When must an agent behave the same way every time, and which tools make that happen instead of relying on instructions?

Why it matters: Questions describe a rule an agent must always follow and ask which filter, variable or expression enforces it.

Instructions guide the LLM, but filters are deterministic. Variables hold facts about the session, and filters check those facts before a subagent or action can run. Template expressions put variable values into instructions and responses.

Step 2 of 11

Term Meaning
Filter A rule that blocks a subagent or action unless a variable meets its conditions.
Context variable A variable mapped to an object field, prefixed with $Context, and typically read-only.
Custom conversation variable A variable that stores an action's output, for use in a filter or as action input.
System variable A predefined, read-only variable that holds a value only during the session.
Template expression A merge syntax such as {!@variables.userName} that inserts a variable's value.

Step 3 of 11

Filters are deterministic; subagent and action instructions are not. A filter is applied the same way in every conversation. So when a rule must never be skipped, put it in a filter rather than in instructions.

Exam trap Writing "only do this for verified users" in instructions does not guarantee it. Only a filter is applied consistently across conversations.

Step 4 of 11

Each condition names a variable, an operator and a value. You can add several conditions and require any or all of them. Conditions can use context, conversation and custom variables. A filter on a subagent or action applies in that agent only.

Step 5 of 11

On customer channels, use filters to require authentication. Salesforce recommends this for subagents and actions that act on a user's behalf. In Agent Script, an available when clause does the same job, such as available when @variables.isVerified == False.

Exam trap Do not authenticate with context variables. Salesforce does not recommend it; use a filter on a verification variable instead.

Step 6 of 11

Context, custom and system variables differ in source and editability. Pick the variable kind by where its value comes from and whether the agent may change it.

Variable kinds compared

Feature Context variable Custom conversation variable System variable
Value comes from An object field, such as a Messaging Session field An action's output Predefined by the platform
Can it change? Typically read-only; End User Language is editable Yes, by mapping action outputs to it Read-only

Step 7 of 11

Map an action output to store a value; map an empty one to clear it. The variable's data type follows the action output's type: Boolean, Number or Text. In Agent Script, a set statement stores an output, such as set @variables.order_id=@outputs.order_id.

Step 8 of 11

An assigned variable is the only value the agent can use for that input. This removes guesswork: the LLM cannot invent the input. Context and custom conversation variables can both be assigned this way.

Step 9 of 11

Keep verification variables hidden from the LLM and from APIs. For a variable used for security, consider leaving Allow LLM to use value and Allow value to be set by API unselected. By default, custom variables are internal only; making one external lets the Agent API set it.

Step 10 of 11

Expressions insert a variable's value into instructions. Use {!$Context.VariableAPIName} for a context variable and {!VariableAPIName} for a conversation variable. In Agent Script, write {!@variables.userName}. You can also branch on values, such as checking @system_variables.current_modality for text or voice.

Step 11 of 11

  • Use a filter, not instructions, for any rule that must hold in every conversation.
  • A filter condition is a variable, an operator and a value; require any or all conditions.
  • To clear a custom variable, map an empty action output to it.
  • Context variable use cases can't be tested in Agentforce Builder; test them on a connected channel.

Sources: Example: Improve Your Agent's Memory with Filters and Variables | Salesforce Help (opens in a new tab) · Variables in the Legacy Builder | Salesforce Help (opens in a new tab) · Variables | Salesforce Help (opens in a new tab) · Create a Filter to Control Access to Subagents and Actions in the Legacy Builder | Salesforce Help (opens in a new tab) · Use Context Variables in Messaging Conversations | Salesforce Help (opens in a new tab) · Create a Custom Variable for Your Agent in the Legacy Builder | Salesforce Help (opens in a new tab)

Check

Check: Given a use case, manage deterministic behavior for the agent using mechanisms like filters, variables, and template expressions.

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Given a scenario, select and configure standard topics, custom topics, standard Agent actions, and custom Agent actions. · 10 steps + check · 6 min

Domain 3 · Topic 4 of 8

Given a scenario, select and configure standard topics, custom topics, standard Agent actions, and custom Agent actions.

Step 1 of 10

Think first When do you reuse a standard subagent or action, and when do you build a custom one for your agent?

Why it matters: Questions describe an agent's job and ask which subagent or action to add, and which setting makes it behave correctly.

Topics are now called subagents, and they work the same way. You can add standard subagents from the asset library or create custom ones. Custom actions can call flows, Apex, prompt templates and other functions.

Step 2 of 10

Term Meaning
Subagent The new name for an agent topic since April 2026, with no change in function.
Asset library Where standard and custom subagents live for adding to agents.
Reference action The flow, prompt template or other function a custom agent action is built on.
Reasoning actions Actions the LLM may choose during reasoning, where you add filters and follow-ups.

Step 3 of 10

Since April 2026, agent topics are called subagents. Nothing about how they work changed. If a question says topic or subagent, treat them as the same thing.

Step 4 of 10

Reuse standard subagents; create custom ones for your own needs. Where you create a custom subagent decides who can reuse it.

Where a subagent comes from, and what follows

Feature Standard subagent Custom in asset library Custom inside an agent
How you add it New, then Add from Asset Library Created in the asset library New, then New Subagent in Agentforce Builder
Who can use it Any agent you add it to Multiple agents and versions Only that agent

Step 5 of 10

An agent gets its own copy of each subagent and action you add. Later changes in the asset library don't reach that copy. To apply them, add the updated subagent to the agent again.

Exam trap Editing a template subagent in the asset library does not update agents that already use it. You must add the updated subagent again.

Step 6 of 10

The Agent Router uses a subagent's name and description by default. So the description should say which user requests belong to it. A custom subagent also needs at least one instruction.

Step 7 of 10

Create custom actions from Agentforce Assets in Setup. Pick a reference action type, such as a flow or prompt template. Custom actions can also call Apex, external services, MuleSoft APIs or retrievers (beta). Then assign the action to a subagent to add it to an agent.

Step 8 of 10

Reasoning instructions run actions first; reasoning actions let the LLM choose. Put an action in reasoning instructions to run it deterministically before any reasoning. An action you add to a subagent goes into reasoning actions automatically.

Step 9 of 10

Action settings control inputs, outputs and confirmation. Require input and Collect data from user govern inputs. Show in conversation decides whether outputs appear in the response. Require user confirmation guards record changes.

Common agent action settings

Setting What it does Note
Require input The action can't run if the input is missing Read-only when the reference action requires it
Collect data from user The user must provide this parameter Set per parameter
Show in conversation Includes the output in the response Off for all outputs: the LLM summarizes them
Require user confirmation Asks the user to confirm a record change first For actions that change records
Filter from agent action Excludes a reference action parameter At least one output must be used

Step 10 of 10

Check

Check: Given a scenario, select and configure standard topics, custom topics, standard Agent actions, and custom Agent actions.

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Explain the process for connecting agents to various channels such as digital experience, email, voice, and Slack. · 8 steps + check · 5 min

Domain 3 · Topic 5 of 8

Explain the process for connecting agents to various channels such as digital experience, email, voice, and Slack.

Step 1 of 8

Think first When you connect an agent to a channel, what changes for every version of that agent, and what stays separate?

Why it matters: Questions describe a channel change or channel experience and ask how it affects the agent and its versions.

For a Help Agent, channels belong to the agent, not to a version. So channel changes hit every version at once, while grounding and detail changes create a new version.

Step 2 of 8

Term Meaning
Agent version A version of a Help Agent. Only one is active at a time, and editing grounding sources or agent details creates a new one.
Escalation flow A flow assigned to a channel; like channels, it is shared by all versions.
Welcome recommendations Suggested prompts that appear when the Agentforce panel opens from most supported pages.
In-conversation recommendations Suggestions that show up mid-conversation, prompted by what the user types.

Step 3 of 8

A Help Agent's channels are assigned to the agent, not a version. Change channels on any version, and the update applies to all of them. Adding or removing a messaging channel takes effect immediately, even on the active version.

Exam trap Removing a messaging channel from a draft version does not protect the live one. Channel changes apply at once to every version, including the active one.

Step 4 of 8

Channel edits are shared, but grounding edits make a new version. Updating grounding sources or agent details creates a new version. The active, customer-facing version stays as it was.

How Help Agent changes behave

Change Effect on versions Reaches customers
Add or remove a messaging channel Applies to all versions Immediately, on the active version
Escalation flow on a channel Shared by all versions The same for every version
Grounding sources or agent details Creates a new version Not until that version is active

Step 5 of 8

Use separate agents, not versions, for different channel behavior. All versions share the same channels, so versions can't A/B test configurations across channels. Besides, just one version can be live at once.

Exam trap Two versions of one Help Agent cannot serve two channels differently. Create separate agents instead.

Step 6 of 8

Supervisors watch voice-enabled agents in Omni Supervisor. They read call transcripts in its Agentforce tab. In a supervisor configuration, confirm that tab and the Service agents are visible. Agent Optimization adds call recordings, quality scores and knowledge gaps.

Step 7 of 8

Recommendations let employees start with a prompt, not a blank box. Welcome recommendations appear when the Agentforce panel opens. In-conversation recommendations appear as users chat, and they need Data Cloud. Separate settings control each kind.

Step 8 of 8

  • Help Agent channels and escalation flows are shared by every version of the agent.
  • Changing grounding sources or agent details creates a new version and leaves the live one alone.
  • For different behavior on different channels, create separate agents.
  • Welcome recommendations work without Data Cloud; in-conversation ones need it.

Sources: Help Agent Versions and Channels | Salesforce Help (opens in a new tab) · Manage Conversation Recommendations in the Legacy Builder | Salesforce Help (opens in a new tab) · Monitor Your Voice-Enabled Agent | Salesforce Help (opens in a new tab)

Check

Check: Explain the process for connecting agents to various channels such as digital experience, email, voice, and Slack.

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Explain the security context in which the agent is actually running, and how it impacts agent action execution. · 10 steps + check · 6 min

Domain 3 · Topic 6 of 8

Explain the security context in which the agent is actually running, and how it impacts agent action execution.

Step 1 of 10

Think first Whose permissions does an agent use when it runs an action, and how does that change between employee and customer channels?

Why it matters: Questions describe an agent, its channel and an action that fails or overreaches, and ask which user context or permission explains it.

An agent runs either as the logged-in user or as a dedicated agent user. Logged-in channels apply that user's own access. Open channels such as Messaging use the agent user, and Salesforce recommends filters and variables there to limit record access.

Step 2 of 10

Term Meaning
Agent user A Salesforce user record holding every permission the agent needs on open channels.
Private action An action the triggering user must be authorized for, with identity securely confirmed.
MessagingSession The record of a messaging conversation, which can store a customer's confirmed identity.
AuthSession An authenticated portal session that, once linked to the MessagingSession, confirms who the user is.

Step 3 of 10

The channel decides whose access the agent uses. Channels limited to logged-in users run as that user. Open channels run as the agent user. The table compares the two.

Logged-in user context and agent user context compared

Feature Logged-in user context Agent user context
Typical channel Lightning Experience Messaging channels, such as Enhanced Chat
Where you assign permissions Individual users or user profiles (Employee agent) The agent's user record (Service agent)
Limits on subagents and actions Applied by default from the end user's context Need extra setup: filters and variables
Org-wide sharing defaults Depend on whether the user is internal or external Internal user defaults apply

Step 4 of 10

The agent type sets the context for a calling flow. A flow calling an Employee agent or Agentforce (Default) runs as the authenticated end user. A flow calling a Service agent runs as the agent user. Grant that agent user record access with a permission set, such as Read on Case.

Step 5 of 10

Flow actions need Run Flows plus object access. The user or the agent user needs both at minimum. A flow action also follows the flow's own permissions, field-level security and sharing. Prompt templates in actions need the Prompt Template User permission set.

Exam trap Do not give the agent user or end users permissions to create or manage agents. Neither one should hold them.

Step 6 of 10

Service agents need no special user permissions. Employee agents are different: each user must be given access to the individual Employee agent before they can use it.

Step 7 of 10

Confirm who the user is before a private action runs. Save the confirmed identity on the MessagingSession so the agent can check it. In the secure example, an AuthSessionId field links the session to an AuthSession. The AuthSession can end when the portal conversation ends.

Exam trap Agent context variables are not a safe way to authenticate. Salesforce does not recommend using them for authentication.

Step 8 of 10

Reauthenticate with a parameterized URL to a secure portal method. The Apex method takes MessagingSession.SessionKey, a GUID unique to active sessions. An AuthRequestTime field limits how long external authentication is allowed.

Exam trap Logging in on the portal does not resume the chat by itself. No event reaches the agent session, so the user must keep the conversation going.

Step 9 of 10

Some contexts block custom agent invocable actions. They are not supported for Experience Cloud site users or the Platform Integration User. On a custom site with its own login, no AuthSession is tracked, so authentication lasts until the token expires.

Step 10 of 10

  • Logged-in channels run as the end user; open channels run as the agent user.
  • On agent-user channels, limit record access with filters and variables.
  • A flow calling a Service agent runs as the agent user, not the end user.
  • Flow actions need Run Flows plus access to the objects the flow uses.
  • Confirm identity before a private action; context variables are not recommended for authentication.

Sources: Common User Access for Standard Agent Actions | Salesforce Help (opens in a new tab) · Maintain Trust with Agentforce Actions in the Legacy Builder | Salesforce Help (opens in a new tab) · Example Implementation of a Secure Agentforce Service Agent | Salesforce Help (opens in a new tab) · Call an Agent from a Flow or Apex Class | Salesforce Help (opens in a new tab) · Create a Custom Action | Salesforce Help (opens in a new tab) · Use Context Variables in Messaging Conversations | Salesforce Help (opens in a new tab) · Add User Identification to Agentforce Actions | Salesforce Help (opens in a new tab)

Check

Check: Explain the security context in which the agent is actually running, and how it impacts agent action execution.

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Given a scenario, identify when to use an Employee or Service agent. · 8 steps + check · 5 min

Domain 3 · Topic 7 of 8

Given a scenario, identify when to use an Employee or Service agent.

Step 1 of 8

Think first Given a request for an AI agent, how do you tell whether it should be an Employee agent or a Service agent?

Why it matters: Questions describe who the agent serves and where, and ask whether an Employee or a Service agent fits.

Start with the audience. Employee agents serve internal staff and act as the logged-in user. Service agents serve customers on messaging and other channels, act as a dedicated agent user and escalate to reps when needed.

Step 2 of 8

Term Meaning
Employee agent An agent for internal employees that runs in the logged-in user's context.
Service agent An agent that supports customers on messaging and other channels and escalates to reps.
Agent user The Salesforce integration user a Service agent runs as, holding the permissions it needs.
Inbound conversation A conversation the user starts; the only kind Agentforce Service Agent supports.
Omni-Channel flow A flow that routes messaging work. An inbound one sends conversations to a Service agent; an outbound one carries transfers.

Step 3 of 8

Internal staff point to Employee; customers point to Service. Employee agents help staff look up information, finish tasks and get personalized support. Service agents resolve common customer support cases and requests, and can hand off to a rep.

Employee and Service agents compared

Feature Employee agent Service agent
Who it serves Internal employees Customers
Runs as The logged-in user An agent user (integration user)
Typical channels Agentforce panel in Lightning, Slack, Salesforce mobile app Messaging and other customer channels, including Bring Your Own Channel (BYOC)
Usage metering Metered or unmetered, by the user's permissions Metered by action or by resolution

Step 4 of 8

An Employee agent acts with the logged-in user's access. A Service agent acts as its agent user instead. Give that user only what the job needs: to update a case on email, it needs View and Update case permissions.

Exam trap A Service agent does not borrow the customer's or a rep's access. It runs as its own agent user, so grant permissions to that user record.

Step 5 of 8

Employee agents live in employee channels; Service agents in customer ones. Employee agents appear in the Agentforce panel, Slack and the mobile app. Enhanced messaging channels, including Bring Your Own Channel, route to Service agents, not Employee agents.

Exam trap Routing a customer messaging channel to an Employee agent is wrong. Enhanced messaging channels, including BYOC, route only to Service agents.

Step 6 of 8

Service agents handle only conversations the user starts. A session closes 72 hours after it starts, or when the user ends it, whatever the channel timeout. To transfer a messaging conversation, it hands off through the Escalation subagent plus an outbound Omni-Channel flow.

Step 7 of 8

Each type needs its own build permissions. Employee agents need Manage AI Agents or Customize Application. Service agents need Manage Agentforce Service Agents plus Manage AI Agents, or Customize Application. With several Employee agents, describe each one's purpose to avoid overlapping subagents.

Step 8 of 8

Check

Check: Given a scenario, identify when to use an Employee or Service agent.

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Given a scenario, identify when it's appropriate to use Agent API. · 8 steps + check · 5 min

Domain 3 · Topic 8 of 8

Given a scenario, identify when it's appropriate to use Agent API.

Step 1 of 8

Think first When is a standard channel enough for an agent, and when do you need to reach it programmatically through an API or code instead?

Why it matters: Questions describe where and how an agent must run and ask whether a standard channel or programmatic access, such as Agent API, fits.

First check whether a standard channel and connection already cover the need. They give the agent channel context and ready-made response formats. When the agent must run from a flow or Apex class, in the background or without Builder, use the programmatic routes instead.

Step 2 of 8

Term Meaning
Connection A standard link that gives an agent context about specific channels.
Adaptive response format A response format included with a standard connection, built for specific channels or apps.
Invocable action Lets a flow or Apex class call a Service agent, an Employee agent or Agentforce (Default).
Headless development Building, deploying and running agents without Agentforce Builder or Setup.
MCP Links agents to outside services: Agentforce's built-in MCP client uses tools from registered MCP servers, with no hand-built integration.

Step 3 of 8

Agents deploy to a set of standard channels. Standard channels include the Agentforce panel, the mobile app, Slack, messaging platforms and email. Support varies by agent type. For Employee agents, deploying to Lightning Experience and mobile just means activating the agent.

Step 4 of 8

Adaptive response formats come with standard connections. Rich choice, rich link and time picker responses are for Service agents only. On Enhanced Chat v2, custom Lightning Web Components take the place of these formats.

Step 5 of 8

Use flows or Apex when no person starts the conversation. Invocable actions let a flow or Apex class call an agent. So an agent can handle background or event-driven tasks wherever a flow or Apex can run. For deeper cases, Salesforce points to its API and Developer guides.

Exam trap A background, event-driven task does not need a chat channel. Call the agent from a flow or Apex class instead.

Step 6 of 8

Headless development skips Agentforce Builder and Setup. Agents are still built, deployed and operated, just without either of those two tools.

Step 7 of 8

MCP replaces hand-built integrations to outside services. Without it, you handle API connectivity, authentication and data access yourself. Agentforce has a built-in MCP client. Gateway policies protect connections to external APIs and MCP servers.

Exam trap Hand-coding API connectivity to a third-party service is not the only option. A registered MCP server gives agents its tools through the built-in client.

Step 8 of 8

  • Standard connections give an agent context about specific channels, and channel support varies by agent type.
  • Background or event-driven agent work runs from a flow or Apex class.
  • Headless development builds and runs agents without Agentforce Builder or Setup.
  • Salesforce recommends a separate Service agent for Telephony and for Service Email.

Sources: Deploy Your Agent to Channels | Salesforce Help (opens in a new tab) · Standard Agent Connection Reference | Salesforce Help (opens in a new tab) · Standard Adaptive Response Format Reference | Salesforce Help (opens in a new tab) · Extend Your Agentforce Implementation | Salesforce Help (opens in a new tab) · MCP for Agentforce | Salesforce Help (opens in a new tab)

Check

Check: Given a scenario, identify when it's appropriate to use Agent API.

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Domain 3 · after the last topic

Domain 3 review

Each topic's Check tested it on its own; this mixes them.

Mixed quiz

Take the Domain 3 quiz

21 questions mixed from every topic in this domain, each answer explained. Mixing topics is harder than one at a time, and it is what the exam does. No account needed; with a free account your answers also build your estimated exam score.

Flashcards

Domain 3 flashcards

16 cards with this domain's key facts. Flip each one and check what you knew. No account needed.

Test yourself in exam conditions

A full Salesforce Certified Agentforce Specialist mock exam: 60 questions in 105 minutes, scored against the real exam's pass mark. Your first one is free.

Start a free mock exam
Next domain · 10% of the examTesting, Deployment, and Maintenance4 topics

Report a problem

On “”. Tell us what looks wrong; we read every report.

What is the problem?

Optional.