Automation: Exclusion rules - Magento 2


Exclusion rules can be created to exclude abandoned cart and review emails being sent under certain conditions. A rule is made up of an attribute (e.g. subtotal) followed by a condition (e.g. 'is less than) and ending with a value (e.g. like a numerical one such as 10). Conditions are attributes and rules are made up with a condition followed by a value.

Your created rules will be listed under the ‘Exclusion Rules' page, where the ID is given, the rule's name, the rule's type, its status, when it was created, when it was last updated, and the website the rule applies to.


Creating an exclusion rule

Go to Marketing > Exclusion Rules and click Add New Rule in the top right to create a new rule.
Firstly, you need to add the rule information. This consists of a rule name, so you know what the rule is or does, what type of rule it is - abandoned cart or review email exclusion rule, the status of the rule - active or inactive, and which website the rule applies to.


Lastly, click Conditions in the side panel to add your conditions, and then click Add. You can add a single condition or multiple conditions, of which 'all' can be set as needing to match, or just 'any' of the multiple conditions need to be matched.

In the example below, the subtotal attribute must have a value less than 10 in order to exclude the contact from being sent an abandoned cart email.


Click Save and your rule will appear under 'Email Exclusion Rule(s)'. Click on it to edit it.

Click the ‘Action’ bin icon button to delete a rule.

Did you find this article helpful?

Can we help?

Thanks for using Dotdigital. If you need more help or support, then contact our support team.