# 9. Session Closure Time

*This feature allows the system to automatically check and close sessions after a set period of time from the agent's last message.*

*Step 1: Click Setting*

*Step 2: Select Omni Chat*

*Step 3: Choose the Other Settings*

*Step 4: Input the desired time, the end-of-session message, and enable the feature*

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

*Step 5: Scroll to the bottom of the settings page and click “Save” button*

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


---

# Agent Instructions: 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://docs.antbuddy.us/antbuddy-inc-documents/antcrm-customer-management/conversation/whatsapp-use-guide/9.-session-closure-time.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.
