Create an automation rule
Build a rule with a trigger, conditions and an action, enable it, and check it worked. Includes three worked examples: notify on rush orders, set priority from the service level, and email when a purchase order is received.
Who can use this. Automations create to make a rule, Automations update to enable it. Rules that change orders also need Sales orders update and access to all warehouses.
A rule is: when something happens, if it matches, then do one thing. You build it in a slide-out on Automation rules.
Before you start
- For a Notify rule, create the channel first (see Set up a notification channel).
- Decide the one action. A rule does one thing; for two things, make two rules.
- A rule applies to the whole workspace. Add a Warehouse condition if it should apply to one warehouse.
Steps
- 1
Open Automation > Automation rules and press New rule. The slide-out New automation rule opens.

- 2
Enter a Name that says what the rule does, for example
Hold EDI backorders. Add a Description (optional). - 3
Choose the Trigger event: Order created, Order updated, PO created, PO updated or Integration alert.
- 4
Under When, choose Match ALL or Match ANY, press Add condition, and pick a Field, an Operator and a Value. Use Add group for a nested set. If you add no conditions the rule applies to every event of that trigger.
- 5
Under Then do, choose the action and fill its fields (a Notification channel, a Hold reason, a Carrier, a Priority or a Service level).
- 6
Press Create rule. The message says the rule was created but is disabled.
- 7
In the rule's row menu choose Enable, then Enable rule. The status becomes Active.
- 8
Test it: cause a matching event in the demo company and look for the run on Automation runs.
Example 1: tell the team about every rush order
| Part | Setting |
|---|---|
| Name | Rush order alert |
| Trigger event | Order created |
| When | Match ALL. Priority is rush. |
| Then do | Notify. Notification channel: your Slack or Teams channel. |
Each new rush order posts a line such as [ArdentWMS] Rule "Rush order alert" fired on order_created for SO-1001 to the channel. The message names the rule and the order, nothing else. Text conditions are compared exactly, including capital letters, so type the value the way it is stored on your orders. If unsure, open a rush order and copy its priority.
Example 2: make next-day orders rush
| Part | Setting |
|---|---|
| Name | NDA means rush |
| Trigger event | Order created |
| When | Match ALL. Service level is NDA. |
| Then do | Set priority. Priority: Rush. |
The order's priority is changed when the rule runs. The change does not fire the Order updated trigger, so rules can't loop. The order must not already be Shipped or Cancelled. Because this rule changes orders, you need Sales orders update and access to all warehouses to save it.
Example 3: email the buyer when a purchase order is received
| Part | Setting |
|---|---|
| Name | PO received email |
| Trigger event | PO updated |
| When | Match ALL. Status is Received. |
| Then do | Notify. Notification channel: an Email channel. |
The trigger fires whenever a PO's status, expected date or supplier changes, and the condition keeps only the change to Received. Email needs the email provider to be configured for your environment; if it is not, the run shows Failed (see Notification channels).
Note. There is no trigger for backorders, short picks or wave releases today, and no action to create a task or add a tag. Rules can notify, hold an order, or set its carrier, priority or service level.
What happens next
- From now on, each new matching event is picked up within about a minute and a row appears on Automation runs.
- Events the engine has already processed are not run again for a new rule.
- Edit changes apply to later events. Disable stops the rule at any time without losing it.
- Several rules can match the same event; each one runs once.
If something goes wrong
It was created but nothing happens.
New rules are Disabled. Enable it. Then see My automation rule didn't fire.
Saving says Give the rule a name.
Name is required.
Saving says A notify rule requires a notification channel.
Choose a channel under Then do. Create one first if the list is empty.
Saving says Hold order requires a non-empty reason, or Set carrier requires a carrier.
Fill the field the action needs.
Saving says a rule that changes orders needs update rights on sales orders in all warehouses.
Ask an admin for the right, or use a Notify rule.
Can I undo what a rule did?
A rule's change is a normal change to the order. Undo it on Orders, for example by releasing the hold or changing the priority. Disable the rule so it does not repeat.
Related articles
- Automation rulesAutomation rules react to events such as a new order or a changed purchase order: when the event matches your conditions, the rule sends a notification or changes the order. Create, edit, enable and delete rules here.
- Set up a notification channelAdd a Slack, Microsoft Teams, webhook or email destination so Notify rules have somewhere to send.
- Automation runsAutomation runs is the log of what the automation rules did and the list of events they picked up. Use it to confirm a rule fired, read why it failed, and replay an event that gave up.
- My automation rule didn't fireA checklist for when an automation rule did not notify or change an order: enabled, trigger, conditions, channel, skips and the queue.
- OrdersThe Orders screen lists every sales order for the selected warehouse. Open an order to see everything about it and edit it as far as its stage allows. Create orders, allocate stock, ship, waive an SLA or cancel from here.
Updated November 29, 2026