Set up your first rule
Add a rule, run it on one order, then switch on automatic processing.
5 steps · Last updated November 16, 2026
Before you start
- Two or more active locations in Shopify: warehouses, stores, or a 3PL that is set up as a location.
- Advanced Fulfillment Rules installed from the Shopify App Store. It works on every Shopify plan.
Step 1
Check your locations in Shopify
In your Shopify admin, go to Settings, then Locations. Make sure every warehouse, store and 3PL you fulfill from is listed and active.
The Nearest location rule measures from each location's address, so every location needs a complete address in Shopify.
Step 2
Add your first rule
Open AFR and go to the Rules tab. Choose Add rule, then pick three things:
- The rule type, such as Country or Order tag.
- What it matches: the countries, the tag or the start of the postcode.
- The fulfillment location that matching orders should move to.

Step 3
Run the rule on one order
Try the rule before you automate anything. Go to the Orders tab, find an order the rule should match and choose Run Rules on its row. The status shows what happened:
- Order moved: a rule matched and the order went to its location.
- Order split: part of the order moved and the rest stayed.
- At correct location: the order was already where the rule sends it.
- No matching rule: no rule matched and no default location is set, so the order stayed where Shopify put it.

To send an order somewhere yourself, choose Move To and pick the location.
Step 4
Switch on automatic processing
Open Settings. Under Order Processing, choose Automatically, then choose when AFR should check an order:
- When it is created: as soon as the order is placed.
- When it is paid: once payment is confirmed. Pick this if unpaid orders should stay where they are.
Tick Also re-check it when it is updated, until a rule matches to catch tags that Shopify Flow or another app adds after checkout.
Choose Through Shopify Flow instead, and add the AFR action, Move/Split Fulfillment Location, to a workflow. The workflow decides which orders are checked, and when.
Step 5
Choose how stock is handled
Two settings decide what happens when the destination is short of stock:
- Check Stock, on by default: an order moves only if the destination can fill it.
- Split Order, also on by default: the part the destination can fill moves there and the rest stays where it was. Turning it on also turns on Check Stock.
Then set a Default Location, so an order that matches no rule still has somewhere to go.