> 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/simplychat/salesforce-config/auto-end/auto-end-target.md).

# 자동종료 대상 설정

채팅의 마지막 톡이 상담원인지 고객인지에 따라 채팅 종료 여부를 결정합니다.

### 추가되는 필드

Custom Setting에 하기 필드가 추가됩니다.

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

아래 조건에 따라 종료 대상이 달라집니다. 기본은 체크되지  않은 상태입니다.

| 조건                                | 종료 대상                   |
| --------------------------------- | ----------------------- |
| Auto End Only For Agent가 체크됨      | 상담원이 마지막으로 톡을보낸 채팅      |
| Auto End Only For Agent가 체크되지  않음 | 상담원, 고객이 마지막으로 톡을 보낸 채팅 |

### 실행 방법

1. Setup > Custom Setting (사용자 정의 설정) > SC\_Setup 옆의 Manage 클릭

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

2. Edit 버튼 클릭

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

3. Auto End Only For Agent를 체크

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.windmillsoft.kr/simplychat/salesforce-config/auto-end/auto-end-target.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
