How to build a randomizer app?

Hi! I am a complete newbie to no-code app building.
So I am trying to build a simple randomizer app that fetches you a task on the press of a button.
So basically I want it to go like this:
Select category > Tap shuffle button > 2 second loading screen > Result
Can someone help me with this, please?

Add a Data collection and fill it with all your tasks. Then add a custom collection for your tasks, set the max item count to 1, and the sort to Randomly. Then add a button and set the action to “Shuffle order”.

Thank you! Do you know how I can add a loading screen inbetween the tasks of pressing the shuffle button and getting the random task?

It isn’t really needed but if you still want one you can set your button’s action to a Workflow with these steps:

  • Wait 2 seconds
  • Shuffle order

Actually, I have created a small 2-second animation that I want to show when the app is opened/when you shuffle. So I wanted to know for that

  • Add a roll dice column.
  • Choose the seed as the current time.
  • Choose the sides count as the number of tasks that you have. You can do this dynamically by having a rollup count of all your tasks.
  • Use a single value column > from start > roll dice value on the list of tasks, and you should have one that changes every 10 seconds or so.
  • Structure your flow around that. The “fetches” part is just aesthetic at that point because the randomizing is on the backend.
1 Like

I am a little unclear on this part:

  • roll dice value on the list of tasks, and you should have one that changes every 10 seconds or so.
  • Structure your flow around that. The “fetches” part is just aesthetic at that point because the randomizing is on the backend.