Integrating Magento with Rule
About integration
Rule has a ready-made integration with Magento that makes it easy for you to get your customer and order data from Magento to Rule. After that, you can set up automation flows in Rule, e.g. Thanks for the purchase, retention, Winback and much more. Magento integration is free to use for Rules customers and you can activate it yourself with a few simple steps.
Use
Magento Events
Tag in Rule | Description | Data sent to Rule |
CartInProgress | When one or more items have been placed in the shopping cart and have not yet completed the order |
Subscriber & Order Data |
OrderCompleted | When the order is completed in e-commerce | Subscriber & Order Data |
OrderShipped | An order was sent | Subscriber & Order Data |
Data fields sent to Rule
Subscriber 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
Installation
- To install the Rule app in Magento, go to our Github page and follow our installation instructions
- Sign in to your store in Magento Admin > Click on "Stores" on the left side of the menu >Press "settings" / "Configuration"
- 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 - Tap Rulemailer and configure as you want it. Under the API key, insert the Rule API key that you created earlier.
- Under inställningarna ovan bestämmer du vilken data som ska överföras till Rule när ett köp görs.
- Press "Save Config"
- Data will appear in Rule immediately after the first order.
Om man väljer att ta bort samtliga fält i konfigurationen ovan. Så kommer ingen data skickas till Rule, men för att kunderna ska få sina kvitton trots att ingen data skickas till Rule så kommer kvitton skickas som transaktionella mail.
When you have finished your settings, make a test call to Rule for all your feeds, then you will be able to see in your account in Rule what data you are getting in and to what tag.
Magento Demo From Rule Communication On Vimeo.
Installation
Did you get stuck at some stage? Watch the video or contact us at support@rule.se We will gladly help you!