> For the complete documentation index, see [llms.txt](https://help.windmillsoft.kr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.windmillsoft.kr/en/simplychat/salesforce-setup-guide/check-the-agents-last-response-time.md).

# Check the agent's last response time

This value can be used to calculate the net response time from the start to the end of the chat.

### Additional Fields

The following two fields are added to Chat Session.

<figure><img src="/files/YD7YudFY16w6LzoV80MA" alt=""><figcaption></figcaption></figure>

### Conditions for updating the filed values

1. The Chat Session status is "Chat End."
2. The `IsCheckedLastTalkAgent` field is false.
3. The schedule for checking the agent's last response time must be running.

### Execution steps

1. In App Launcher, open **Run Schedule**.\
   ![](/files/vZ9s9WJ7gM5WYSdc5b6D)
2. Specify the execution time and click the button next to it.

<figure><img src="/files/OcOs0E9J0PqjeFV2OGl6" alt=""><figcaption></figcaption></figure>

3. If "Success" is displayed, the registration has been completed successfully.

<figure><img src="/files/EvJGH37naAeVIJnxDhNI" alt=""><figcaption></figcaption></figure>

4. You can check the registered schedule under **Setup** > **Scheduled Jobs**.

<figure><img src="/files/kZhPzjrCelEaZJ5mtaCn" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Notes**

This process **must** be completed before generating the End Chat record for the Chat Session.

Configure the schedule to run before the time configured in SC\_Setup.

**Automated Responses:** Auto responses are not treated as agent responses. Only messages sent by an actual agent are used to calculate the agent's response time. When `[WINP__IsCheckedLastTalkAgent__c]` is set to true, the agent's actual response time is considered to have been recorded.
{% endhint %}
