Skip to main content

Centra Integration

Updated over a week ago

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

Installation in Rule

Click the dropdown menu > then settings https://app.rule.io/v5/#/app/settings/developer

Click on 'Developer' > Create a new API key > Name the API key > Copy the API key to use in your Centra account

Installation in Centra

  1. Log in to Centra

  2. Choose the features and settings you want and press 'Save'

Once 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 Rule account which data you are receiving and to which tag.

You can read more about Centra's integration on their website.

Usage

Centra events

Tag in Rule

Description

Data sent to Rule

OrderCreated


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

Subscriber & Order Data

OrderShipped


When an order is shipped

Subscriber & Order Data

RefundCompleted


When a product is returned

Subscriber & Order Data

Newsletter


Customer has clicked to receive newsletters via the website or checked that they want newsletters in the checkout flow

-

If you manually confirm 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

Data fields sent to Rule

Order.Number
Order.Firstname
Order.Lastname

For RefundCompleted and ReturnCompleted, no data fields are sent 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 deduction

Order.TaxDeduction

Depending on the setting in the plugin if it is OrderCreated

Order.CartUrl

Only for OrderCompleted

Order.Handling 
Order.BillingFirstname
Order.BillingLastname
Order.BillingStreet
Order.BillingCity
Order.BillingZipcode
Order.BillingState
Order.BillingCountry
Order.BillingTele
Order.BillingCompany
Order.Carrier (If we have a delivery (OrderShipped))
Order.Trackinglink (If we have a delivery (OrderShipped))
Order.Trackingno (If we have a delivery (OrderShipped))

Only for RefundCompleted and ReturnCompleted

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 (not for returns)
Order.Products (not for returns)
Order.RefundValuePcs (only for returns)

Customer registered

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

Additional order fields for OrderCancellation

Order.AdditionalMessage
Order.CompanyUrl

Newsletter, all can be empty depending on how the registration is done

NOTE: If this is in a separate option for "I want to sign up for newsletters" on the website, where they only fill in their email or if they choose to sign up from the checkout.

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

GiftCertificate Common Order fields + GiftCertificate fields

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 Alertsis an API developed by Rule that keeps track of product inventory status through e-commerce systems. And the product information is sent to Rule through 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 this guide.

When is product data sent to Rule?

  1. When a customer is monitoring a product

  2. When the product is back in stock

When Back in Stock is active in Centra, automations need to be set up in Rule.

Stuck on a step? Contact support@rule.se and we will gladly assist you!

Did this answer your question?