Skip to main content

Available conditions

Conditions determine when the effects of a rule are applied, following the logic WHEN this happens THEN do that. A condition always evaluates to true or false and can check any data inside Talon.One.

Conditions are checked when the Rule Builder receives an event. Events are updates to a customer session. Events are a technical concept, read more about them in the Developer docs.

example

Check if the cart's value is greater than $200. If the cart's value is equal or less than $200, the condition is false. Otherwise it is true and the effects of the rule are applied.

The available conditions appear sorted by these categories:

Attribute conditions

Condition nameDescription
Validate attribute valueValidates the value of an attribute. For example: Cart value greater than $200.
Check presence of attribute valueChecks if a given custom attribute, such as Artist Id is set.

Audience conditions

Condition nameDescription
Is member of an audienceChecks if the current customer is a member of the selected audience.
Is not member of an audienceChecks if the current customer is not a member of the selected audience.
Has joined an audienceChecks if the current customer has joined the selected audience.
Has left an audienceChecks if the current customer has left the selected audience.

Coupon conditions

Condition nameDescription
Coupon can be created

Validates if the budget still allows coupon creation for the current user (for use in rules without a create coupon effect).

The coupons feature must be active in the Campaign.

Coupon code is valid

Checks if the coupon code is valid.

If it is and the rule is triggered, the coupon is redeemed automatically.

The coupons feature must be active in the Campaign.

Coupon code is valid (without redemption)

Checks if the coupon code is valid.

If it is and the rule is triggered, the coupon is not redeemed.

The coupons feature must be active in the Campaign.

Event conditions

Condition nameDescription
Check for event types and validate custom event values

Checks whether a default event exists or validates the value of a custom event.

To send a custom event, see the Developer docs.

Loyalty conditions

Condition nameDescription
Check customer's tier

Checks if the customer's tier is the selected tier.

The loyalty feature must be active in the Campaign.

Group conditions

Condition nameDescription
Create a group of conditionsGroups multiple conditions to create advanced condition logic.

Referral conditions

Condition nameDescription
Referral code is valid

Checks if the referral code is valid.

If it is, the referral code is automatically redeemed when the rule is successfully triggered.

The referrals feature must be active in the Campaign.

Referral code is valid (without redemption)

Checks if the referral code is valid.

If it is, the referral code is not redeemed when the rule is successfully triggered.

The referrals feature must be active in the Campaign.