The Decision path tab lays out one turn as a series of steps, in the order the agent took them. Use it when you want to see how the agent got from the customer's message to its reply, and which step settled what it did.
Where the Turn tab answers questions about the turn, the Decision path shows the route: what the agent read, what it looked up, what it decided, and which checks the reply passed.
#How the tab is laid out
The tab has two layouts, and which one you see depends on the branch:
- If the top bar shows a Beta chip beside the branch pill, the branch runs on the Beta runtime. See On a Beta branch.
- Otherwise, see On other branches.
Both layouts read the same way, from top to bottom:
- The headline says what the turn came to, for example Answer: or Outcome: followed by what applied, Asked: followed by what the agent asked for, or Refused: followed by the capability a policy blocked.
- The summary box has one row per step with its finding. The row that decided the turn is highlighted. Select a row to jump to that step.
- The step cards follow, joined by a line. Each is closed except the deciding step, which is open and marked Decided here. Open any card to see its evidence.
A step appears only when the turn has something for it, so a short turn shows fewer.
#On a Beta branch
The summary box and the step cards use the same names; the box shows them in capitals. The deciding step is usually Plan.
| Step | What it shows |
|---|---|
| Message | What the customer wrote this turn. |
| What it read | What the agent understood the customer wants, for example wants: quote cancellation, with how sure it was. |
| Subject | The records the turn is about, for example booking RFD456. |
| Lookups | What the agent looked up in your systems: how many sources it read and how many answered. |
| Worked out | How many values the agent worked out from the records and the customer's words. The card lists anything it could not work out; the values themselves are in the Turn tab's Data section. |
| Plan | What the agent decided to say or do, and any capability it refused, with the policy that guards it. |
| Checks on the reply | How many checks the reply passed before it was sent, and whether the second reviewer, which reads the reply, had an objection. |
| Reply | What the customer was sent. |
| Actions | What the agent changed in your systems, or nothing changed. |
When the turn has one, The agent summary under the summary box opens a short written account of the turn.
#On other branches
The summary box has four rows, and the step cards have their own names. The deciding step is usually Pick the outcome.
| Row | What it shows |
|---|---|
| READ | How many sources the agent read and how many answered. |
| LADDER | Which rung of the outcome list was reached, for example Rung 2 followed by its condition. |
| OUTCOME | The outcome that decided the turn, the first one whose condition held. |
| REPLY | How many checks the reply passed before it was sent, and whether the second reviewer had an objection, for example 44/44 checks and no objection. |
| Step | What it shows |
|---|---|
| Read the message | How the agent read what the customer wrote, or nothing new read when the message added nothing. |
| Choose what to do | Which capability the agent picked for the request, for example quote cancellation, and whether it ran. |
| Read the records | What the agent looked up in your systems: how many sources it read and how many answered. |
| Pick the outcome | The capability's outcomes in order, shown as rungs. Each rung lists its condition and whether it is no or fires. The first one whose condition holds decides the reply, and the values the conditions tested are shown under it. |
| Check and ship | The checks the reply passed before it was sent, ending with the second reviewer, which reads the reply and records any objection. |
#Read a refusal
When a policy blocks a request, the headline reads Refused: followed by the capability. For example, an ACME Air customer asks to cancel a basic fare that cannot be refunded. Open the card marked Decided here (Plan on a Beta branch, Pick the outcome on other branches) to see:
- which policy refused it,
- what that policy requires, and what the agent tells the customer otherwise,
- the values the turn held for each thing the policy tests.
Those values tell you which kind of problem you have. If a value is wrong, look at the lookup that produced it. If the values are right and the outcome is still not what you want, the policy itself needs to change; describe the new rule to the Agent Builder. See Change your agent's behavior.