Magento integration



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:


  1. Installation
  2. Usage
  3. Data fields sent to Rule


Installation


  1. To install Rule in Magento, go to our Github page and follow all our installation instructions
  2. Log in to your store in Magento Admin > Click on 'Stores' in the left menu > Press 'Settings' / 'Configuration'
  3. 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
  4. Press Rulemailer and configure it as you want. Under the API key, insert the key you created inside Rule just now
  5. In the settings above, you determine which data should be transferred to Rule when a purchase is made.
  6. Press 'Save Config'
  7. 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 RuleDescriptionData sent to Rule
CartInProgress
When one or more items have been added to the shopping cart and the order has not yet been completed

Subscriber & Order Data
OrderCompleted
When the order is completed in the e-commerce store

Subscriber & Order Data
OrderShipped
An order was shipped

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

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article

Other ways to get help

Sign up for our next training

Free

Become an expert in Rule and discover the power of all the functions in the platform. We guide you step-by-step!

Contact us to book a Workshop

Discover how you can increase digital engagement and growth in a personal review of Rule

Couldn’t find what you needed?

No worries, feel free to reach out to our support about any queries!

Sign up to our newsletter!

I agree to receive Rules newsletter in accordance with the privacypolicy.