Give users a chance to win randomized leaderboard points whenever they complete a quest.
Overview
Reward users with a randomized amount of leaderboard points automatically whenever they complete a quest. This template listens for a "quest completed" webhook, runs a weighted wheelspin to pick a points prize, then adds those points to a specified leaderboard with an auditable reason.
How it works
Weighted Random Value action that selects one prize from the configured prize pool.Add Points action writes the selected points amount to the configured leaderboard for the user (uses userId and communityId from the trigger).Built-in steps in this template
id, community.id, and other claim info via the webhook.Setup (what to provide)
mainnet).Inputs schema
leaderboardId (String, required) — dynamic field pointing to the Domino leaderboard to credit.network — provided as a static input; this template includes it for context but the point award is handled by Domino leaderboard actions.Customizing the wheelspin
Weighted Random Value step. Replace or reorder values and adjust probabilities to create custom odds.reason field on the Add Points action to reflect different campaigns (e.g., "Launch Spin", "Daily Bonus").Important notes & best practices
Weighted Random Value action; the Add Points action consumes that output. If you change types, confirm the Add Points input accepts them.continueOnError to false — failures will stop the run. You can change this if you prefer to continue on downstream errors.Logs & verification
Tip
Start with low-value prizes and run multiple test claims to confirm expected behavior before enabling this template on high-traffic or high-value quests. Adjust probabilities to control average payout and perceived rarity.

Discover more templates that work with Domino Quests and Randomness and other Web3 applications. Expand your automation capabilities with these complementary workflows.



Domino Lets Anyone
Build Easy Web3 Automations
Do more with your dApps without technical skills or a coding know-how. Domino makes it easy to build and share new functionality for protocols, no matter if you're part of the team or the community!

Start using Domino in minutes. Use automations created by the others or build your own.
