Skip navigation
User Manual
Overview

Shopify Purchase Events

Item order created & Order created

These events fire after a customer has finished placing an order on your store.

An order can be placed in the following ways:

  • Automatically by a customer who is shopping on your store

  • Manually through the Orders section of your Shopify account.

    After an order is placed, Shopify sends information about the order over to your Drip account. These events get recorded and displayed on the subscriber's activity timeline:

    2018-11-16_11-01-34.png

    Click Toggle Details to show more information about each event. Take note of the differences  between them:

    2018-11-16_14-21-19.png
    2018-11-16_14-21-44.png

What's the difference between these events?

  • Item order created is a Drip generated event that makes it easier for users to dynamically insert event data into marketing emails. This includes the name, title, quantity, and value of the items that make up the order.

  • Order created is the Shopify event that Drip uses to parse information from the line_items property to make those bits of information more accessible through Drip's Item order created event.  

To automate with these events in a workflow or rule:

  • Set up a trigger with either the Item order created or Order created event:

    2018-11-16_11-06-12.png
    2018-11-16_11-09-45.png
    With these events, it's common practice to place them side-by-side and followed by a tagging action and a one-off email thanking the customer for their purchase.

    The following workflow configuration lets you capture the different properties from each event and inject them into an email:

    2019-03-06_15-16-57.png

Event properties useful in one-off emails

  • Item order created

    • {{ event.title }} Returns the title of the product in the order.

    • {{ event.quantity }} Returns the quantity of the item ordered.

  • Order created

    • {{ event.line_items }} Returns the raw code (JSON) which holds the data about the order.

Here's an example of those shortcodes placed into an email:

2018-11-16_14-40-39.png

output:

2018-11-16_14-42-10.png


Item order cancelled & Order cancelled

These events fire when an order is canceled in Shopify. A Shopify account admin can cancel an order under the Orders section.

An order can be cancelled by the following method:

  • Shopify account admin manually cancels the order

    After an order is canceled, these events get recorded and displayed on the subscriber's activity timeline:

    2018-11-16_16-25-54.png

    Click Toggle Details to show more information about each event. Take note of the differences  between them:

    2018-11-16_15-56-42.png
    2018-11-16_15-58-15.png

What's the difference between these events?

  • Item order cancelled is a Drip generated event that makes it easier for users to dynamically insert event data into marketing emails. This includes the name, title, quantity, and value of the items that make up the order.

  • Order cancelled is the Shopify event that Drip uses to parse information from the line_items property to make those bits of information more accessible through Drip's Item order created event.  


To automate with these events in a workflow or rule:

  • Set up a trigger with either the Item order cancelled or Order cancelled event:

    2018-11-16_11-11-01.png

    2018-11-16_11-12-11.png
    The following workflow configuration lets you capture the different properties from each event and inject them into an email:

    2019-03-06_15-18-37.png

Event properties that can be used in an email:

  • Item order cancelled

    • {{ event.title }} Returns the title of the product in the order.

    • {{ event.quantity }} Returns the quantity of the item ordered.

    • {{ event.order_id }} Returns order's identification number.

  • Order cancelled

    • {{ event.line_items }} Returns the raw code (JSON) which holds the data about the order.

Here's an example of those shortcodes placed into an email:

2018-11-28_16-46-31.png

Output:

2018-11-28_16-44-42.png