# Opening and closing queue

## Opening and closing a queue

The queue can be opened and closed manually, or automatically by scheduling. An open queue is marked with a green circle in the Sidebar and queue view, while a closed queue is marked with a red circle.

## Customer queue states <a href="#asiakasjonon-tilat" id="asiakasjonon-tilat"></a>

Customer queue is shown in Sidebar with

* Red dot - Queue is closed
* Green dot - Queue is open
* Blue notice colours - There are customers in queue

![Customer queue: Closed (red), open (green), customer in queue (blue)](/files/-M7IWh9lAPdftdzWm1gh)

### Queueing time

When there are customers in queue, you can see a timer next to the queue name telling how long (the first) queueing customer has been waiting.

If queueing time has prolonged for more than one hour, the ∞ infinity symbol is shown instead of time.

## Opening a queue

Click the arrow icon next to the queue name and select "Open queue" from the menu. \
Customers can now join the queue.

![Opening a closed customer queue](/files/-M7IUNUtJ58pt0iAHwqp)

## Closing a queue

Click the arrow icon next to the queue name and select "Close queue" from the menu. \
After that, customers cannot start a chat. Customers in the queue at the time of closing will remain in the queue until they are picked or they decide to close the chat/window.

![Closing a customer queue](/files/-M7IUQHGaDh-vwXDu8bR)

## Schedule a customer care queue

Read more about opening and closing a queue automatically by scheduling:

{% content-ref url="/pages/-Li7xMP\_5UU5Qw6q74LH" %}
[Queue schedule](/ninchat-support/english/customer-service-queues-and-conversations/queue-schedule.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.ninchat.com/ninchat-support/english/customer-service-queues-and-conversations/opening-and-closing-queue.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
