Skip to main content
Solved

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

  • September 2, 2021
  • 1 reply
  • 192 views

Forum|alt.badge.img+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

Best answer by julie.accardo

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

View original
Did this topic or the replies in the thread help you find an answer to your question?

1 reply

julie.accardo
Klaviyo Employee
Forum|alt.badge.img+36
  • Klaviyo Employee
  • 185 replies
  • Answer
  • September 4, 2021

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