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

  1. To install the Rule app in Magento, go to our Github page and follow our installation instructions
  2. Sign in to your store in Magento Admin > Click on "Stores" on the left side of the menu >Press "settings" / "Configuration"
  3. 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
  4. Tap Rulemailer and configure as you want it. Under the API key, insert the Rule API key that you created earlier. 
  5. Under inställningarna ovan bestämmer du vilken data som ska överföras till Rule när ett köp görs.
  6. Press "Save Config" 
  7. 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!

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Need more help? Contact Us Contact Us