To copy and paste the above example into your editor, look here.
Input
You need to exchange the SubmitClanScore 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.