# See how your AI agent answered and what it changed

Open the steps behind any AI reply, find the instructions it followed, and see which customer details the AI filled in.

Source: https://support.rework.com/article/prospect-ai-reply-trace

When an AI agent replies to a customer, you can open a step-by-step record of how it got there: the question it answered, the skill it followed, every lookup it made and what each one returned. In the conversation panel, every field, stage and label the AI filled in is marked, so your team knows which details to double-check.

## See how the AI answered a reply

1. Open a conversation the AI agent replied in. Under the AI's reply, the line **Replied by <agent name>** shows who answered **(1)**. When a step failed or a search found nothing, it also says **needs a look**.
   
2. Click **See how it answered** **(2)**. You can also find it in the reply's **More** menu.
   

![An AI reply in a conversation, with (1) Replied by Shop Assistant and (2) See how it answered under it](https://storage.googleapis.com/reworkv3-public/success/261105/zswTGjNwtWDYB3yedLw15VeKFDnB3IWJvqEZcWhJa4w7WVqIh7QgJ4FVQNifxgwQ/img.p5Sh3FTcMI6YpWB5rrl8sxXojdhqzfEmvG7bAyjhmv6sEq3HO8bftl0phDcdvF9b.png)

The **How the AI answered** dialog opens:

1. **Customer asked** **(1)** shows the message the AI was answering.
   
2. The steps **(2)** list everything the AI did before sending the reply, in order: the skill it followed, each knowledge search with the passages it found, the saved reply it sent, the customer data it changed (before → after), an order it checked or created. Click a step to open it, or use **Expand all**.
   
3. **Based on** **(3)** sums up what the reply rests on: knowledge passages, a saved reply, the instructions in the agent's settings, or the AI's own knowledge. Click a chip to jump to the step it came from, or a passage's name to open its source.
   

![The How the AI answered dialog: (1) Customer asked, (2) a knowledge search step, (3) Based on with the knowledge source](https://storage.googleapis.com/reworkv3-public/success/261105/FBB6WbkhLZYLIyhTZXiFMarAnOTHvNIrTZLIyAqLllRcVRx7xXHzKF0h6f0ROEtP/img.Zl27qeL0WJ1EQ4y3pHKf7yDVQnLkPUEpkR7DPdwWEJwV0zYpen138LuD4OTwaNGG.png)

A reply that rests only on the AI's own knowledge is flagged: it was written without your knowledge base, so check it against your policy.

## Find the instructions a reply followed

1. In **How the AI answered**, go to **Instructions this reply follows** **(1)** and click **Find the lines it followed**.
   
2. The AI reads the agent's instructions and the skills used for this reply, and quotes the lines the reply followed **(2)**, word for word, in your own wording. Each quote shows which part of the instructions it comes from and what it made the reply do. Click the part's name to open it.
   

![(1) Instructions this reply follows with Look again, (2) the quoted instruction lines, each with what it made the reply do](https://storage.googleapis.com/reworkv3-public/success/261105/DA2mPH4kCG9WF2oCpfu7AtelckbtW2Jeo2IuyXm8Shd7VpXF01eWLGK7MRWkoohK/img.5toyudwLdA5wTz0kDWrNdsfgsqz1GEowNTZAsnKfBGAEpfmgcv8jt12aWWbjYWP0.png)

The answer is kept with the reply, so opening it again is free. If someone edits the instructions later, a line that is no longer there is marked **No longer in the instructions**; click **Look again** to check against the current setup.

## Fix what went wrong

The **Fix this reply** column on the right of the dialog **(1)** takes you straight to the fix:

| 
Action

 | 

What it does

 |
| --- | --- |
| 

**Add a Q&A**

 | 

Adds a knowledge answer, pre-filled with this question and reply.

 |
| 

**See instructions**

 | 

Shows the agent's instructions beside the steps, with the lines this reply followed marked.

 |
| 

**See skills**

 | 

Lists the agent's skills, the ones used for this reply first. Open a skill to read when it applies and its steps.

 |
| 

**Check tools**

 | 

Shows what the agent is allowed to do. Highlighted when a step failed because a tool was off.

 |
| 

**All agent settings**

 | 

Opens the agent's settings in a new tab.

 |
| 

**Copy the trace**

 | 

Copies every step as text, to paste into a ticket or a chat.

 |

![The agent instructions open beside the steps with the lines used highlighted, and (1) the Fix this reply column](https://storage.googleapis.com/reworkv3-public/success/261105/eqvUHTEa0bINlpojJGSf8k1YsxOcegiKhmVgI8FSjYRE2zvkhJIiCWw7BQAQnHf7/img.9Zy7Rf4NeosR9dXbBcCFPcD7J1eAzjjq7Vcu1iglBEedLu1LaeQa44MAPaaC9RqU.png)

To rate the reply and let the AI suggest a fix, see [Rate AI replies and fix what went wrong](https://support.rework.com/article/prospect-ai-reply-feedback).

## See which details the AI filled in

When an AI agent updates a customer's details during a chat, the conversation panel shows it:

1. At the top of the **General** tab, a strip shows what the AI agent did, such as **Updated 3 fields** **(1)**. If a change couldn't be saved, it also says, for example, **1 not saved**.
   
2. Each field, phone number or email the AI wrote has a ✦ mark at the right of its row **(2)**, and a phone number or email the AI added says **AI** under it. The stage in the conversation header and each label the AI added are marked the same way.
   
3. Hover a mark to see which agent changed it, when, and the previous value. Click **Show in conversation** to jump to the AI's log line in the chat.
   
4. Click **Review** **(3)** to go through the new changes one by one, or **Dismiss** to clear the strip.
   

![Conversation panel: (1) the Updated 3 fields strip, (2) the AI mark on a phone number with its hover card, (3) Review](https://storage.googleapis.com/reworkv3-public/success/261105/Zu9tZmrewn9RorGqlgewxuyKrRiqyHj0ErJ5OivOlyB7FQx6T2NKxhz4eiTSdGSo/img.jtJElo1sAdCerLwazilUshMwispfAZeHe9AypiLPlKPHizfPMDeHMtxNYA8YllgL.png)

A change the AI tried but couldn't save has an amber ⚠ mark with the reason, for example the value belongs to another prospect or doesn't fit the field. Nothing was changed there.

## Good to know

- **See how it answered** is for admins. Everyone who can read the conversation sees the ✦ marks.
  
- **Find the lines it followed** uses 1 AI credit per reply. See it under **Settings › AI credits**.
  
- Replies sent before this feature, and replies written by a Flow step's AI, have no steps to show. A Flow step's reply follows that step's own prompt, not the agent's instructions.
  
- A ✦ mark stays as long as the value is still the AI's. It goes as soon as someone changes the value or removes the label. Marks the AI made in the last 24 hours that you haven't seen yet are highlighted.
  
- On the prospect page, only phone numbers and emails the AI added are marked.
  
- Phone numbers and emails never show their previous value in the mark, and someone who sees them masked doesn't see the values either.
