Integrate Centra with Rule

About integration

With Centra integrated to Rule , you can collect order history, customer, product and behavioral data, giving you insights for segmented, personalized, automated and data-driven communication.

Installation

The first step is to connect your e-commerce to Rule in Centra. 

1. Log in to Centra

2. Under Plugins, select Rulemailer v4

3. Under API Key, paste the API key you generated in Rule in the previous step. You can find your Rule API key on the Rules development page: https://app.rule.io/#/settings/developer

4. Select the features and settings you want and tap save

Now that you are done with your settings, make a test call to Rule for all your feeds, then you will be able to see in your account in Rule which data you receive and to which tag.

You can read more about Centras integration on their site.

Use

Centers Events

Tag i Rule Description Data sent to Rule
OrderCreated 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 When an order is sent Subscriber & Order Data
RefundCompleted Once a product has been returned 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  -

If you manually confirm your orders in Centra:

OrderPlaced When the order is placed in your e-commerce Subscriber & Order Data
OrderCompleted When the order is manually confirmed in Centra Subscriber & Order Data

Automations for e-commerce

When the e-commerce platform is connected to Rule , you can set up automations on the events above. I denna artikel we have outlined common automations for e-commerce.

Data fields sent to Rule

Order.Number
Order.Firstname
Order.Lastname

For RefundCompleted and ReturnCompleted, no data fields are submitted to Rule:

Order.Date  
Customer.Number  
Customer.Language  
Order.Street  
Order.City  
Order.Zipcode  
Order.State  
Order.Country  
Order.Company  
Order.Tele  
Order.Subtotal  
Order.Discount  
Order.Shipping  
Order.Total  
Order.Vat  
Order.Vatpercent  
Order.PaymentMethod  
Order.DeliveryMethod  
Order.HandlingAmount
Order.TaxDeductionAmount
Order.SubtotalAmount
Order.DiscountAmount
Order.ShippingAmount
Order.TotalAmount
Order.VatAmount
Order.Currency
Order.<attribute>_<element>

For tax deductions:

Order.TaxDeduction

Depending on the setting in the plugin if it is OrderCreated

Order.CartUrl

OrderCompleted only

Order.Handling  
Order.BillingFirstname  
Order.BillingLastname  
Order.BillingStreet  
Order.BillingCity  
Order.BillingZipcode  
Order.BillingState  
Order.BillingCountry  
Order.BillingTele  
Order.BillingCompany  
Order.Carrier (Om vi har en leverans (OrderShipped))
Order.Trackinglink (Om vi har en leverans (OrderShipped))
Order.Trackingno (Om vi har en leverans (OrderShipped))

RefundCompleted and ReturnCompleted only

Order.RefundValueTotal  
Order.RefundHandlingCost 
Order.RefundHandlingCostAmount
Order.RefundReturnCost
Order.RefundReturnCostAmount
Order.RefundCurrency
Order.RefundValueTotalAmount
Order.RefundValuePcsAmount

For each item

Order.Brands  
Order.Types  
Order.Sizes  
Order.ProductCount  
Order.IndividualProductCount  
Order.Names  
Order.Variations  
Order.Collections
Order.Skus (inte för returer)
Order.Products (inte för returer)
Order.RefundValuePcs (endast för returer)

Customer registered

Customer.Firstname
Customer.Lastname
Customer.Language
Customer.Tele
Customer.City
Customer.Country
Customer.Zipcode
Customer.Address1
Customer.Address2

OrderCancellation Additional order fields :

Order.AdditionalMessage
Order.CompanyUrl

Newsletters, all may be empty depending on how the registration takes place 

Note: If there is a separate choice for "I want to sign up for the newsletter" on the website, where they only fill out their email or if they choose to register from order checkout

Contact.Language  
Address.Firstname  
Address.Lastname  
Address.Street  
Address.City  
Address.Zipcode  
Address.State  
Address.Country

GiftCertificate Common Order field + GiftCertificate field:

GiftCertificate.Name
GiftCertificate.Code
GiftCertificate.Link
GiftCertificate.Message
GiftCertificate.Date
GiftCertificate.DueDate
GiftCertificate.Description
GiftCertificate.Friend
GiftCertificate.Currency
GiftCertificate.Value
GiftCertificate.ValueAsNumber

Forgot your password

Customer.Firstname 
Customer.Lastname 
Customer.Language 
Customer.Tele 
Customer.City 
Customer.Country 
Customer.Zipcode 
Customer.Address1 
Customer.Address2 
Customer.PasswordRestoreLink

Back In Stock 

Product Alerts is an API developed by Rule that keeps track of products' stock status via the e-com system. And the product information is sent with Rule via automations. There is a standard connection between Centra and Rule to get started with Back in Stock, start by activating the integration in Centra. Read more in denna guide.

When is the product data sent to Rule?

  • When a customer watches a product 
  • When the product is back in stock 

When Back in stock is active from Centra, the automations need to be set up in Rule.

Got stuck on any step? 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.