I set up 2 flows, one for Add to cart API and other for Viewed product API. But it seems that they overlapse because it can happen someone view a product and add to cart, he will receive two emails.. how can I avoid that?
Best answer by caroline
I’d recommend having some type of delay in your Viewed Product flow.
For example, trigger the flow when a customer has a Viewed Product event. Next, have a one hour time delay (to allow customers enough time to add the product to their cart). Finally, add a filter to check that the customer has not had an Added to Cart event in the past hour. These measures will prevent your Viewed Product flow from sending to customers who have also had an Added to Cart event in the one hour period following the Viewed Product event.
Please let me know if you have any other questions.