How to delete CMS item after the date of an event has passed

Hello,

I am designing a website for an app called Webblen. Webblen shows users events in their area. I have connected the Webflow CMS to the app’s database on Firebase using Zapier. The problem I am trying to figure out is how to trigger a CMS item to be deleted/archived after the event is over.

I do have filter parameters set up to only display events happening in the future, but the collection item still exists in the CMS.

I would like for CMS items to be automatically deleted after the event is over.

I assume this will take some code, which is something I barely know how to do. Any help would be great.

https://preview.webflow.com/preview/webblens-first-project?utm_medium=preview_link&utm_source=designer&utm_content=webblens-first-project&preview=ccd1cdc66ad48d13ba600d4f5e2ff5aa&mode=preview

Have you found a solution for this?

I’m not familiar with Webblen, but one possible solution is to run scheduled Scenario’s within Make for this. You could run it every day/week/whatever and check if the event is over. If so, delete the CMS item.