Profile: Current User Group

User Groups in Capillary represent collections of users (customers or contributors) grouped together for participating in group-based loyalty programs or business engagements, particularly useful for B2B and B2C loyalty scenarios.

This profile allows you to write conditions based on the properties of the user group that is currently involved in the activity.

Attributes - Group Identity

The below grouping of attributes is based on user group identity information.

AttributesDefinitionLink
nameUser Group's Name.Learn More
externalIdUser Group's External ID.Learn More
createdDateDate when the user group was created.Learn More

Attributes - Group Membership

The below grouping of attributes is based on user group membership information.

AttributesDefinitionLink
memberCountTotal number of members in the user group.Learn More

Attributes - KPI based on Points

The below grouping of attributes is based on the Key Performance Indicators on user group's points.

AttributesDefinitionLink
currentPointsUser Group's current redeemable points.Learn More
initialCurrentPointsUser Group's current redeemable points before evaluating the event.Learn More
currentAllPointsThe sum of all Points, redeemable as well as Promised Points for the group.Learn More
initialCurrentAllPointsThe sum of all Points before evaluating the event.Learn More
currentNonRedeemablePointsUser Group's current non-redeemable points.Learn More
lifetimePointsTotal points earned by the user group from the date of creation.Learn More
lifetimeAllPointsThe sum of lifetimePoints and lifetimeNonRedeemablePoints for the group.Learn More
lifetimeNonRedeemablePointsTotal non-redeemable points earned by the user group from date of creation.Learn More
initialLifetimePointsUser Group's lifetime redeemable points before the current event.Learn More

Attributes - KPI based on transaction data

The below grouping is done based on the Key Performance Indicators on the user group's transaction data.

AttributesDefinitionLink
numberOfTxnsNumber of transactions since the creation date of the user group.Learn More
numberOfTxnsTodayNumber of transactions made by the user group on the current day.Learn More
numberOfVisitsNumber of unique days when the user group made transactions.Learn More
lifetimePurchaseUser Group's purchases since creation including current transaction's purchase.Learn More
initialLifetimePurchaseUser Group's purchase since creation before current transaction's purchase.Learn More

Attributes - Slab Information

This grouping of attributes is done on the basis of Tier/Slab Information associated with the user group's loyalty.

AttributesDefinitionLink
initialSlabNameInitial slab name of the User Group before evaluating an event.Learn More
initialSlabNumberInitial slab number of the User Group before evaluating an event.Learn More
slabNameUser Group's current tier name.Learn More
slabNumberCurrent User Group slab number (e.g., 10, 1, 3, etc.).Learn More
slabChangeDateDate when the user group's slab was last changed.Learn More
slabExpiryDateDate when the user group's current slab will expire.Learn More

Attributes - Extended Fields

The below grouping of attributes is based on extended fields configured at the organization level for user groups.

AttributesDefinition
extFieldugextfieldnameAccess extended field values for the user group. Replace "extfieldname" with the actual extended field name configured for your organization (e.g., extField_ug_primary_user, extField_ug_registration_date").