Missing Town & Region Fix
Fill empty Town and Region fields in the delivery and billing addresses of your Linnworks orders automatically, so orders are ready for labels and couriers.
Overview
Missing Town and Region Fix is an automated address-cleaning solution for Linnworks. It fills any empty Town and Region fields in the delivery and billing addresses of your orders.
The macro runs through the Linnworks Rules Engine. An empty Region is filled with the region you choose in the settings. An empty Town is then filled with the Region of the same address.
Each address is checked on its own, so an incomplete billing address is fixed even when the delivery address is complete. Values that are already filled in are never changed.
Missing Town and Region Fix helps you avoid courier rejections, reduce manual address checks and keep your order addresses complete.
Fills empty fields
Empty Town and Region fields are filled in both the delivery and billing addresses.
Runs automatically
The Rules Engine sends matching orders to the macro. You only choose one default region.
One simple setting
Enter the region to use when an address has none, for example Greater London.
Video Walkthrough
Configure the Macro
Once the app is installed, please create a macro configuration. This tells Linnworks which macro to run and which default region to use.
You can change this set-up at any time to suit how you work.
Steps to Configure
Go to Apps > Macro Configuration and click + Add new configuration.

Select the MissingTownAndRegionFix macro and click Create Configuration.

In the Macro Configuration screen, add the configuration name and your default region. Then click Save.

This macro has one required setting:
| Parameter | Required | Description |
|---|---|---|
| RegionName | Yes | The region used when an address has an empty Region. If left blank, the macro stops and no orders are changed. |
For example, enter:
Greater London
When an address has no Town and no Region, both are filled with this value. Please choose a value that also reads well as a town on your shipping labels.
Please make sure the macro is enabled so you can use it in the Rules Engine.

Note: If the macro is not enabled, it will not appear in the Action value list when you set up the rule.
Go to Orders > Rules engine and click + Add new rule.

Enter the rule name and click Create.

Click Add new, select Condition, set the condition as required and save it.


You may find it helpful to pick orders that often arrive without a Town or Region. For example, use orders from a particular channel.
Add the macro action and click Save.


In the Add action window:
- Enter an Action name, for example
Missing Town And Region Fix - Set Action type to
Execute a macro - In Action value, select
Missing Town And Region Fix - Click Save
Note: If the macro is not enabled, it will not appear in the Action value list when you set up the rule.
Review the saved rule.

- Check that the condition and action are connected correctly
- Click Save in the bottom-right corner to save the rule
Who Should Use Missing Town and Region Fix
Warehouse & Fulfilment Teams
Fewer orders need a manual address fix before picking, packing and printing labels.
Logistics Teams
Addresses are complete before they are sent to your couriers, so fewer labels fail.
Linnworks Administrators
Administrators set up the macro, enable it for the Rules Engine and choose which orders it runs on.
Operations & Customer Service Teams
Delivery and billing addresses stay consistent across your orders.
Key Features
Fills empty Regions
An empty Region is filled with the default region you choose.
Fills empty Towns
An empty Town is filled with the Region of the same address.
Delivery and billing addresses
Both addresses are checked and fixed separately.
Keeps your existing values
A Town or Region that is already filled in is never changed.
Safe for large batches
One problem order does not stop the rest, and no order is left half updated.
Runs from the Rules Engine
Matching orders are fixed automatically, or you can run it on orders you choose.
How Missing Town and Region Fix Works
Missing Town and Region Fix follows the same steps each time it processes one or more orders. The Rules Engine starts it and sends it the matching orders automatically.
Step 1: Check the default region
The macro checks that a default region is set. If it is blank, the macro stops and no orders are changed.
Step 2: Read the orders
The macro reads the delivery and billing address of each order. An order without both addresses is skipped.
Step 3: Fill the delivery address
An empty delivery Region gets your default region. An empty delivery Town then gets the delivery Region.
Step 4: Fill the billing address
The billing address is checked and filled in the same way, separately from the delivery address.
Step 5: Save the order
If any field was filled, the macro saves the address to the order. If nothing was empty, the order is left as it is.
Key Benefits
Missing Town or Region values often stop labels printing or cause couriers to reject an order. This macro fixes them before your team has to.
Spend less time checking addresses and more time getting orders out of the door.
Fewer manual checks
Your team no longer needs to look through orders for empty Town and Region fields.
Fewer label failures
Complete addresses mean fewer problems with courier checks and shipping labels.
Quick to set up
One setting and one rule are all it needs.
Safe to run again
Orders that are already complete are skipped, so running the rule again does no harm.
Usage of App
Missing Town and Region Fix runs through the Linnworks Rules Engine to fill empty address fields on the orders you choose.
Execution
Once your rule is active, the macro runs automatically on every order that matches it. You can also run it yourself on the orders you choose. This is handy for testing, or for orders that need it straight away.
Quick path: Orders > Open Orders → select your orders → Actions → Other actions → Run rules engine → Missing Town And Region Fix
Select your orders
Go to Orders > Open Orders and tick the box next to each order you want the macro to process.
Open the Actions menu
Click the Actions button at the top left of the screen. You can also right-click any of the selected orders.
Go to Other actions > Run rules engine
Point to Other actions, then Run rules engine. A list of your rules appears.
Choose your rule
Click the name of the rule you created in Step 6 of Steps to Configure, for example Missing Town And Region Fix. The macro runs on the selected orders straight away.

Good to know: The rule's conditions still apply, so the macro only changes selected orders that match them. If you choose All instead of your rule's name, every active rule runs on the selected orders.
Outcome
When the macro runs on an order, it:
Finds the empty fields
It looks for an empty Town or Region in the delivery and billing addresses. A field with only spaces counts as empty.

Fills them in
An empty Region gets your default region, for example Greater London. An empty Town gets the Region of the same address.

Saves the order
The updated address is saved to the order only. The customer record in Linnworks is not changed, and no order note is added.
Input Parameters
You enter this macro's only setting, RegionName, in Step 3 of Steps to Configure. Please make sure it has a value. If it is blank, the macro stops and no orders are changed.
The Rules Engine sends the matching orders to the macro automatically, so you do not need to enter any order numbers.
The following behaviour is built into the macro and cannot be changed on the Macro Configuration screen:
| Setting | Description |
|---|---|
| Fields checked | Town and Region, in both the delivery and billing addresses. |
| Empty field | A field that is blank or contains only spaces. |
| Existing values | Never changed. Only empty fields are filled. |
| Customer record | Not changed. The address is updated on the order only. |
Address Update Rules
The macro applies these rules to the delivery address and the billing address separately:
| When the address… | The macro… |
|---|---|
| Has an empty Region | Fills the Region with your default region. |
| Has an empty Town | Fills the Town with the Region of the same address. |
| Has no Town and no Region | Fills both with your default region. |
| Already has a Town and a Region | Leaves it unchanged. |
For example, with Greater London as the default region:
| Field | Before | After |
|---|---|---|
| Delivery Region | Empty | Greater London |
| Delivery Town | Empty | Greater London |
| Billing Region | London | London |
| Billing Town | Empty | London |
Best Practices
Test the macro on a few orders with different missing fields before using it on all your orders.
Choose your region carefully
Pick a value that suits your couriers and also reads well as a town.
Use targeted rule conditions
Set up the Rules Engine so the macro runs only on the orders that need it.
Test before enabling at scale
Run the macro on a few test orders first before switching it on for all orders.
Run before printing labels
Let the macro fix addresses before courier checks and label printing.
FAQ
How is Missing Town and Region Fix triggered?
The macro runs through the Linnworks Rules Engine. When an order matches your rule, the Rules Engine sends it to the macro automatically.
Can I run the macro on an order straight away?
Yes. In Orders > Open Orders, select the orders, then go to Actions > Other actions > Run rules engine and choose your rule's name.
Does the macro need any settings?
Yes, one. Enter your default region in RegionName in Step 3 of Steps to Configure. If it is blank, the macro stops and no orders are changed.
Will the macro change a Town or Region that is already filled in?
No. Only empty fields are filled. Existing values are always kept.
What happens when both the Town and the Region are empty?
The Region is filled with your default region first. The Town is then filled with that same value.
Is the billing address fixed if the delivery address is already complete?
Yes. Each address is checked separately, so an incomplete address is fixed even when the other one is complete.
Why was my order not changed?
The macro leaves an order unchanged when both addresses already have a Town and a Region. It also skips an order that has no delivery or billing address.
Does the macro update the customer record or add an order note?
No. It only updates the address on the order itself.
What happens if I select a lot of orders at once?
Linnworks stops a macro after a set time. The macro never starts an order it cannot finish in time, so no order is left half updated. If some orders were not reached, please run the rule again. Orders already fixed are skipped.
What happens if one order cannot be updated?
The macro notes the problem in the macro log and carries on with the remaining orders.
Legal Information
- Privacy Policy: https://rishvi.co.uk/privacy-policy/
- Terms and Conditions: https://rishvi.co.uk/terms-conditions/
Please review these pages to understand how data is handled and the terms that apply to this application.
Summary
Missing Town and Region Fix fills empty Town and Region fields on the Linnworks orders you choose.
Once it is set up through the Rules Engine, the macro checks both addresses, fills the empty fields and saves the order. Values you already have are never changed.
Complete addresses
Empty Town and Region fields are filled in both addresses.
Your own settings
You choose the default region used for empty fields.
Safe updates
Existing values are kept, and complete orders are skipped.
Rules Engine automation
Matching orders are sent to the macro automatically through your Linnworks rule.
If an order does not give the expected result, please check that the macro configuration is enabled and that the order matches your rule's conditions. Please also check that RegionName has a value.