Use Player Leaderboards
Submitting Score
Input
You need to exchange the TriggerSubmitScore
event for whatever event you want to use to trigger this flow.
Replace the input variables with the data you want to submit to the leaderboard.
Output
We recommend branching the completed events on the success flag in the response, and if you do this, you will probably want to add error handling in case the request fails as well as what (if any) continued actions you want on success.
Get Leaderboard Entries
Input
You need to exchange the TriggerGetScores
event for whatever event you want to use to trigger this flow. Replace the input variables with your leaderboard key, and how many items you want to get.
Output
We recommend branching the completed events on the success flag in the response, and if you do this, you will probably want to add error handling in case the request fails as well as what (if any) continued actions you want on success. If you want to fetch more items on the score list, you'll want to save the pagination information for later use.
Get single Entry on Leaderboard
Input
You need to exchange the TriggerGetScores
event for whatever event you want to use to trigger this flow. Replace the input variables with your leaderboard key and what member you want to fetch.
Output
We recommend branching the completed events on the success flag in the response, and if you do this, you will probably want to add error handling in case the request fails as well as what (if any) continued actions you want on success.
Last updated