Gamification and Leaderboard Triggers for Community Groups in Stack
This guide will walk you through setting up workflow triggers and actions based on community group membership in Stack. You'll learn how to award gamification points and manage leaderboard level changes, ensuring that workflows function correctly even if a user isn't part of the required community group.
Table of Contents
- Community Group Member Leaderboard Level Changed (Trigger)
- Grant Community Group Leaderboard Points (Action)
Community Group Member Leaderboard Level Changed (Trigger)
Trigger
This trigger activates whenever a user's leaderboard level changes within a community group.
Filters:
Set filters to specify the groups and levels to which this trigger applies.
Use Case:
Automatically send congratulatory emails or award points when a user reaches a new level.
How to Use:
- Navigate to the Workflow Setup Page.
- Choose the Trigger: Select User Group Gamification Level Changed from the list of available triggers.
- Configure Filters: Use filters to define conditions, such as specific groups or levels, ensuring the trigger activates only under these conditions.
Grant Community Group Leaderboard Points (Action)
Gamification Points Allocation
Action:
This action allows you to grant leaderboard points based on specific triggers.
Points to be Given:
Configurable via a dropdown in the workflow setup. Specify the number of points and the group they apply to.
Use Case:
Encourage user engagement by awarding points for completing desired actions, helping users climb the leaderboard.
How to Use:
-
Select the Grant Community Group Leaderboard Points Action:
- Choose this action to award points to users who complete specific actions within the group.
-
Configure Points and Group:
- Points: Set the number of points to be awarded.
- Group: Use the dropdown to select which group this applies to, ensuring only users from the chosen group receive points.
Note: If a member is not part of the group, the workflow execution will fail.