> For the complete documentation index, see [llms.txt](https://docs.colect.io/user/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.colect.io/user/sales-app/order/order-queueing.md).

# Order Queueing

Order queueing can be utilized for pre-order collections that do not use stock.&#x20;

Orders are not sent immediately; instead, they are placed in a queue and sent asynchronously. This allows users to continue using the sales app without waiting for the order transmission to complete.

Upon completion of the queue, a notification will appear to indicate that the process is finished.

Based on the collection settings, a new Queue mailer may be triggered, enabling users to send order confirmations to customers.

The "SENT" tab in the cart is divided into two sections:

1. **Queued Orders**: This section displays all your orders that are queued and ready to be sent. An envelope icon is used to indicate the status of each queued order. For a detailed explanation of the status icons, please refer to the icon section below.
2. **Sent Orders**: This section contains orders that have been successfully sent and processed.

<figure><img src="/files/FKwwHKyKxBTP5nx9iSbq" alt=""><figcaption></figcaption></figure>

## Removing an order from the Queue

While the queue is active, all orders except for the topmost one can be removed by swiping from right to left and tapping on "Cancel and make draft." This action allows you to manage the queue effectively without interrupting the processing of the foremost order. The selected order will be taken out of the Queue and places in the "Draft" section.

<figure><img src="/files/9FV3UDQaB5oHaXeIk6PQ" alt=""><figcaption></figcaption></figure>

## Queue mailer

Once the queue is complete and the collection settings require it, a Queue Mailer dialog will appear on the iPad. This allows you to select a customer to whom you want to send an order confirmation using the default device mail client.

<figure><img src="/files/IEeV6cAbsK9VNc21O3ha" alt=""><figcaption></figcaption></figure>

## Queue interruptions

When the queue encounters an issue processing an order for any reason, such as a failed integrity check or a custom error, it will halt, and the user will be notified.&#x20;

The associated icon will change to a hand symbol. <img src="/files/LJf3n2863u4RbKVSjMa0" alt="" data-size="line">

To resume the queue, the user must press this icon, after which the queue will continue processing.

## Queue icon statuses

| Icon                                                                | Meaning                                                                                           | Action                                |
| ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------- |
| <img src="/files/79MzXii65aR2UoYt5F4W" alt="" data-size="original"> | The order is placed in the queue and is waiting to be processed.                                  |                                       |
| <img src="/files/TkuCKgHro1ZiUDondwPa" alt="" data-size="original"> | The order has been successfully received by the backend.                                          |                                       |
| <img src="/files/LPdiprypcIrxh6RUnUBG" alt="" data-size="original"> | The order needs to be investigated, and the queue has been paused.                                | To resume the queue, tap on the icon. |
| <img src="/files/iPFPEAvsfFQAwGmdE8DA" alt="" data-size="original"> | The order could not be processed, and this icon is usually accompanied by descriptive error text. | Investigate the order for errors      |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.colect.io/user/sales-app/order/order-queueing.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.
