DOCS

v1.3.28
 // Pro v1.2.20

 · Latest

Docs/Build Rules/The Rule Builder

The Rule Builder

Overview

The Rule Builder is the interface for creating and editing automation rules. Open it by going to Order Daemon → All Order Rules and clicking Add New or opening an existing rule.

Tip: If you do not see the Order Daemon menu, confirm that both WooCommerce and Order Daemon are active and that your user has the Administrator or Shop Manager role.

Creating a rule

1. Name the rule

Enter a descriptive name at the top. The name appears in the Insight Dashboard when the rule fires, so a name like “Auto-complete digital products” is more useful than “Rule 1”.

2. Set the trigger

Under WHEN, click the trigger selector and choose the event that should start the rule. Each trigger may have additional options – for example, a status-change trigger lets you choose which status.

3. Add conditions (optional)

Under IF, click Add Condition to narrow which orders the rule applies to. You can add multiple conditions – all must pass for the rule to run.

To remove a condition, click the × on its row.

4. Choose an action

Under THEN, select the action to execute. Currently the core action is Complete order (change status to Completed).

5. Publish

Click Publish to activate the rule. A rule in Draft status does not run on live orders.

Editing a rule

Open any existing rule from the All Order Rules list. Changes take effect on the next order event after you click Update – already-processed orders are not re-evaluated.

Pro features in the Rule Builder

With Pro active, a Test This Rule panel appears in the sidebar. It lets you select an existing order and simulate whether the rule would fire, without placing a new order. See Testing Rules for details.

Pro components (triggers, conditions, actions not available in the free tier) unlock automatically when Pro is active. In the free plugin they appear with a Pro badge and are disabled.

Managing your rules

The All Order Rules screen lists all rules with their status (Published or Draft). From here you can:

  • Open a rule to edit it
  • Quickly see which rules are active
  • Delete rules you no longer need

Troubleshooting

My rule is not running

  • Confirm the rule is Published, not Draft
  • Confirm the trigger event actually occurred for the test order
  • Check the Insight Dashboard for a log entry – it will show which condition failed if the rule was evaluated but skipped

I see a Pro badge on a component I want to use

  • That component requires the Order Daemon Pro add-on. Activate Pro to unlock it.