Skip to main content

How to setup a Failed Payment flow in Shopify Flow


Christiannoerbjerg
Expert Problem Solver II
Forum|alt.badge.img+12

Hi Klaviyo community! 

The fastest way to setup a Failed Payment metric inside of Shopify to push events to klaviyo is by the following route. 

  1. Download Shopify Flow as an app in your Shopify dashboard. 
  2. Create an automation, which triggers, when a transaction have been created. 
  3. Setup a condition, so the automations runs, when the status equals failure. 
  4. Click “Action” and track an event to Klaviyo, which make a post request to push an event to Klaviyo. 
  5. Include your public API-key, the name of the metric “Failed Payment”. Include the customers e-mail address, the first name, the last name, the order ID as an event property, to be included into the activity details of the metric. 

Hope that helps or else, let me know! :-) 

Christian Nørbjerg Enger
Partner & CPO
Web: Segmento.dk
LinkedIn: @christianfromsegmento
Voldbjergvej 22b, 8240 Risskov

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

3 replies

Byrne C
Community Manager
Forum|alt.badge.img+10
  • Community Manager
  • 58 replies
  • January 6, 2025

Hi Christiannoerbjerg,

 

Thanks for sharing your knowledge with the Klaviyo Community! It’s super valuable when Klaviyo users share their learnings, and I really appreciate how you came up with a solution to setup a Failed Payment metric through the Shopify integration, rather than by needing to use another integration to get that done. We know there are lots of other business owners and brand builders who may have this question in the future, so it's incredibly helpful that you shared this today!

 

Have a fantastic rest of your week!

 

-Byrne


Christiannoerbjerg
Expert Problem Solver II
Forum|alt.badge.img+12

Hi ​@Byrne C 

Thank you so much for the comment! :-) 

Christian Nørbjerg Enger
Partner & CPO
Web: Segmento.dk
LinkedIn: @christianfromsegmento
Voldbjergvej 22b, 8240 Risskov


Amos Peace
Problem Solver III
Forum|alt.badge.img+5
  • Problem Solver III
  • 47 replies
  • January 7, 2025

Thanks for sharing..

This is really helpful.