Lesson 32 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 5 · Testing, Deployment, and Maintenance · 10% of exam

5.5 Reviewing Agent Behavior After Changes

3 min read Updated Nov 16, 2026

Exam objective

Explain how to review and retest agent behavior after changes to instructions, actions, data, models, or deployment configuration.

Changes can affect more than one response

An agent is a connected configuration of routing, instructions, actions, variables, data, permissions, and channels. A change to one component can alter other paths. For example, a revised subagent description may change which requests are routed there; a new action output may affect a later filter; a data update may change grounded responses; and a model or prompt change may alter wording. Identify the exact change and the user outcome it could affect before testing. Record the agent and prompt-template versions involved so results can be traced to the correct configuration.

Run targeted regression tests

Retest the scenarios that directly exercise the changed component, then run the broader regression suite for important tasks. If an action changed, test its inputs, outputs, permissions, success path, and error path. If instructions or routing changed, test multiple phrasings, adjacent topics, and out-of-scope requests. If grounding changed, test questions that depend on updated content and verify sources. If a prompt template changed, test its supported input types and representative records, then test it as part of the agent workflow. Keep previously passing cases so new changes do not silently break reliable behavior.

Use traces and scores to find the cause

Review Testing Center results and Builder interaction details. A trace can show which subagent was selected, which actions ran, what information was returned, and where the path diverged from expectations. Recurring score failures can point to unclear instructions, missing knowledge, incorrect action selection, or a configuration issue. Compare behavior before and after the change, not only the newest response. If the failure occurs only in production, compare target settings, user context, licenses, permissions, active versions, connections, and source readiness. Fix the cause at the responsible layer and rerun the failed cases.

Release with a clear decision

Define what must pass before activation, especially for sensitive or high-impact tasks. A test suite can provide useful evidence and a release baseline, but it is not a guarantee that every live conversation will be correct. Keep a record of test outcomes, accepted limitations, and the activated version. After release, watch for new failure patterns and add important real-world cases to the suite. If an agent underperforms after a change, use a controlled rollback or new version process rather than making untracked edits directly in production. This makes maintenance repeatable and helps teams understand what changed and why.

TIP: After a meaningful change, retest both the affected path and nearby paths that share its routing, actions, variables, data, or prompt templates.

A passing test suite reduces uncertainty but cannot prove that a non-deterministic agent will handle every possible conversation correctly.

Extra concept: When a production issue is understood and fixed, add the scenario to the regression suite so the same failure is easier to catch later.

Official references:

  • Use Test Results https://help.salesforce.com/s/articleView?id=ai.agent_testing_center_use_test_results.htm&language=en_US&type=5
  • Build an Agent Testing and Observability Plan https://help.salesforce.com/s/articleView?id=ai.agent_test_prep.htm&language=en_US&type=5
  • Agentforce Testing Center https://help.salesforce.com/s/articleView?id=ai.agent_testing_center.htm&language=en_US

Key takeaways

  • Trace each change to the agent behavior or dependency it can affect.
  • Retest targeted cases and broader regression paths using the correct agent and template versions.
  • Use results to find root causes, document release evidence, and add new failures to future test suites.

Check your knowledge

Answer exam-style Testing, Deployment, and Maintenance questions with answers and explanations.

Practice Testing, Deployment, and Maintenance
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