← All posts
Linnworks ops 25 November 2026 7 min read

The Linnworks Rules Engine: why the order of your rules matters

The Linnworks Rules Engine doesn't pick one rule for an order: it runs every enabled rule on every paid order, from the lowest rule number to the highest, and where two rules make the same kind of change, the last one to run wins. Inside a single rule it works the other way round: conditions are checked from the top, and the first set of conditions the order meets triggers its action and ends that rule. So the order of your rules, and of the conditions inside each one, decides what happens to each order.

What is the Linnworks Rules Engine?

The Rules Engine is the part of Linnworks where you set up your own business rules for orders. Linnworks describes it as a visual interface for custom rules that trigger automatically on every order that meets the criteria you set (Linnworks: rule did not work on the order). Once an order is downloaded from a sales channel and saved, the Rules Engine checks straight away whether any active rule should act on it (Linnworks: Rules Engine logic).

According to that logic article, a rule can:

That covers a lot of the routine sorting in the open order book (if the split between open and processed orders is new to you, start with Linnworks open orders vs processed orders). It's also why rules in the wrong order cause quiet problems. An order that ends up with the wrong shipping service, in the wrong folder or parked for no obvious reason may simply have met two rules. If old orders are piling up for reasons like these, see how to find open orders waiting too long in Linnworks.

How does the Linnworks Rules Engine decide which rule applies to an order?

It doesn't choose between rules at all. Three points from Linnworks' own logic article explain what happens instead.

1. Rules run in sequence, lowest number first

Each rule has a number in the Order column of the Rules Engine screen. Rules run from the lowest number to the highest, which is from the top of the list to the bottom, and you can change the sequence with the arrows on that screen (Linnworks: Rules Engine logic).

2. Every enabled rule runs, and the last one wins

All enabled rules run on every order. If an order meets the conditions of several rules, each one runs in turn and they overwrite each other: in Linnworks' words, only "the last rule that runs on the order will change it". Linnworks built it this way on purpose, so that one rule can set something on an order and a later rule can use that outcome to decide what to do next. That only works if the rule that sets the outcome has the lower number.

The overwriting only applies to the same kind of change. A rule can apply several actions to one order as long as the actions are different, and rules that change different things don't clash. Linnworks' troubleshooting article gives an example with three rules that an order matches:

The order ends up with the folder from Rule 2 and the shipping service from Rule 3, because those are the last rules on the list for each kind of action. If all three rules assigned a shipping service and all three matched, only Rule 3's service would stick (Linnworks: rule did not work on the order). Shipping rules are a good place to check first: Linnworks has a separate help page on rules that assign a shipping service based on conditions (Linnworks: assign shipping services based on certain conditions), and a business often has several of them.

3. Inside a rule, the first match ends the rule

Within one rule, the conditions are checked in the same top-to-bottom way. As soon as an order meets all the conditions leading to an action, that action is carried out and the rule checks nothing further. The order never reaches the conditions below.

That's why Linnworks recommends mutually exclusive conditions: conditions that can't both be true of the same order. If a broad condition sits above a narrow one, the broad one catches every order the narrow one was written for, and the narrow one never fires.

Which orders does the Rules Engine skip?

Some orders never go through the rules, and some only go through them once. Linnworks lists these cases in its logic and troubleshooting articles:

To run the rules on an order that's already in the system, Linnworks suggests setting it to Not Paid and then back to Paid. In Open Orders, right-click the order, choose Actions, then Edit Order, set the status to Not Paid and save, then edit it again, set it back to Paid and save. For several orders at once, the troubleshooting article points to Bulk Change, then Change Status, in the right-click Actions menu. Try it on one order first, so you can see what your rules do before you change a batch.

Why didn't my Linnworks rule work on an order?

Besides the skipped orders above, Linnworks' troubleshooting article gives three more reasons:

Start with the order's audit trail. Linnworks says it shows whether any rule worked on the order, which tells you straight away whether you're looking for a rule that didn't run or a rule that was overwritten.

A check to run before you add another rule

Most rule problems come from rules that were each right on their own and wrong together. Before you add or reorder a rule, work through this list:

  1. Group your rules by what they change. Shipping service, folder, location, tag, identifier and so on. Only rules in the same group can overwrite each other.
  2. Read each group from top to bottom. For any order that could meet two rules in a group, the lower one on the list wins. Make sure that's the one you want.
  3. Put general rules higher and exceptions lower. Because the last match wins, a general rule near the top and a specific exception further down lets the exception override it. The other way round, the general rule quietly cancels the exception.
  4. Check the conditions inside each rule. Make them mutually exclusive, and put narrow conditions above broad ones, because the first match ends the rule.
  5. Chain rules on purpose. If a rule depends on something an earlier rule sets, the earlier rule needs the lower number. Write down which rules depend on which.
  6. Save, then check a new order. Click Save, not Close, and look at the audit trail of the next order that should match. Orders already in the system won't change until you set them to Not Paid and back to Paid.

Rules can only sort orders as well as the data on them allows. If phone and trade orders all arrive under one generic source, sorting them is harder for rules and for reports alike; stop trade and phone orders vanishing into DIRECT covers how to fix that at the point of entry.

Want more practical guides for running Linnworks day to day? Browse the rest of the MCP-G blog.

Frequently asked questions

What is the Linnworks rules engine?

It is the part of Linnworks where you set up your own business rules for orders. When an order is downloaded from a sales channel and saved, the Rules Engine checks every active rule. A rule can tag the order, assign an identifier, extended property, folder, location or postal service, run a macro, lock or park the order, or split it into packages.

In what order do Linnworks rules run?

From the lowest number in the Order column to the highest, which is from the top of the list to the bottom. Linnworks lets you change the sequence with the arrows on the Rules Engine screen.

What happens if an order matches more than one Linnworks rule?

All enabled rules run. Where two rules make the same kind of change, such as assigning a shipping service, the one that runs last wins. Rules that make different changes, such as one setting a folder and another setting a shipping service, both apply.

Why did a Linnworks rule not run on an order?

The usual reasons Linnworks lists are: the rule was disabled or left in Pending changes, the order was unpaid, the order came from Amazon FBA, the rule was created after the order was saved, the order matched no condition, or a later rule overwrote the change. The order's audit trail shows whether any rule worked on it.

Does the Linnworks Rules Engine run on existing orders?

No. A new rule only runs on orders saved after the rule was saved. Linnworks' workaround is to set an order to Not Paid, save, then set it back to Paid and save again, which runs the rules on it. Bulk Change can do this for several orders at once.

Do Linnworks rules run again when an order is unparked?

No. Linnworks says the Rules Engine doesn't run automatically when an order changes from parked to unparked, or from locked to unlocked.

Ask Claude about your Linnworks account

The Hosted MCP Server for Linnworks connects Claude to your own Linnworks account, read-only. 14-day free trial, then £13.99 a month inc VAT.

See the hosted server

Want to run it yourself today? Buy the Linnworks MCP source code and deploy it to your own Cloudflare account. £500 + VAT, one-off.