Streaming live at 10am (PST)

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.