Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
Salesforce · Agentforce Specialist

Agentforce Observability, Analytics, Optimization

Agentforce Specialist · Lesson 13 of 14 · 1:47:33

YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗

Learning with these videos? Subscribe for new courses and exam-style questions.

In this lesson

Prepare for the Salesforce Agentforce Specialist exam. In this lesson: managing agents, the data foundation of Agentforce Observability (session tracing, audit and feedback data, retrieval quality metrics, Trust Layer signals), Agent Analytics and its measures, instruction adherence, Agent Optimization, alerts in Agent Health, Omni Supervisor, and the Query Editor. Includes three original practice questions, with Sunmeadow Solar, a fictional solar installer, as the example.

Study notes

The text of this lesson, to read at your own pace. Information as of December 2026.

Questions after launch

Sunmeadow's portal agent has been live for a month, and the service director has questions. How many chats end without a person, which questions does the agent fail, and does it follow its instructions? This lesson shows where those answers come from.

Managing agents

The Manage AI Agents permission lets a user create and manage agents. The permission set for managing service agents includes it, for every agent in the org, so grant it sparingly. To watch agents at work, Agentforce Observability measures, analyzes, and optimizes them, from Agentforce Studio. It covers Agentforce agents, not agents built on other platforms.

The data foundation

Turn on session tracing first, in Setup, because it logs every turn, reasoning step, action, and message, and without it, no other tool has data. Audit and feedback data adds the model's inputs and outputs, retrieval quality, guardrails, and user feedback, and it feeds the quality scores. Retrieval quality metrics check answer faithfulness, answer relevance, and context relevance. And the Trust Layer adds instruction adherence and toxicity.

Agent Analytics

Agent Analytics gives the overview, across subagents and sessions. Its effectiveness measures include the escalation rate, the deflection rate, which is the share of requests resolved without a person, and abandoned sessions. Its dashboards are built on Tableau Next, with tabs for effectiveness, usage, quality, health, trust, and voice. The data is not real time: analytics refresh within about an hour, and quality scores once a day.

Instruction adherence

For service agents in English, instruction adherence rates each response as high, low, or uncertain, with an explanation. The result is logged with the audit and feedback data, and its rate appears in the Trust tab of Agent Analytics. Task resolution, its partner, checks whether the customer's task was actually completed.

Agent Optimization

Agent Optimization works session by session. You filter sessions by intent, outcome, and quality score, and similar intents are grouped together. Moments highlight key points in conversations, and knowledge gaps show what the agent could not answer. And the trace of each session shows every step, with its time and its errors.

Alerts and live monitoring

Agent Health lets you set alerts and thresholds, so the team hears about a problem before customers complain. Guardrail tracking follows instruction adherence and task resolution over time. During live voice calls, supervisors watch in Omni Supervisor. And the data can also feed reports in Data 360 or Tableau, or be queried with the Data 360 Query Editor.

Recap

Let's recap. Manage AI Agents controls who manages agents, so grant it sparingly. Session tracing comes first, with audit and feedback data and the Trust Layer adding quality signals. Agent Analytics shows escalation, deflection, abandoned sessions, and instruction adherence, refreshed within the hour or daily. Agent Optimization goes session by session, with intents, moments, knowledge gaps, quality scores, and traces. Agent Health alerts warn the team early, and Omni Supervisor follows live voice calls.

Quick checks for this lesson

The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.

  1. Agent Analytics and Agent Optimization are both empty, although the agent has served customers for a week. What is the MOST likely cause?

    • The agent user lacks a license
    • Agent Analytics covers employee agents only
    • The Trust Layer blocks analytics data
    • Session tracing was never turned on
    Show the answer

    Session tracing was never turned on

    Without session tracing, no conversation is recorded, so the other tools have no data to show. “The agent user lacks a license” is wrong, because a missing license would stop the agent from serving customers at all. “Agent Analytics covers employee agents only” is wrong, since Agent Analytics covers service agents too. And “The Trust Layer blocks analytics data” is wrong, because the Trust Layer protects prompts and responses, and does not block analytics.

  2. The service director asks what share of customer requests the agent resolved without a person. Which measure answers this?

    • The escalation rate
    • The deflection rate
    • The average latency
    • The toxicity score
    Show the answer

    The deflection rate

    The deflection rate is the share of requests resolved without a person. “The escalation rate” is wrong, because the escalation rate counts the conversations that were handed to a person. “The average latency” is wrong, since latency measures how fast the agent responds, not how many requests it resolves. And “The toxicity score” is wrong, because a toxicity score rates harmful content, not resolution.

  3. Many customers ask about recycling old batteries, and the agent has no good answer. Where can the admin find this pattern?

    • The Setup Audit Trail
    • The Testing Center run history
    • Agent Optimization, intents and gaps
    • The model provider settings
    Show the answer

    Agent Optimization, intents and gaps

    Agent Optimization groups similar intents, and shows the knowledge gaps where the agent could not answer. “The Setup Audit Trail” is wrong, because the Setup Audit Trail tracks configuration changes, not customer questions. “The Testing Center run history” is wrong, since the Testing Center runs the cases you wrote, not what real customers ask. And “The model provider settings” is wrong, because the model provider settings control which models are allowed.