Adding a button with function (Random)

I would like to add a button with this function:

  • When the user clicks this button, It shows any Post Randomly, I have 10 collection in firebase so I would like this button to show any post from those collections randomly when clicking or getting any post from my app and showing when clicking this button

Is this possible to add in Appgyver?