Automatically Delete adalo records

I am using

I am wanting to automatically delete all records in a database if one of their values is = 0.

Does anyone know how to write the Record ID.

Please let me know if you found the way to resolve this? I have the similar problem. I have to automate the task to delete the outdated bookings from the bookings collection in my booking app.