Skip to main content

Hi Klaviyo Community,
I have a question about canceling scheduled events. My app integrates with Klaviyo and works like this:

  1. When a customer leaves a product review on our store, my app immediately sends a trigger to Klaviyo to start an email campaign sequence.

  2. In this campaign, I've set up a delayed email that sends 3 days after the review is submitted.

  3. My issue: If a customer deletes their review on day 2 (before the email is sent), is there a way to cancel the previously triggered email event in Klaviyo?

I'd like to prevent emails from being sent when the original review has been removed. Is there a method to cancel or withdraw a triggered event that's already in Klaviyo's queue?
Thanks for your help!

Hi ​@Jayden,

Did you design this app using Klaviyo’s APIs? If so, you could use the Cancel Campaign Send API to cancel the campaign whenever somebody deletes their review. If your store registers when a review is deleted, you should be able to trigger this API call on your app when that happens.

That being said, the way you described the email campaign above, it almost seems to be a flow you’re sending. Can you confirm whether customers are receiving a campaign email, or a flow email? If it’s a flow, you could prevent them from receiving the email in the flow using profile filters. Do you have a “Deleted Review” event or something similar to that? If so, you could add a profile filter onto the flow that states “Deleted Review zero times since starting this flow.” That way, if anybody were to delete their review, they’d be removed from the flow. If you don’t have an event that sends to Klaviyo when somebody deletes a review, you might want to create one using the Create Event API.

Let me know if the above makes sense, or if I can answer any more questions!

-Byrne


Reply