# How to make your app create a list automatically

**URL:** <https://community.thunkable.com/t/how-to-make-your-app-create-a-list-automatically/3636916>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [March 8, 2025, 12:55am UTC](https://community.thunkable.com/t/how-to-make-your-app-create-a-list-automatically/3636916 "2025-03-08T00:55:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![egiannotta92w13v7y](https://avatars.discourse-cdn.com/v4/letter/e/b5e925/32.png) [@egiannotta92w13v7y](https://community.thunkable.com/u/egiannotta92w13v7y)\
**Post date:** [March 8, 2025, 12:55am UTC](https://community.thunkable.com/t/how-to-make-your-app-create-a-list-automatically/3636916/1 "2025-03-08T00:55:28Z")

</div>

I’m working on an application for the exchange and booking of services. I’ve reached a point where it is necessary for the user who offers services to be able to set rules for the start time, end time, and an average duration for each service. This way, the user who books the service will have the necessary rules to generate a list of available time slots, which are then updated based on availability saved in Firebase.

To explain it better:

- Start time: 9:00 AM
- End time: 1:00 PM
- Average service duration: 30 minutes

Once the professional saves this information in the database, when their profile is viewed, a list should be generated with time slots like 9:00, 9:30, 10:00, 10:30, etc. These slots should be either highlighted in red or crossed out if a booking already exists or if that specific time on that day is marked as ‘booked’ or something similar.

The problem is that I have no idea how to insert the elements into an **app variable: empty list** to then update the **Simple List Viewer** , or rather, what the best method is to achieve the desired result.

I hope I explained myself well, thanks in advance for your help!

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [March 17, 2025, 8:12am UTC](https://community.thunkable.com/t/how-to-make-your-app-create-a-list-automatically/3636916/2 "2025-03-17T08:12:37Z")

</div>

Hello @egiannotta92w13v7y  
You will need to have a condition that checks the bookings on Firebase and if they already exist to cross out these slots.  
The best way to create the list is to use clone blocks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [June 15, 2025, 8:12am UTC](https://community.thunkable.com/t/how-to-make-your-app-create-a-list-automatically/3636916/3 "2025-06-15T08:12:48Z")

</div>

Closed on June 15, 2025, 8:12am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
