Using Shopify data in Braze

Personalization

Using nested object support for custom events, Braze Shopify customers can use Liquid template variables of the nested event properties. You can find the Liquid templating variables for each event below.

Event: shopify_abandoned_checkout
Type: Custom Event

Variable Liquid Templating
Checkout ID {{event_properties.${checkout_id}}}
Abandoned Card URL {{event_properties.${abandoned_checkout_url}}}
Discount Code {{event_properties.${discount_code}}}
Total Price {{event_properties.${total_price}}}
Discount Amount {{event_properties.${applied_discount}[0].amount}}
Discount Title {{event_properties.${applied_discount}[0].title}}
Discount Description {{event_properties.${applied_discount}[0].description}}
Item ID {{event_properties.${line_items}[0].product_id}}
Item Quantity {{event_properties.${line_items}[0].quantity}}
Item SKU {{event_properties.${line_items}[0].sku}}
Item Title {{event_properties.${line_items}[0].title}}
Item Vendor {{event_properties.${line_items}[0].vendor}}
Item Propeties {{event_properties.${line_items}[0].properties}}
Item Price {{event_properties.${line_items}[0].price}}

Event: shopify_created_order
Type: Custom Event

Variable Liquid Templating
Order ID {{event_properties.${order_id}}}
Confirmed Status {{event_properties.${confirmed}}}
Order Status URL {{event_properties.${order_status_url}}}
Order Number {{event_properties.${order_number}}}
Cancelled Timestamp {{event_properties.${cancelled_at}}}
Total Discounts {{event_properties.${total_discounts}}}
Total Price {{event_properties.${total_price}}}
Tags {{event_properties.${tags}}}
Discount Codes {{event_properties.${discount_codes}}}
Item ID {{event_properties.${line_items}[0].product_id}}
Item Quantity {{event_properties.${line_items}[0].quantity}}
Item SKU {{event_properties.${line_items}[0].sku}}
Item Title {{event_properties.${line_items}[0].title}}
Item Vendor {{event_properties.${line_items}[0].vendor}}
Item Properties {{event_properties.${line_items}[0].properties}}
Item Price {{event_properties.${line_items}[0].price}}
Shipping Title {{event_properties.${shipping}[0].title}}
Shipping Price {{event_properties.${shipping}[0].price}}

Event: Purchase
Type: Braze Purchase Event

Variable Liquid Templating
Item SKU {{event_properties.${line_items}[0].sku}}
Item Title {{event_properties.${line_items}[0].title}}
Item Vendor {{event_properties.${line_items}[0].vendor}}
Item Properties {{event_properties.${line_items}[0].properties}}

Segmentation

You can filter Shopify’s events with all of the existing custom filters in Segmentation.

Shopify

In addition, you can also use Braze’s breadth of purchase filter to create segments of users based on:

  • First/last purchase
  • First/last purchase for a specific app
  • Products they have previously purchased within the last 30 days
  • The number of purchases they made

Shopify

Shopify

Campaign and Canvas triggering

With Shopify custom events in Braze, you can trigger Canvases or campaigns like you normally would with any other custom event. For example, you may create an Action-Based Canvas that triggers off of the Shopify shopify_checkouts_abandon event within the Canvas entry criteria.

Shopify

With Nested Object Support for Custom Event Properties, customers now can trigger campaigns and Canvases using a nested event property. Shown below is an example of triggering a campaign using a specific product from the shopify_created_order custom event.

Shopify

WAS THIS PAGE HELPFUL?
New Stuff!