Creating and managing rules
You can choose from a series of attributes, conditions and effects to create rules for your campaigns with full flexibility.
You can build more than one rule within the same campaign. In this case, the Campaign Manager evaluates all of them in the order in which they appear.
Creating a rule
You can create rules of the following types:
Creating a promotion rule
Promotion rules allow you to define conditions
and effects following the logic WHEN <this happens> THEN <do this>
. At least one condition
and one effect are required in each promotion rule.
Click the Rule Builder section on the left-side menu of the campaign where you want to create the rule.
In the Promotion rule tab, click Create Rule.
ImportantTo create a promotion rule in an item campaign, ensure you have created a cart item filter first.
Type a name for your rule.
In Conditions, click Add condition.
noteYou can click Always trigger effects if you want any effects that you add to take place for every customer session update.
Choose a type of condition.
noteReferrals, coupons and loyalty conditions are only available if you have enable these features.
Set the required values and the necessary attributes.
Click Done.
In Effects, click Add effect.
Choose a type of effect.
Set the required values and attributes.
Click Done.
Click Save at the top-right of the page.
Activate your campaign for your rule to start working.
Creating a strikethrough rule
Strikethrough rules allow you to set per-item effects using cart item filters that filter items by attribute value. At least one effect is required in each strikethrough rule.
To create a strikethrough rule, ensure you have:
- Connected a cart item catalog to your Application.
- Enabled the strikethrough feature in your campaign .
- Created at least one cart item filter that filters by attribute value.
- Click the Rule Builder section on the left-side menu of the campaign where you want to create the rule.
- In the Strikethrough rule tab, click Create Rule.
- Type a name for your rule.
- In Effects, click Add effect.
- Choose a type of effect.
- Set the required values and attributes.
- Click Done.
- Click Save at the top-right of the page.
Activate your campaign and start testing your rule.
Editing a rule
You can modify the title of a rule, and one or more of the conditions and effects. For example, to change the value of a discount or to edit a notification.
If the rule is a strikethrough rule, you can edit only the title and effects.
- Click the Rule Builder section on the left-side menu of the campaign containing the rule.
- Click the rule you want to edit.
- Edit the required part of the rule.
- Click Save at the top-right of the page.
Duplicating a rule
You can copy a rule to duplicate it and edit part of it, such as the value of a discount. This way, you create a new, similar rule without having to build it from the beginning. You can only copy rules within the same campaign.
Rules can be copied as promotion rules or as strikethrough rules if the strikethrough feature is enabled in the campaign.
Click the Rule Builder section on the left-side menu of the campaign containing the rule.
Click the two-square symbol to the right of the rule you want to duplicate.
Choose to copy the rule as a strikethrough rule or as a promotion rule.
If you copy a rule as a strikethrough rule, edit the title and effects.
noteYou can only copy a promotion rule as a strikethrough rule if its effects are per-item and the list of cart items is a cart item filter that filters by attribute value.
If you copy a rule as a promotion rule, edit the title, conditions, and effects.
noteIf you copied it from a strikethrough rule, the default condition is Always trigger effects.
Click Save at the top-right of the page.
Deleting a rule
You can delete rules that you do not need anymore.
- Click the Rule Builder section on the left-side menu of the campaign containing the rule.
- Click the trash bin symbol to the right of the rule you want to remove. It can be a strikethrough rule or a promotion rule.
- Confirm by clicking Delete Rule: <rule name> in the pop-up that appears.
The rule disappears from the Rule Builder section of your campaign.