Sub topic 6
Reviewing individual conversations
Dashboards tell you which topic has a problem. Reading single conversations tells you why. This chapter shows how to pick conversations worth reading and how to review them in a repeatable way.
This chapter assumes you have built a simple agent in Agentforce Builder and know what topics, actions, and instructions are. It also assumes you can read basic rates and counts.
Why read conversations one at a time
A rate such as "30% escalated" does not say what went wrong. One conversation can show that the agent picked the wrong topic, called an action with a missing input, or gave an answer that ignored its grounding data. Reviewing is the step that connects a metric to a cause.
Choose a sample on purpose
You cannot read every session, so select them deliberately. Start from the signals in your analytics.
- Sessions that ended in escalation, especially for the topic with the most escalations.
- Sessions with negative feedback, such as a thumbs-down.
- Sessions that were not resolved and did not escalate. The customer may have left unhappy.
- A small random set of sessions that look fine. This keeps you honest about what "good" looks like.
A group-by summary of reviewed sessions can point you to the first topic to read. The example below counts escalations per topic.
from collections import Counter
# Hypothetical export of reviewed sessions. Field names are illustrative,
# not an Agentforce schema.
sessions = [
{"id": "s1", "topic": "Order Status", "resolved": True, "escalated": False},
{"id": "s2", "topic": "Returns", "resolved": False, "escalated": True},
{"id": "s3", "topic": "Returns", "resolved": False, "escalated": True},
{"id": "s4", "topic": "Order Status", "resolved": True, "escalated": False},
]
total = len(sessions)
resolution_rate = sum(s["resolved"] for s in sessions) / total
escalation_rate = sum(s["escalated"] for s in sessions) / total
escalations_by_topic = Counter(s["topic"] for s in sessions if s["escalated"])
print(f"Resolution rate: {resolution_rate:.0%}")
print(f"Escalation rate: {escalation_rate:.0%}")
print("Escalations by topic:", escalations_by_topic.most_common())Here the output shows a 50% resolution rate, a 50% escalation rate, and both escalations in Returns. Read the Returns sessions first.
A review routine
Use the same questions for every conversation so your notes can be compared.
- What did the customer actually want?
- Which topic did the agent choose, and was it the right one?
- Which action did it call, with what inputs, and what came back?
- Was the final response correct, grounded, and in the right tone?
- If the agent escalated, was that the right call and did the handoff carry context?
Write down one line per conversation: the customer goal, what the agent did, and where it went wrong. The next chapters cover reading the reasoning steps behind questions 2 and 3 and sorting the notes into failure types.
Common mistakes
- Judging only the final message. A fluent answer can come from the wrong topic.
- Reading one bad conversation and changing the agent. Look for the same pattern in several sessions first.
- Skipping good conversations. They become examples of expected behavior later.
Exercise
An analytics view shows that Returns has the most escalations. You have 40 Returns sessions. Name two kinds of sessions you would read first and one kind you would also include to avoid bias.
Show answer
Read the escalated Returns sessions and the ones with negative feedback first. Also include some Returns sessions that were resolved without problems, so you can compare them with the failures and see what correct behavior looks like.