# On Close Conversation

**On Close Conversation** is a bot trigger that activates when an agent closes a chat in DoubleTick by clicking the **Mark as Done** option.

In DoubleTick, closing a conversation usually means the support query is resolved or the interaction has been completed. As soon as the agent marks the chat as done, this trigger can automatically start a bot journey.

This helps businesses run automation immediately after a conversation ends.<br>

<figure><img src="https://2303112206-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F53n17VnOICC1LtDqlENV%2Fuploads%2FcnDh02JtrI9ZazLJxoCD%2Fimage.png?alt=media&#x26;token=aecb18ea-a7a0-458b-bf2b-31d4c6618764" alt=""><figcaption></figcaption></figure>

### Where to Use This Trigger

This trigger is most useful for actions that should happen after the chat is completed, such as:

* Collecting customer feedback
* Sending a closing or thank-you message
* Updating customer details in Google Sheets or CRM
* Running post-support follow-up workflows

It is commonly used by support and customer success teams.

***

### How to Use It in Bot Studio

1. Open **Bot Studio** in DoubleTick
2. Create a new journey
3. Select the trigger: **On Close Conversation**
4. Build the automation you want to run after closure\
   Example actions:
   * Send feedback request
   * Add conversation outcome to Google Sheets
   * Notify internal teams
5. Publish the journey

Once published, the bot will trigger automatically whenever an agent closes a chat using **Mark as Done**.

***

### Key Capabilities

* Activates instantly when a conversation is closed
* Helps automate post-chat actions
* Supports feedback collection and reporting workflows
* Ensures consistent closure experience for customers

***

### Example Use Case

A support agent resolves a customer issue and clicks **Mark as Done**.

Immediately, the bot sends an automated message like:

“Thank you for chatting with us. Please share your feedback about the support experience.”

This helps teams improve service quality and collect customer satisfaction data automatically.
