Lesson 23 of 41 · All lessons
Salesforce Agentforce Specialist
0 of 41 complete
1Exam Overview
  1. 1.1Agentforce Specialist Complete Exam Overview
2Prompt Engineering20%
  1. 2.1When to Use Prompt Builder
  2. 2.2Prompt Template Access Controls
  3. 2.3Field Generation and Flex Prompt Template Types
  4. 2.4Grounding Techniques for Prompt Templates
  5. 2.5Creating, Activating, and Executing Prompt Templates
  6. 2.6Best Practices for Writing Effective Prompts
  7. 2.7Trust Layer Security and Privacy Features
  8. 2.8Managing and Preventing Specific Models from Being Accessed
3Data 360 Fundamentals20%
  1. 3.1Agentforce Data Library
  2. 3.2Data 360 Concepts for Agentforce
  3. 3.3Chunking
  4. 3.4Indexing
  5. 3.5Retrievers
  6. 3.6Choosing a Grounding Approach for a Scenario
4AI Agents35%
  1. 4.1How an Agentforce Agent Works
  2. 4.2Agent Building Blocks and Agent Script
  3. 4.3Hybrid Reasoning and Deterministic Behavior
  4. 4.4Agentforce Builder: Canvas and Script Views
  5. 4.5Filters, Variables, and Template Expressions
  6. 4.6Standard and Custom Topics
  7. 4.7Standard and Custom Agent Actions
  8. 4.8Configure Topics, Instructions, and Actions for a Use Case
  9. 4.9Connecting Agents to Digital Experience, Email, Voice, and Slack
  10. 4.10Agent Security Context and Action Execution
  11. 4.11Choosing Between Employee and Service Agents
  12. 4.12When to Use Agent API
5Testing, Deployment, and Maintenance10%
  1. 5.1Testing Agents with Testing Center
  2. 5.2Understanding Testing Center Evaluations
  3. 5.3Deploying Agents from Sandbox to Production
  4. 5.4Deploying Prompt Templates Between Environments
  5. 5.5Reviewing Agent Behavior After Changes
6Governance and Observability10%
  1. 6.1Managing and Monitoring Agents
  2. 6.2Agent Analytics and Performance Signals
  3. 6.3Identifying Opportunities to Optimize Agent Behavior
  4. 6.4Using Observations to Guide Improvements
7Multi-Agent Orchestration5%
  1. 7.1Choosing a Multi-Agent Architecture
  2. 7.2Orchestrators and Connected Subagents
  3. 7.3Handoff and Supervisor Modes
  4. 7.4Model Context Protocol (MCP)
  5. 7.5Agent-to-Agent (A2A) Communication

Section 4 · AI Agents · 35% of exam

4.8 Configure Topics, Instructions, and Actions for a Use Case

3 min read Updated Nov 16, 2026

Exam objective

Given a business requirement, configure focused topics or subagents, instructions, and actions so the agent can complete the intended task.

Translate a request into a design

Start by defining the user, goal, data needed, boundaries, and acceptable outcome. Break a broad job into focused responsibilities that can be routed clearly. For each topic or subagent, decide what requests belong there, what information is needed, and which actions can fulfill the task. Do not start by adding every available action. Map each capability to a real requirement and identify where the agent must ask for missing details, verify identity, or escalate. A simple design is easier to test and safer to maintain.

Write layered instructions

The agent’s top-level instructions set global behavior such as its role, tone, or broad guardrails. Topic or subagent instructions define how to handle a particular job. Action instructions describe when and how to use an individual operation, including its inputs and outputs. Keep these layers consistent. Avoid copying a long generic paragraph into every topic. State essential boundaries plainly, such as which source to use, which facts to confirm, what not to promise, and what to do when an action returns no result. Instructions guide reasoning; filters and deterministic logic enforce conditions that must always hold.

Connect actions to the workflow

For a customer asking about an order, the agent may need a lookup action, a cancellation action, and an escalation path. The lookup action should receive a reliable order identifier and return status. The cancellation action should not be exposed until policy and authorization conditions are satisfied. Map important results to variables, use filters for conditional availability, and specify transitions or follow-up actions when order matters. Ensure that each action is assigned to the appropriate topic or subagent. Keep action descriptions distinct so the model can select the right operation rather than choosing between near-duplicates.

Validate the configuration

Test the design with realistic utterances, paraphrases, ambiguous requests, and out-of-scope messages. Observe which topic is selected, whether the agent requests missing data, whether filters allow the expected action, and whether action outputs are interpreted correctly. Test prohibited paths too, such as an unverified user requesting a sensitive update. Check that the response reflects the actual action result and does not invent completion. If routing is wrong, refine classification descriptions and scope. If the wrong action runs, review its description, the assigned actions, variables, and any deterministic conditions. Iterate on the responsible layer instead of rewriting all instructions at once.

TIP: Design backward from the desired outcome: list required facts and actions, then configure routing and controls that ensure the agent follows the appropriate path.

A topic’s name or description alone does not authorize an action. Access controls and the underlying automation’s permissions must also allow the operation.

Extra concept: The agent’s Preview trace helps connect observed behavior to specific routing and action decisions during configuration review.

Official references:

  • Configure Your Agent https://help.salesforce.com/s/articleView?id=ai.agent_parent_configure.htm&language=en_US&type=5
  • Subagent Classification and Routing https://help.salesforce.com/s/articleView?id=ai.agent_topics_routing.htm&language=en_US&type=5
  • Explore Agentforce Builder https://help.salesforce.com/s/articleView?id=ai.agent_builder_tour.htm&language=en_US&type=5

Key takeaways

  • Translate requirements into a focused routing and action design.
  • Keep agent, topic, and action instructions consistent and specific to their responsibilities.
  • Test correct, ambiguous, missing-data, denied-access, and failure scenarios, then adjust the responsible component.

Check your knowledge

Answer exam-style AI Agents questions with answers and explanations.

Practice AI Agents
Finished this lesson? Mark it complete to track your progress.

Ready for the real exam?

Take the timed Salesforce Agentforce Specialist simulator: same number of questions, same time limit.

Get Complete Access