Assign badges based on likes given count
Recipe ToolsWorkatoDeveloper ToolAPI Integration
What it does
When someone triggers this automation via a function call, it retrieves their like count and checks it against badge thresholds. The appropriate badge tier is assigned automatically once the like count matches a range.
Who it's for
Operations teams who want to recognize user engagement through automated badge rewards.
Apps used
How teams use this
Recognize power users with badges
Assign a gold badge when someone reaches 100 likes, a silver badge at 50 likes, and a bronze badge at 25 likes. Each tier is assigned automatically as someone crosses the threshold.
Gamify engagement in a community platform
Integrate this automation into a community or social platform where badges appear on user profiles. The same logic applies and only the display context changes.
Add custom badge names and descriptions
Extend the automation to include badge metadata such as custom names, descriptions, and icons for each tier. Set these values in the award badge call so badges are more meaningful to someone.
How it works
- Receive function call with user data. A function call initiates this automation with the user information needed to look up their like activity.
- Fetch someone's total likes given. Query the system via Rest to retrieve the total number of likes someone has given across all messages.
- Assign badge based on like tier. Check the like count against badge thresholds and call the award badge endpoint to assign the appropriate tier to someone.