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:
- Navigate to Groups in the Admin Console.
- Select an existing group.
- Open the Dynamic membership rules tab.
- Select Add rule.
- Configure the General and Rule tabs as described below.
- Select Save.
General
The General tab contains the following settings:
| Setting | Description |
|---|---|
| Rule name | The name of the dynamic membership rule. |
| Description | An 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
| Type | Description |
|---|---|
| Native claim | Evaluates the value of a selected native claim. |
| Account | Evaluates a selected account value. |
Operator
| Operator | Description |
|---|---|
startsWith | Checks whether the source value starts with the comparison value. |
endsWith | Checks whether the source value ends with the comparison value. |
contains | Checks whether the source value contains the comparison value. |
regexMatch | Checks whether the source value matches a regular expression. |
equals | Checks whether the source value equals the comparison value. |
Comparison value
| Type | Description |
|---|---|
| Static value | Compares the source value with a predefined value. |
| Native claim | Compares 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:
| Setting | Value |
|---|---|
| Source value | Native claim – email |
| Operator | endsWith |
| Comparison value | Static 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.
Updated about 3 hours ago

