# Assign package

> 1. **When an order is received in Linnworks, it initiates the order processing workflow. Linnworks' rules engine is activated, which triggers a macro specifically designed for packaging management.**

> 2. **The macro analyzes the items in the order and their corresponding inventory package groups.** &#x20;

> 3. **The macro evaluates the items' characteristics and determines the most suitable packaging type for the order. It assigns the appropriate package type based on weight, volume and size.**

> 4. **If the macro can't find a single suitable box for all items in the order, it intelligently divides the order into separate packages, ensuring that each package can be accommodated in an appropriate box.**

> 5. **Once the package types are determined or the order is split, the macro allocates the corresponding boxes for each package. With the packaging determined and boxes allocated, the order is now ready for processing.**&#x20;


---

# 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://brainence.gitbook.io/pack-and-track/assign-package.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.
