# Automatic Chat Closure

Automatic Chat Closure is a feature that allows you to close inactive chats automatically after a certain period of time. This can help you save time and resources, as well as improve your customer satisfaction.

## Set Up Automatic Chat Closure

1. Go to the **Settings**>**Agent Assist**.

insert

2. Scroll down to the **Automatic Chat Closure** option on the page.

insert

3. You will see the following options:

* **If user does not respond to any message after**: This option lets you set the time limit for the user’s inactivity. You can choose the number of hours and minutes from the drop-down menus.&#x20;

For example, if you select **1 hour** and **30 minutes**, the chat will be closed automatically if the user does not reply to any message for 1 hour and 30 minutes.

insert

* **Then send message and close the chat**: This option lets you set the message that will be sent to the user before closing the chat. You can type the message in the text box below.&#x20;

For example, you can write **“We are sorry to see you go. Please contact us again if you need any assistance.”**

**insert**

* **Add button reply (max 3)**: This option lets you add up to three buttons that will be sent along with the message. The buttons can be used to redirect the user to another page, such as a feedback form, a FAQ page, or a contact form. You can type the quick reply button text in the 'Add reply' field.&#x20;

insert

* **Add conversation label**: This option lets you add one or more labels to the chat that will be closed automatically. The labels can help you categorize and filter the chats later. You can select the labels from the drop-down menu below.&#x20;

For example, you can select **“Inactive”** and **“Closed”** as the labels for the chat.

insert

{% hint style="success" %}
All the **settings are saved automatically** and run as customized.
{% endhint %}

{% hint style="success" %}
You can now use the **Automatic Chat Closure** feature in the **shared team inbox**. You will see a **timer icon** on the chat header that **shows** the **remaining** **time** **before** the **chat** will be **closed** **automatically**.&#x20;
{% endhint %}

{% hint style="success" %}
You can also **manually** **close** the **chat** by **clicking** on the **Close Chat** button on the **top** **left of the inbox**.
{% endhint %}

{% content-ref url="/pages/vrpyQlWmcnTURnGvL6EA" %}
[Close Chat](/chatman-enterprise-whatsapp-platform/chatman-functions/shared-team-inbox/close-chat.md)
{% endcontent-ref %}


---

# 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.makerobos.com/chatman-enterprise-whatsapp-platform/settings/inbox-settings/agent-assist/automatic-chat-closure.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.
