Table of Contents
Close chat block
Updated
by Desirée M
The Close chat block closes a conversation in your Landbot Inbox automatically, at the point of the flow where you place it. Finished conversations get the status Closed, so they drop out of the open conversations your team is working through.
How to add a Close chat block
To add a Close chat block, open the block menu and pick Close chat under Inbox & Builder tools:
1️⃣ Click the output of the block that ends the conversation, or the + button at the top left of the builder.
2️⃣ Open Inbox & Builder tools.
3️⃣ Click Close chat.

The Close chat block has nothing to set up. Once it's connected, every conversation that reaches it is closed.
Where to put the Close chat block in your flow
Put the Close chat block right after the last message of each path where the conversation is done. If your flow has several endings, connect each of them, so no finished conversation stays open by mistake.
The Close chat block also has an output, so the flow can carry on after it. Use it for work the visitor doesn't need to see, such as sending the answers to another tool with a Webhook block. The next block runs straight away, and the conversation stays closed.
Example: close the chat after a booking
In this example, a bike repair shop agent, Spoke & Wheel, books a tune-up: it asks for the visitor's name and drop-off time and confirms the booking with a Send a message block. Then the Close chat block closes the conversation, and a Webhook block sends the booking to the shop's booking system:

When Omar books a tune-up for Saturday morning, the Spoke & Wheel agent gives three results:
● In the chat, Omar reads "All set, Omar! Your tune-up is booked for Saturday morning. See you at the shop 🔧". Nothing shows that the chat was closed.
● In the Inbox, the conversation is marked as closed.
● In the booking system, the Webhook block delivers Omar's name, Saturday morning and the service, tune-up, after the chat is already closed.

How to find closed conversations in the Inbox
To find closed conversations, open the Inbox and set the status filter above the conversation list to Closed. The filter works in Chats, for every conversation, and in Channels, for one agent's conversations. When you open a closed conversation, a Closed chat label shows at the top. The Inbox Section Guide explains the rest of the Inbox.

What reopens a closed conversation?
A closed conversation reopens as soon as someone writes in it:
● The visitor sends a new message: the conversation is open again, and it stays unassigned.
● A teammate replies from the Inbox: the Closed chat label disappears, and the conversation is assigned to the teammate who replied.
Messages and other blocks the agent runs after the Close chat block don't reopen the conversation. To close a reopened conversation from the Inbox, click End.
📱 For WhatsApp
The Close chat block works the same way on WhatsApp.
💬 For Facebook Messenger
The Close chat block works the same way on Facebook Messenger.