---
title: "CONFIGURATION - Use rules to auto-assign fields."
description: "Automate field values and extras on orders, stops, consignments and cargo with auto-assign rules. Rules can add stop and cargo extras and can overwrite existing field values."
url: https://help.qargo.com/en/articles/545498-configuration-use-rules-to-auto-assign-fields
locale: en
updated: 2026-11-05
---

# CONFIGURATION - Use rules to auto-assign fields.

## Introduction {#h_f23db5cee4}

The Auto-Assign feature automatically fills in field values across orders, consignments, and stops based on configurable rules.\
This helps to:

-   Standardise data
-   Speed up planning
-   Reduce manual data entry.

This feature's flexibility allows it to be used for various applications, such as routing decisions, customer references, region codes, and planning guides. Define rules once, and the system will consistently apply them to new or updated items.

## Terminology {#h_ec77b16973}

| **Term** | **Definition** |
| --- | --- |
| Rule | A set of conditions and resulting field values. Rules determine which fields are automatically populated and when. |
| Configuration > Rules | The central area where you create, manage, and organise auto-assign rules. |
| Field | Any data item on an order, consignment, stop or cargo line that can be populated (e.g., customer reference, region code, vehicle category, extras). |
| Default Field | A standard field provided by the system that can be auto-filled. |
| Custom Field | A user-defined field that can also be auto-filled via rules. |
| Trigger | An event that causes rule evaluation, such as creating a new order, consignment, or stop. |
| Planning Group | A grouping used to organise planning resources and rules for easier management. |
| Resource | People or assets (e.g., drivers, vehicles, departments) that can be assigned or referenced in rules. |
| Asynchronous | Operations that occur in the background after the initial creation, allowing the main workflow to continue without waiting for the rule evaluation. |
| Synchronous | Operations that run immediately in the same process, potentially delaying the initial action until rule evaluation completes. |
| Extra | An additional service or item added to a stop or cargo line, such as taillift, cleaning or ADR handling. Extras can trigger charges on the rate card. |
| Stop extra | An extra that belongs to a stop. Configured under _RATES > Order Input_, with a setting for which stop types it applies to (_Collect_, _Delivery_, _Other Stops_). |
| Cargo extra | An extra that belongs to a cargo line (good) on an order. Configured under _RATES > Order Input_. |
| Cargo fields | The auto-assign category used to create rules that add cargo extras. |
| Do not dispatch | A stop setting. Qargo keeps the stop on the trip but does not send it to the driver app or fleet system. |

* * *

## Create a Rule {#h_3bafa4919f}

:::callout{tone="note"}
🧰 Activate custom fields before creating rules that use them.\
**Click the link to learn more about 👉 [Configuring custom and additional fields](https://help.qargo.com/en/articles/133882-configuration-custom-fields-additional-fields).**
:::

-   Navigate to **CONFIGURATION _> Rules_**.
-   From the **'Auto-assign'** side menu:
-   Select the field to create the rule on
-   **Options include:**

    -   **Consignment fields**: default & custom fields associated to consignment

        ![](https://help.qargo.com/media/d7ff8cf38a7c-image.png)

    -   **Order fields**: default & custom fields associate to the order

        ![](https://help.qargo.com/media/3b79c93c449e-image.png)

    -   **Order transport network**: will show networks active on the tenant

        ![](https://help.qargo.com/media/38dc4efb99c0-image.png)

    -   **Stop fields**: default and custom fields associated to the stop

        -   Stop fields also offers _Extras_ in the _Field_ dropdown. See _[Auto-assign Stop and Cargo Extras](#h_2f07e6271e)_ below.

            ![](https://help.qargo.com/media/110111763862-image.png)

    -   **Cargo fields**: extras associated to the cargo (goods) on an order. This category only shows when cargo extras are configured on the account.

        ![](https://help.qargo.com/media/31332fddbe73-image.png)

    -   **Trip resource assignment**: assign internal & external resources

        ![](https://help.qargo.com/media/09d4ec8f65fe-image.png)


:::callout{tone="info"}
**📚 Click the link to learn more about 👉 [Planning - Auto-assigning resources](https://help.qargo.com/en/articles/407559-planning-auto-assign-resources)**
:::

-   Click **_'Add item'_** to start to build a Rule

    -   If adding multiple rules, name the rule for easy identification by clicking on 'Rule 1' and adding the name.
-   Complete the displayed fields:

    -   **Field**: From the drop down, select which field to populate automatically (e.g., customer reference, region code, postcode zone, vehicle category)

        -   Options displayed here directly relate to the **active default and custom field** on the property
    -   **Value**: Define the value to populate for the selected field. Options displayed will depend on the Field selected

        ![](https://help.qargo.com/media/c2510968c57b-image.png)

-   **Conditions**: Define when the rule should run (for example, on creation, or when a specific field is set).

    -   **Calculation method**: Multiple simple rules can run in sequence, or use complex rules (Excel table) to build a specific set of criteria for the conditions to apply to.
    -   Metrics / Operator / Value: Select the condition parameters that will apply in order to auto-assign the field.
-   **Save the rule**.

* * *

## Using Rules {#h_72062da208}

-   When a **new order, consignment, stop or cargo line** is created, the system checks the rules that apply to it.
-   **Stop fields** rules now also run for stops added to an existing order or shipment, not only for stops created together with a new shipment.
-   If a field requires information that is not yet available, the rule can wait for a subsequent input or run asynchronously, depending on the rule’s configuration.

:::callout{tone="note"}
‼️This applies to all **_Stop fields_** rules, including existing rules for regular fields. Stops added to existing shipments will now also be filled in by these rules. Review existing stop rules to check this is the expected result.
:::

**Use case: Orders - Tag an order for zone visibility**

[![](https://help.qargo.com/media/3c578040a9a2-image.png)](https://rousing-seal.clueso.site/share/d9380104-5afe-4045-95df-5c3928fe90c9)

* * *

## Auto-assign Order Transport Network {#h_bbb6811f31}

This can be used when users are members of a **Transport Network**, or have their **own network setup**. Auto-assign rules can be used to configure conditions where the transport network is automatically assigned.

-   Set up in the same way as the order, stop and consignment data fields.
-   Navigate to **CONFIGURATION _> Rules_**
-   From the side menu '**_Auto-assign',_** select **'Order transport network'**
-   Select the transport network from the dropdown

    ![](https://help.qargo.com/media/73b64bf27f92-image.png)

-   Set the conditions that will apply for the transport network to be auto-assigned.

    -   Options available will depend on the metrics selected

In the example below, the transport network configured will be **pre-filled** if the order is created and assigned to the **Groupage department**; which is also set to be auto-assigned when an order quantity is **less than 5 units** ordered.

![](https://help.qargo.com/media/da801b05551f-image.png)

![](https://help.qargo.com/media/36439e2f0dbb-image.png)

![](https://help.qargo.com/media/6704253de7a2-image.png)

![](https://help.qargo.com/media/1de062983a45-image.png)

:::callout{tone="note"}
**‼️Limitations to note**

-   If you use `Order > Department` as a metric in transport network rules, it won’t work for departments that are set automatically using other rules.\
    Transport network rules are currently being evaluated before the department rules.
-   Transport network only automatically assigned on order create
-   Last delivery / first collect matches not guaranteed for multi-consignment orders
-   Clearing Transport network during order create is not possible, but it can be removed after order creation
:::

* * *

### Other Auto-assign options {#h_e25b79930e}

-   **Department** rules can be created to automatically allocate an order to a department based on set conditions.

    -   **To learn more about Departments 👉 [Click HERE](https://help.qargo.com/en/articles/454842-orders-departments-what-why-how)**
-   Add **Resource groups** to organise planning boards; easily filter, customise and improve planning and pre-planning visibility.

    -   **To learn more about Resource groups 👉 [Click HERE](https://help.qargo.com/en/articles/133864-resource-groups)**

Use **Planning Groups** rules to simplify allocating orders to specific planning groups.

-   **To learn more about Planning groups 👉 [Click HERE](https://help.qargo.com/en/articles/133863-planning-using-planning-groups)**

* * *

## Enable Overwrite on a Rule {#h_b95da58375}

:::callout{tone="note"}
**📚 Available on Consignment fields, order fields and stop fields only.**
:::

![](https://help.qargo.com/media/e3ce5b4ae558-image.png)

-   **NAVIGATE** to **CONFIGURATION _→ Rules_**.
-   **SELECT** the field type from the _Auto-assign_ side menu (consignment fields, order fields and stop fields).
-   **OPEN** an existing rule, or **CLICK** _Add item_ to create a new rule.
-   **LOCATE** the _Overwrite existing values_ toggle within the rule configuration panel.
-   **TOGGLE** the switch:

    -   Toggle **OFF** (default) - the rule skips any field that already contains a value. Existing data is preserved.
    -   Toggle **ON** - the rule replaces the existing field value when the configured condition is met on a create or update event.
-   **SAVE** the rule.

:::callout{tone="info"}
📚 Existing rules are not affected by this change. No behaviour changes occur until the toggle is explicitly enabled on a specific rule. **Overwriting is on-trigger only** - the rule replaces the field value at the moment the configured condition is met (during a create or update event).
:::

:::callout{tone="note"}
📚 The **_Overwrite existing values_** toggle applies to regular fields only. It has no effect on extras.
:::

## Limitations {#h_54b5dac5f7}

-   The toggle is configured **per rule**. There is no global switch to enable overwriting across all rules at once, and no bulk action to toggle multiple existing rules in one step.
-   **Overwriting is on-trigger only** - the rule replaces the field value at the moment the configured condition is met (during a create or update event). Previously existing records are not retroactively updated; an edit or re-trigger of the affected record is required for the new behaviour to apply.


* * *

## Auto-assign Stop and Cargo Extras {#h_2f07e6271e}

Auto-assign rules can now add extras, not just field values. Extras such as taillift, cleaning, customs handling or ADR handling no longer need to be ticked by hand on every stop or cargo line. When a stop or cargo line matches the rule conditions, the chosen extras are added automatically. This saves time and helps make sure the rate card always picks up the charge.

-   **Stop extras** are set up in the _Stop fields_ category.
-   **Cargo extras** are set up in the new _Cargo fields_ category.
-   _Order fields_ and _Consignment fields_ do not offer extras.

:::callout{tone="info"}
🧰 The **extras must exist** before they can be used in a rule. Only extras already configured under **_RATES > Order Input_** show in the rule's _Value_ picker. Learn more about 👉 [RATES - Stop extras](https://help.qargo.com/en/articles/133806-rates-stop-extras) and 👉 [Cargo extras](https://help.qargo.com/en/articles/133794-cargo-extras).
:::

### Use Cases {#h_38c36d418e}

-   **Product-based stop extra**: a liquid bulk transport company with a large product catalogue needs a fixed stop extra (for example _Baffled_) every time a specific product is transported. A stop extras rule with a condition on the cargo product removes the need to add it by hand on each order.
-   **Surcharge by area**: a pallet network member needs a surcharge stop extra on deliveries to certain postcodes. A stop extras rule with a postcode condition adds the surcharge automatically.
-   **Customer-specific extras**: a delivery to a specific customer always needs a taillift. A stop extras rule with a customer condition and a _Delivery_ stop type adds _Taillift_ to every matching delivery.
-   **Existing auto-assign users**: companies that already rely on auto-assign rules for fields can now manage their recurring extras in the same place.

### Create a Stop Extras Rule {#h_836b3fd460}

1.  **NAVIGATE** to _CONFIGURATION > Rules_.
2.  **SELECT** _Stop fields_ from the _Auto-assign_ side menu.
3.  **CLICK** _Add rule_ to create a new rule, or **OPEN** an existing rule.
4.  **NAME** the rule for easy identification (for example "Taillift - Customer X deliveries").
5.  **SELECT** _Extras_ from the _Field_ dropdown.
6.  **SELECT** one or more stop extras from the _Value_ multi-select list.
7.  **SET** the _Conditions_ in the same way as any other rule (for example a customer, a product on the cargo, or the stop type).
8.  **SAVE** the rule.

![](https://help.qargo.com/media/291d42d6a16b-image.png)

:::callout{tone="note"}
📚 **A** **stop extra is only added to stops that the extra allows**. Each stop extra has its own _Collect_, _Delivery_ and _Other Stops_ setting under _RATES > Order Input_. If an extra allows more than one stop type, add a rule condition to narrow it down (for example only delivery stops).
:::

### Create a Cargo Extras Rule {#h_55c19776c4}

1.  **NAVIGATE** to _CONFIGURATION > Rules_.
2.  **SELECT** _Cargo fields_ from the _Auto-assign_ side menu.
3.  **CLICK** _Add item_ to create a new rule, or **OPEN** an existing rule.
4.  **NAME** the rule for easy identification.
5.  **SELECT** _Extras_ from the _Field_ dropdown.
6.  **SELECT** one or more cargo extras from the _Value_ multi-select list.
7.  **SET** the _Conditions_ for the rule.
8.  **SAVE** the rule.

![](https://help.qargo.com/media/4322b0360d9f-image.png)

:::callout{tone="note"}
📚 Cargo extras have no stop type setting of their own. The rule conditions alone decide which cargo lines get the extra, so keep conditions specific.
:::

:::callout{tone="info"}
🧰 If Qargo Intelligence is activated, 2 options will show when adding a rule:

-   AI based - creates rules using the Qargo AI Agent.
-   Manual - creates rules using the steps outlined above.

![](https://help.qargo.com/media/c2d5273a4daa-image.png)

💬 Contact your Qargo Account Manager to learn more about subscribing to the Qargo Intelligence feature.
:::

### When Extras Rules Run {#h_718865ad4f}

-   **Stop extras rules** run when a stop is created. This includes stops added to an existing order or shipment, not only stops created with a new order.
-   **Cargo extras rules** run when a cargo line (good) is created. The extra is added to that cargo line only. Other cargo lines on the same order are not changed.
-   The _Conditions_, _Calculation method_ and _Metrics_ work the same way as for regular field rules.

### What Happens on the Order {#h_c811ad76f5}

-   Extras added by a rule behave exactly like extras added by hand. They show on the stop or cargo line, feed into rate cards and invoicing, and count towards resource compatibility.
-   Extras are never duplicated. If the extra is already on the stop or cargo line, the rule skips it.
-   When several rules match the same stop or cargo line, all of their extras are added together. This is different from regular fields, where only one rule's value is used.

### Limitations - Extras {#h_f5ea98612c}

-   **Rules only add extras.** The _Overwrite existing values_ toggle does not apply to extras. A rule never removes or replaces an extra that is already on the stop or cargo line.
-   **Adding cargo later does not re-run stop rules.** If cargo is added to an existing consignment, the stop extras rules for that consignment are not checked again. A rule such as "heavy cargo adds a forklift stop extra" only works when the cargo is already on the order at the moment the stop is created.
-   **Internal stop type is not available as a condition.** Adding an extra based on an internal stop type (for example a _customs_ or _cleaning_ stop) is not supported with these rules yet.
-   **Rules do not add stops.** Extras rules add extras to stops that already exist. They do not create new stops.
-   **Existing records are not updated.** Rules only run on new stops and cargo lines. Stops and cargo created before the rule was saved do not get the extra.
-   **Only stop and cargo extras.** Other items, such as incidents, cannot be added with auto-assign rules.

* * *

## Do not dispatch: set it automatically with an AI-based stop rule {#h_ac342067cc}

An AI-based rule under _Stop fields_ can set _Do not dispatch_ on a stop, based on the stop's activity. Qargo keeps those stops on the trip but does not send them to the driver app or fleet system.

### Prerequisites {#h_32a3e5ff4e}

Qargo Intelligence must be enabled; the _AI-based_ rule type only shows when Qi is active.

:::callout{tone="info"}
💬 If the **_AI-based rules_** do not appear, contact your Qargo Account Manager to activate Qargo Intelligence.
:::

### Create a Do not dispatch rule {#h_90ac0dac87}

1.  **NAVIGATE** to _CONFIGURATION_ > _Rules_.
2.  **SELECT** _Stop fields_ from the _Auto-assign_ side menu.
3.  **CLICK** _Add rule_ and choose _AI-based_.
4.  **ENTER** the rule in plain words into ‘Qargo AI Rules Agent’ chat, for example "When a new stop's activity is End of day, do not dispatch it".
5.  **Review** the rule and **CLICK** _Validate rule_, then _Save rule_.
6.  **SAVE** the rule panel.

![](https://help.qargo.com/media/5d1dc3a1196a-image.png)

![](https://help.qargo.com/media/0899d8326183-image.png)

![](https://help.qargo.com/media/61c70c7c21d8-image.png)

### How it works {#h_9abd2a5159}

-   **When it runs:** on every new stop. That covers _Create order_, order import, the API, and stops added with _Edit order or Add stop._
-   **Existing stops:** editing a stop does not run the rule again. A new or changed rule does not update stops that already exist.
-   **Manual rules:** they cannot set _Do not dispatch_. Only AI-based rules can.
-   **Switch back:** the planner can still dispatch an excluded stop from the planning board, with _Do not dispatch_ > _This stop_.

![](https://help.qargo.com/media/52d8b6519ab2-image.png)

* * *

## Troubleshooting {#h_75bba84999}

| **Issue** | **Resolution** |
| --- | --- |
| Field Not Auto-Populated | Check that the rule is configured for the correct scope (order, consignment, trip, stop).\
Verify that the rule’s trigger is set to run at the appropriate time (creation vs. update).\
Ensure there are no conflicting rules that overwrite the value after it is set. |
| Incorrect Values | Review the rule’s Value definitions and any dependencies on other fields.\
Confirm that the rule’s conditions match the actual data context. |
| Rule Not Triggering | Confirm that the rule is enabled\
Check whether the rule relies on data that isn’t available at creation time. |
| Data Inconsistency after Updates | If a field is overwritten by a later rule, adjust the rule priorities or add additional conditions to prevent unintended overwrites. |
| Field value not overwritten despite toggle ON | Confirm the rule's trigger condition is being met on the record.\
Verify the rule scope matches the entity type (order, consignment, or stop).\
Check whether a later rule is resetting the field to a previous value. |
| Field remains empty after rule runs with toggle ON | Rules run on create/update events — the rule may not have fired yet.\
Re-save or re-trigger the affected record to evaluate the rule. |
| Unexpected values on existing records | Rules with toggle ON do not retroactively update existing records.\
Only records created or edited after the toggle was enabled will reflect the overwrite behaviour. |
| _Extras_ not shown in the _Field_ dropdown | Extras are only offered in _Stop fields_ and _Cargo fields_, not in _Order fields_ or _Consignment fields_. |
| _Cargo fields_ category not visible | The category only shows when cargo extras are configured. Add cargo extras under _RATES > Order Input_ first. |
| _Stop fields_ category not visible | The category only shows when stop fields are available on the account. Contact the Qargo Account Manager for help. |
| Extra not listed in the _Value_ picker | Check that the extra exists under _RATES > Order Input_ and is not archived. |
| Stop extra not added to a stop | Check the extra's _Collect_, _Delivery_ and _Other Stops_ setting allows that stop type. - Check the rule conditions match the stop. - Check the stop was created after the rule was saved. |
| Stop extra not added after cargo was added to an order | Adding cargo later does not re-run stop rules. The cargo must be on the order when the stop is created. |
| Existing extra not replaced or removed by a rule | Expected behaviour. Rules only add extras, and the _Overwrite existing values_ toggle does not apply to extras. |
| More extras than expected on a stop or cargo line | Several rules matched. Extras from all matching rules are added together. Review conditions on overlapping rules. |
| Cargo extra added to the wrong cargo lines | Cargo extras have no stop type setting, so the rule conditions alone decide. Make the conditions more specific. |
| Do not dispatch not offered in a Manual rule | Only AI-based rules can set Do not dispatch. Create the rule with the AI-based rule type. |
| Existing stops not excluded after saving the rule | Rules only run on new stops. Exclude existing stops on the planning board with Do not dispatch. |

* * *

## Additional Tips {#h_528b8078d5}

-   Start with a small set of high-impact rules and expand gradually to avoid complex interdependencies.
-   Document each rule with a short description of its purpose and the fields it affects.
-   Use a standard naming convention for rules to make discovery easy (e.g., “Route\_Zones\_AutoFill” or “CustomerRefs\_Defaults”).
-   Regularly review and retire rules that are no longer needed or have been superseded by new configurations.

The Auto-Assign feature simplifies data management by automatically populating key fields according to well-defined rules. Streamline workflow, reduce manual data entry, and improve consistency across trips, orders, consignments, and stops.

:::callout{tone="info"}
💬 For further assistance setting up auto assignments, contact your account manager or Qargo support for help.
:::


## Related articles

- [CONFIGURATION - Calculated Activity Duration Rules - What, Why & How.](https://help.qargo.com/en/articles/629123-configuration-calculated-activity-duration-rules-what-why-how.md)
- [Qargo Intelligence: Assign Fields Tasks — What, Why & How](https://help.qargo.com/en/articles/843273-qargo-intelligence-assign-fields-tasks-what-why-how.md)
- [TASKS - Task Creation Conditions - What, Why & How](https://help.qargo.com/en/articles/611591-tasks-task-creation-conditions-what-why-how.md)
- [RATE CARDS — 'Any Stop' Conditions and Metrics — What, Why & How.](https://help.qargo.com/en/articles/669052-rate-cards-any-stop-conditions-and-metrics-what-why-how.md)
- [Configure a product and a product type](https://help.qargo.com/en/articles/133833-configure-a-product-and-a-product-type.md)
