# State Management and Reopening of Closed Omnichannel Dialogues in Rocket.Chat

**URL:** <https://forums.rocket.chat/t/state-management-and-reopening-of-closed-omnichannel-dialogues-in-rocket-chat/22621>\
**Category:** Community Support\
**Created:** [December 4, 2025, 11:38pm UTC](https://forums.rocket.chat/t/state-management-and-reopening-of-closed-omnichannel-dialogues-in-rocket-chat/22621 "2025-12-04T23:38:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fedotov\_andrey](https://avatars.discourse-cdn.com/v4/letter/f/3be4f8/32.png) [@fedotov\_andrey](https://forums.rocket.chat/u/fedotov_andrey)\
**Post date:** [December 4, 2025, 11:38pm UTC](https://forums.rocket.chat/t/state-management-and-reopening-of-closed-omnichannel-dialogues-in-rocket-chat/22621/1 "2025-12-04T23:38:02Z")

</div>

### **Implementation Context (Already Configured):**

1. **Integration Platform:**  **n8n**.

2. **Target System:** **Rocket.Chat (Omnichannel)**.

3. **Trigger Logic:** An incoming message from a new customer in the messenger is received by **n8n**.

4. **Action:** n8n uses the **Rocket.Chat API** to create a new **Omnichannel Chat**.

**The Current Task (Problem and Goal):**

• **The Problem:** Omnichannel chats in Rocket.Chat automatically close after a set period (1 hour).

• **The Consequence:** If the customer writes again after this hour, the system creates a **new** Omnichannel chat.

• **The Goal:** Implement logic within n8n that, upon receiving a new message from an existing customer, will **check for a recently closed dialogue** with this customer and, if found, **reopen** it to continue the conversation, instead of creating a new one.

**The Question:**

How can the mechanism for checking and reopening an old Omnichannel dialogue be technically implemented in n8n, using the Rocket.Chat API?

Is there anything else I can translate or help you with regarding your n8n workflow?

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [December 5, 2025, 10:10am UTC](https://forums.rocket.chat/t/state-management-and-reopening-of-closed-omnichannel-dialogues-in-rocket-chat/22621/2 "2025-12-05T10:10:29Z")

</div>

English only please.

---

<div class="post-metadata">

**Author:** ![fedotov\_andrey](https://avatars.discourse-cdn.com/v4/letter/f/3be4f8/32.png) [@fedotov\_andrey](https://forums.rocket.chat/u/fedotov_andrey)\
**Post date:** [December 8, 2025, 9:10am UTC](https://forums.rocket.chat/t/state-management-and-reopening-of-closed-omnichannel-dialogues-in-rocket-chat/22621/3 "2025-12-08T09:10:42Z")

</div>

How can I open an old chat instead of starting a new one, to see the entire conversation history?
