Rule has a ready-made integration with Magento that makes it easy for you to import your customer and order data from Magento to Rule. After that, you can set up automation flows in Rule, such as Thank you for purchase, Retention, Winback, and much more. The Magento integration is free to use for Rule's customers and you can activate it yourself with a few simple steps.
What we will go through:
Installation
Usage
Data fields sent to Rule
Installation
To install Rule in Magento, go to our Github page and follow all our installation instructions
Log in to your store in Magento Admin > Click on 'Stores' in the left menu > Press 'Settings' / 'Configuration'
The next step is to create a new API key inside Rule. You go to 'Settings' > 'Developer' > Create new API key > Name the API key > Copy the API key https://app.rule.io/v5/#/app/settings/developer
Press Rulemailer and configure it as you want. Under the API key, insert the key you created inside Rule just now
In the settings above, you determine which data should be transferred to Rule when a purchase is made.
Press 'Save Config'
Data will start to appear in Rule immediately after the first order
If you choose to remove all fields in the configuration above. No data will be sent to Rule, but to ensure that customers receive their receipts even though no data is sent to Rule, receipts will be sent as transactional emails.
When you are done with your settings, 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.
Stuck on a step? Check out the video or contact support@rule.se
Usage
Tag in Rule | Description | Data sent to Rule |
CartInProgress |
| Subscriber & Order Data |
OrderCompleted |
| Subscriber & Order Data |
OrderShipped |
| Subscriber & Order Data |
Data fields sent to Rule
Custom fields
Subscriber.Source (MagentoRule)
Subscriber.Zipcode
Subscriber.City
Subscriber.Country
Subscriber.Address1
Subscriber.Address2
Subscriber.Number
Subscriber.LastName
Subscriber.Firstname
Order Fields
Order.Number
Order.Date
Order.Currency
Order.ShippingAddress1
Order.ShippingAddress2
Order.ShippingCity
Order.ShippingZip
Order.ShippingCountryCode
Order.TotalPrice
Order.Weight
Order.TotalTax
Order.ProductCount
Order.Discount
Order.Categories
Order.Names
Order.Gateway