> For the complete documentation index, see [llms.txt](https://docs.ownchat.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ownchat.app/bot/utility/close-conversation.md).

# Close Conversation

The **Close Conversation** action allows the chatbot to automatically **end a customer conversation** once the interaction or workflow is completed.

This utility action helps businesses properly manage chatbot sessions by marking conversations as completed after the required actions, confirmations, or responses have been delivered.

The walkthrough demonstrates connecting the **Close Conversation** node after a **Send Button** action and publishing the workflow to production.

{% embed url="<https://app.supademo.com/demo/cmmudh0te27l4f3u990xcneyo?utm_source=link>" %}

### When to Use Close Conversation &#x20;

Use the **Close Conversation** action when the chatbot interaction has been successfully completed and no further user input is required.

#### Common Use Cases &#x20;

* After order confirmation
* After collecting customer feedback
* After successful appointment booking
* After completing support interactions
* After payment confirmation

**Example Interaction** &#x20;

Bot: ✅ Your order has been confirmed successfully.\
\
Bot: Thank you for choosing us! Your conversation has now been closed.

Once the workflow reaches the **Close Conversation** action, the chat session is automatically marked as completed.

### How to Add Close Conversation &#x20;

Follow these steps to add the **Close Conversation** action in your bot workflow.

1. Open **Bot Builder**
2. Drag the output connector from the previous action
3. Select the **Utilities** tab
4. Click **Close Conversation**
5. Configure the action name
6. Click **Create**
7. Click **Publish** to deploy the changes

The walkthrough shows the **Close Conversation** node connected after a **Send Buttons – Feedback Collection** action.

### Accessing the Utilities Section &#x20;

To access the **Close Conversation** action:

1. Drag and drop the output dot from the previous action node.
2. Open the action selection panel.
3. Click the **Utilities** tab.<br>

{% embed url="<https://app.supademo.com/demo/cmpapnrvo05poz80jbgizpyif?utm_source=link>" %}

The **Utilities** section contains workflow management actions used to control chatbot behavior and conversation handling.

### Selecting Close Conversation &#x20;

Inside the **Utilities** tab:

1. Locate the **Close Conversation** action.
2. Click the action to add it to the workflow.<br>

{% embed url="<https://app.supademo.com/demo/cmpapqozr06npz70jyqfm0qw9?utm_source=link>" %}

The walkthrough highlights the **Close Conversation** option within the Utilities list.

### Close Conversation Configuration &#x20;

When configuring the **Close Conversation** action, the following field must be completed.

#### Action Name &#x20;

The **Action Name** identifies the utility action inside the bot workflow.

This name is visible only within the bot builder.<br>

{% embed url="<https://app.supademo.com/demo/cmpapuqgj06rgxa0jfnbbk76h?utm_source=link>" %}

**Example** &#x20;

Conversation Closed\
Close Customer Chat\
End Interaction

The walkthrough initially shows the default value:

Untitled 44

which is later renamed to:

Conversation closed

before saving the action.

### Creating the Action &#x20;

After entering the action name:

1. Click the **Create** button.
2. The **Close Conversation** node will be added to the workflow.<br>

{% embed url="<https://app.supademo.com/demo/cmpapyfp406p0z70jkdm1cqnq?utm_source=link>" %}

The walkthrough demonstrates clicking the **Create** button to finalize the configuration and save the changes.

### Workflow Behavior &#x20;

Once triggered, the **Close Conversation** action:

* Ends the active chatbot interaction
* Marks the conversation as completed
* Stops additional automated responses
* Helps organize completed customer chats

The walkthrough specifically notes:

We use Close Conversation to end the chat once the interaction is complete.<br>

{% embed url="<https://app.supademo.com/demo/cmpapzpx105qsz80jeohdhus7?utm_source=link>" %}

### Publishing the Bot Changes &#x20;

After configuring the **Close Conversation** action:

1. Review the workflow connection.
2. Click the **Publish** button in the top-right corner.
3. Deploy the updated chatbot workflow to production.

The final page of the walkthrough shows the **Publish** button being used to deploy the latest bot changes.<br>

{% embed url="<https://app.supademo.com/demo/cmpapzpx105qsz80jeohdhus7?utm_source=link>" %}

#### Example Workflow &#x20;

#### Example Chatbot Workflow &#x20;

Send Order Confirmation\
&#x20;       ↓\
Collect Customer Feedback\
&#x20;       ↓\
Close Conversation

**Example Interaction** &#x20;

Bot: ✅ Your order is ready!\
\
Bot: Please share your feedback.\
\
User: Excellent service!\
\
Bot: Thank you for your feedback 😊

The chatbot then automatically closes the conversation.

### Best Practices &#x20;

Follow these recommendations when using **Close Conversation.**

#### Close conversations only after completion &#x20;

Ensure all required interactions are finished before ending the chat.

#### Use meaningful action names &#x20;

Clearly identify workflow endpoints inside the bot builder.

#### Add confirmation messages before closing &#x20;

Inform users that the interaction has been completed.

#### Publish workflow updates &#x20;

Always publish changes after updating chatbot actions.

#### Use after final workflow steps &#x20;

Place the **Close Conversation** action at the end of the bot flow.

### Summary &#x20;

The **Close Conversation** action allows chatbot builders to automatically **end customer interactions after workflow completion**.

With **Close Conversation**, you can:

* Automatically close completed chats
* Improve conversation management
* Organize completed customer interactions
* Prevent unnecessary follow-up messages
* Build cleaner and more structured chatbot workflows

This utility action helps businesses maintain **efficient chatbot session handling and streamlined customer communication workflows**.
