Solved

How to check if shipping costs/discount codes are set in a flow's trigger split

  • 2 September 2021
  • 1 reply
  • 156 views

Badge +2

Hey there,

nice to meet you guys.

 

I’m building an abandoned cart flow right now and i want to have a trigger split which checks if the checkout has shipping costs included and if a discount code is used? Right now i’m just checking the $value but that is not exactly what i need. I’m using Klaviyo with Shopify if that makes any difference.

 

Can anyone please help me with this?

 

Kind regards,

Michael

icon

Best answer by julie.accardo 4 September 2021, 17:04

View original

1 reply

Userlevel 5
Badge +34

Hi @MichaelKWD,

 

Thanks for reaching out to the Klaviyo Community!

 

Abandoned cart flows are generally triggered off of the “Checkout Started” Shopify event that syncs to Klaviyo. As you can see in this help article, if a discount code is entered at this point in the process, we should be syncing that data over as well. 

 

Trigger splits can be used to filter data from the triggering event (in this case, the Checkout Started event) so you should have the ability to filter off of discount code. You should see the option in the trigger split (not conditional split) dropdown that says “Discount Codes” as long as there has been at least one Checkout Started event in your account that has been triggered with a discount code.

 

Have a nice weekend!

Julie

Reply