---
title: "Action existing_chatroom"
description: "Checks whether the user has an active Operator Panel chat room."
---

# Action `existing_chatroom`

> **System ID:** `action_existing_chatroom`

## Description

Looks for an active chat room for the current user (by `chat_id`, channel, and bot) with statuses `new`, `processed`, or `queue`. Useful before creating a new chat with an operator.

## Events (scenario branches)

| Event | When it occurs |
|-------|----------------|
| **exists** | An active chat room was found |

If there is no active room — the action **does not return a named branch** (`undefined`). The scenario should provide a default branch / handle the absence of `exists`.

No parameters — uses the current bot context.

## Parameters

No parameters (`{}`).

## Configuration example

```json
{}
```

## Related docs

- [Actions reference](/en/actionjail/reference/actions-reference.md)
