I have a backend API endpoint that creates about ~1500 entries at 3AM everyday into my Bubble app. My issue is that I want to delete all the entries of that data type prior to the new entries being entered.
Timeline:
2:55 - Delete all entries for the data type (How should I do this?)
3:00 - Backend API Endpoint is triggered and new entries start being entered (I’ve done this through an external service)
Maybe you could mark those created thinks in some way (a new YES/NO field called “backend created” or something), or use the creation date field, then add a condition to the deleting action (“only when DATE CREATION is …”) ?
I’m new to bubble, but I’m doing something similar(not delete through) and I have a workflow that schedules itself. You can schedule from a list and the list you use can be a query with something created > 1 day.
Try using list shifter plugin and schedule the iteration. It will iterate over your list and you can then delete each iteration item.
You can also add all of the values inside one list, by making a relational database entry using a list of items. Not sure how to explain this while typing on mobile