Forum Discussion

sarahgriffin's avatar
sarahgriffin
Active Member
2 years ago

Shopify Abandoned Cart Link Integration / Automation

Hi all, Wanted to see if anyone here has any experience integrating an abandoned cart link from Shopify into a Canvas in Braze, and in turn, how I'd automate or "trigger" the event of an abandoned c...
  • Arso's avatar
    2 years ago

    Hi Sarah,

    If your Shopify integration with Braze is done, it's very simple. 

    Look for the event shopify_abandoned_cart. This is the default name of the event and you can use it as a trigger for the canvas/campaign. Once this is done, look for the event property that contains the product url and access it with {{event_properties.${line_items}[0].propertyName}}. If the event doesn't have a product url, you can get access the sku or the product_id property and use them to build the product url. 

    There's a difference between a traditional abandoned cart and abandoned checkout in Shopify. If you're aiming to automate communications for the latter, you can use shopify_abandoned_checkout as the trigger and {{event_properties.${abandoned_checkout_url}}} in the CTA. This url will take the user to their specific checkout with all of the items in the cart.