Dynamic group membership

Dynamic group membership allows accounts to be automatically assigned to groups based on their account data. Instead of manually managing individual group memberships, you can define rules that determine which accounts qualify for membership in a group.

Accounts are automatically added to a group when they meet the defined conditions and removed when they no longer meet them. Dynamic and manual group memberships can coexist within the same group.

Membership evaluation

Dynamic membership rules determine group membership based on native claim or account values.

  • When an account meets the conditions of a dynamic membership rule, it is automatically assigned to the group.
  • When an account no longer meets the conditions, its dynamic group membership is removed.
  • Manually assigned group memberships are not affected by dynamic membership rules.
📘

Creating or modifying a dynamic membership rule does not immediately reevaluate all existing accounts. Dynamic memberships are updated when the account is next updated or during the customer's next login.

Configuration

Dynamic membership rules are configured individually for each group.

To create a dynamic membership rule:

  1. Navigate to Groups in the Admin Console.
  2. Select an existing group.
  3. Open the Dynamic membership rules tab.
  4. Select Add rule.
  5. Configure the General and Rule tabs as described below.
  6. Select Save.

General

The General tab contains the following settings:

SettingDescription
Rule nameThe name of the dynamic membership rule.
DescriptionAn optional description of the rule and its purpose.

Rule

The Rule tab defines the conditions that determine whether an account qualifies for group membership.

Each condition consists of a source value, an operator, and a comparison value.

Source value

TypeDescription
Native claimEvaluates the value of a selected native claim.
AccountEvaluates a selected account value.

Operator

OperatorDescription
startsWithChecks whether the source value starts with the comparison value.
endsWithChecks whether the source value ends with the comparison value.
containsChecks whether the source value contains the comparison value.
regexMatchChecks whether the source value matches a regular expression.
equalsChecks whether the source value equals the comparison value.

Comparison value

TypeDescription
Static valueCompares the source value with a predefined value.
Native claimCompares the source value with the value of another native claim.

Additional conditions can be added using the + button below the condition.

Example

A brand wants to automatically assign customers with an email address belonging to a specific company domain to a dedicated group.

The dynamic membership rule can be configured as follows:

SettingValue
Source valueNative claim – email
OperatorendsWith
Comparison valueStatic value – @example.com

Accounts with an email address ending in @example.com qualify for dynamic membership in the group.

Reviewing dynamic group memberships

The Members tab of a group lists its members, including accounts assigned manually and dynamically.

The Dynamically assigned column indicates whether an account has been dynamically assigned to the group.


Did this page help you?