Conditional E-Mail with Metrics

  • 13 April 2021
  • 1 reply

Badge +2

Hello everybody,

we want to create a flow that triggers on “Viewed Product”

The E-Mails should contain text based on if the profile has added it to cart or if checkout started. Example:

If not added to cart  → Click here to visit the product again
If added to cart → click here to return to cart
If checkout started → click here to complete checkout

How would I achieve this?


Best answer by elisegaines 13 April 2021, 21:05

View original

1 reply

Userlevel 5
Badge +25

Hi @marcmayo! This is a great question. There are two types of customer data that can be displayed in a flow: profile data (like custom profile properties), and data from within the event that triggered the flow (in this case, Viewed Product). This means that there is not a way to pull in data from other events, except for the specific event that triggered the flow. 

However, you can achieve something similar by using multiple flows (one triggered by Checkout Started, one triggered by Added to Cart, and one triggered by Viewed Product). Just make sure to use Flow Filters, so a customer doesn’t receive all three flows! (For example, you can include a flow filter like this on the Add to Cart flow: What someone has done > Started Checkout > zero times since starting tis flow. That way, those who do start a checkout will receive the Checkout Started flow instead of the Add to Cart flow.)