Integrate Shopify with Rule
About integration
Rule has a ready-made integration with Shopify that makes it easy for you to get your customer and order data from Shopify to Rule. Then you can set up automation flows in Rule, such as Thank you for purchase, Retention, Winback and much more.
The integration is free to use for the Rule's customers and you can activate it yourself in a few simple steps.
- Installation
- Events sent to Rule
- custom field to be sent to Rule
Installation
- Sign in to your store in Shopify.
- Click here to start the installation of Rule's Shopify app
- Enter the name of your store in the format "teststore.myshopify.com". The name should not contain any prefixes, e.g. "http://", as below:

- Read the instructions and agree to install the Rule app in Shopify, click "Install unlisted app".

- The next step is to create an API key, you can do this through the green button "New API key" on the right side:
https://app.rule.io/#/settings/developer.
- Paste Rule API key in Shopify Settings tab
- Click on "Save". Data from Shopify will now start sending to Rule.


https://app.rule.io/#/settings/developer.

Data begins to appear in Rule immediately after the next order. feel free to make a test call to Rule for all your flows, then you will be able to see in your account in Rule which data you receive and to which tag.
Got stuck on any step? Contact us at support@rule.se We will gladly help you!
NOTE: If you are using the Safari browser and fail to complete the installation, go to Safari > Settings and click Privacy. Disable "Prevent cross-site tracking" / "Prevent cross-site tracking". Then test again.
Use
Events sent to Rule from Shopify
Triggered events in Shopify |
Description | Tag i Rule | Data sent to Rule |
Cart Updated | After the customer leaves their email address at checkout in Shopify | CartInProgress | Subscriber & Order Data |
Order Shipped | After the order is delivered and you selected "Fulfill orders" in Shopify | OrderShipped | Subscriber & Order Data |
Order Completed | After the order is placed and you selected "Capture payments" in Shopify | OrderCompleted | Subscriber & Order Data |
Newsletter |
Customer has clicked in that they want newsletters via the website or ticked that they want newsletters in the checkout feed | Newsletter | - |
Automations for e-commerce
When the e-commerce platform is connected to Rule , you can set up automations on triggering events in Shopify above. I denna artikel we have outlined common automations for e-commerce.
Language of the members
In this artikel we explain how you can personalize your mailings based on the language of each member.
custom field to be sent to Rule
Subscriber Fields
Subscriber.Source Subscriber.Zipcode Subscriber.City Subscriber.Address1 Subscriber.Address2 Subscriber.Number Subscriber.Country Subscriber.LastName Subscriber.FirstName
Order Fields
Order.Products (json) Order.Currency Order.Number Order.Date Order.ShippingAddress1 Order.ShippingAddress2 Order.ShippingCity Order.ShippingZip Order.ShippingCountryCode Order.TotalPrice Order.TotalWeight Order.TotalTax Order.ProductCount Order.Discount Order.Names Order.Gateway Order.Skus Order.CartUrl (Cart In Progress only)