We are building a scheduling app. A user is able to schedule an event and we send out an email notification 30 mins before the event start time. When a new event is created, we create a Zap with delay until set to 30mins before event start. This works great.
However, when a user deletes or modifies the event 30 mins before the event start, we need to delete the delayed task so that the email is no longer sent. How is this possible ?
Also, is there a better approach to handle this use case ?