> For the complete documentation index, see [llms.txt](https://docs.antbuddy.us/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.antbuddy.us/antbuddy-inc-documents/whatsapp-user-guide/guide-to-setting-session.md).

# Guide to Setting Session

### 1. Guide to Setting 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: On the left menu bar, 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="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdcktdz931aKCj__TL6ENWCeqOgD8w0-Hx0DmPYbXK7uMDBtbDvSaBG601SB1x8KLD0cSLNaiSOFjBzQ80ywwkk2ZdVhm7MSs1NL8XPhfybBsLFkcy0iLVzsU4DgU3_-HjBjAODI-v3CYq8bihgGrOtWXrA?key=EhUKvYQkMl1LimqIYx3txQ" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdNYa2OIqwQHIUbw82fc0x1jLTDRDBjajlr3l5EWgKIq2RjVWCI_qqxHJVzjxWBvBTgj_zReh-o9CygCcQzQuydvUr22nOtL4sGweSv8QMNMetmGwSM3GFPLIVXWK-872b0wHe4nwBLE6HThDJ8dsywZJ4?key=EhUKvYQkMl1LimqIYx3txQ" alt=""><figcaption></figcaption></figure>

### 2. Guide to Configuring the Wait Time for Reassigning an Agent if a Session is Unanswered

After the set period, if the assigned agent does not respond, the session will be automatically reassigned to another agent according to the assignment rules.

Step 1: Go to Settings

Step 2: Select Omni Chat

Step 3: Choose the  Other Settings

Step 4: Go to Configure the time to change the person in charge when not yet answered → Enter the desired maximum wait time for the session (in minutes)

Step 5: Enable the feature

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

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXck_oUQdFpXnC-ZN-LnhlmY4qJr1tzEUZftagWpbk2g0yHn5Y3p9XGy4uuWi0fmAUh-RzMp7uPW76iD3WwVxfPr2Jt7fphy_ubqpiXr38Dig2dstBD1F4vyC0bIQMsi2Vpce5d0iBdLfkPxvgHuOBfrWGSP?key=EhUKvYQkMl1LimqIYx3txQ" alt=""><figcaption></figcaption></figure>

### 3. Guide to Setting Response Time Limits and Pre-expiration Alerts for Omni Sessions

This feature allows you to:

* Set a response deadline for Omni sessions: For example, if set to 30 minutes, and the agent does not respond within 30 minutes, the session is considered overdue.
* Set a warning before the response deadline expires: For example, if set to 5 minutes, the responsible agent will receive a warning notification 5 minutes before the response deadline expires.

To set this up, follow these steps:

Step 1: Go to Settings -> Omni Chat -> Other Settings

Step 2: Go to Session Configuration -> Config time reply session

Step 3: Input the Time reply session and Warning time reply session

Step 4: Select Enable

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

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcBuP2v8Rfw4cY_eW7-qqQ3UN6FD-_9iwjOiohWLdvNCyKKYkMTto0w-prOBljz6Rg2gjD4Z72i6fkZTjpzORjnrJoy2ZjD8nMGKoetb-2vgKDMZBag5dXBPCeAMOOLZK47g8l1JJ3Dr16hB5PKVVF1TECx?key=EhUKvYQkMl1LimqIYx3txQ" alt=""><figcaption></figcaption></figure>

<br>


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.antbuddy.us/antbuddy-inc-documents/whatsapp-user-guide/guide-to-setting-session.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
