> 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/auto-end-feature/auto-end-target-settings.md).

# Auto End target settings

### Added fields <a href="#undefined" id="undefined"></a>

The following field is added to **Custom Settings.**

| Label                   | API Name                  | Type     |
| ----------------------- | ------------------------- | -------- |
| Auto End Only For Agent | WINP\_AutoEndOnlyForAgent | Checkbox |

The Auto End target varies depending on the conditions below. By default, this option is unchecked.

| Condition                               | Auto End target                                                            |
| --------------------------------------- | -------------------------------------------------------------------------- |
| "Auto End Only For Agent" is checked.   | Chats where the last message was sent by the agent.                        |
| "Auto End Only For Agent" is unchecked. | Chats where the last message was sent by either the agent or the customer. |

### How to configure

1. Setup > Custom Settings > Click Manage next to SC\_Setup

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTQhsBFkZ51BlLLmWPGbG%2Fuploads%2F6U7io9lGp48jVMZ2SMPU%2Fimage.png?alt=media&#x26;token=f1d1eca1-52c2-4a77-9b74-4020ea9177f0" alt=""><figcaption></figcaption></figure>

2. Click "Edit"

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTQhsBFkZ51BlLLmWPGbG%2Fuploads%2F3EAT1SSG4HSJjq9TZs18%2Fimage.png?alt=media&#x26;token=e5a672e7-f3c1-4fe7-a8f8-8d262482f233" alt=""><figcaption></figcaption></figure>

3. Select the Auto End Only For Agent checkbox.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTQhsBFkZ51BlLLmWPGbG%2Fuploads%2FPdZjB8BB6iZkOXjttKwv%2Fimage.png?alt=media&#x26;token=92a0db8a-bc7b-4638-96dc-aeef0aa9e063" alt=""><figcaption></figcaption></figure>
