Integrate Abicart with Rule

About integration

With Abicart 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 Abicart. 

1. log in to Abicart

2. Under Settings, select Apps and Rule

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/v5/#/app/settings/developer

4. Activate the integration

When the integration is active, you can change the settings for how and when data is sent to Rule. We recommend having the following settings under "Account settings". 

5. Log in to Rule and make sure that 

If you check "Export all customers", all existing customers in Abicart will be transferred to Rule as well as all historical orders.

5. Log

Now that you are done with your settings, log in to your Rule account and ensure that your members have been transferred from Abicart. It may take a few minutes before all data has been transferred. Read more about setting up the integration hos Abicart

Use

Abicart Events

Tag i 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 & Cart 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  -
Abicart Applied to all subscribers related to Abicart.
                    -








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

Subscriber.Source - Sätts alltid till Abicart
Subscriber.FirstName - Kundens förnamn
Subscriber.LastName - Kundens efternamn
Subscriber.Address1 - Adressrad 1
Subscriber.Address2 - Adressrad 2
Subscriber.Country - Land
Subscriber.City - Stad
Subscriber.Zipcode - Postnummer
Subscriber.Company - Företag (för företagskunder)
Subscriber.OrgType - Sätts till Company för företagskunder och Person för övriga kunder
Subscriber.OrgNr - Kundens organisationssnummer (om sådant finns)
Subscriber.VatNr - Kundens momsregisteringsnummer (om sådant finns)

OrderCompleted only

Order.Number - Ordernummer i Abicart
Order.WebshopId - ID på utiken i QAbicart
Order.WebshopName - Namn på butiken i Abicart
Order.Currency - Valutakod (exempelvis SEK)
Order.Date - Orderdatum
Order.BillingName
Order.BillingCompany
Order.BillingAddress1
Order.BillingAddress2
Order.BillingZip
Order.BillingCity
Order.BillingCountryCode
Order.ShippingName
Order.ShippingAddress1
Order.ShippingAddress2
Order.ShippingZip
Order.ShippingCity
Order.ShippingCountryCode
Order.TotalPrice - Summa exklusive moms
Order.TotalTax - Moms
Order.TotalWeight - Vikt på hela ordern
Order.ProductCount - Totalt antal beställda produkter
Order.Products - Json-data med alla orderrader
Order.Brands
Order.Names
Order.SKUs
Order.Variations
Order.PriceIncludingVat
Order.ArticleGroups

Unsuccessful purchases

Cart.Number - Ordernummer i Abicart
Cart.WebshopId - ID på utiken i QAbicart
Cart.WebshopName - Namn på butiken i Abicart
Cart.Currency - Valutakod (exempelvis SEK)
Cart.Date - Orderdatum
Cart.BillingName
Cart.BillingCompany
Cart.BillingAddress1
Cart.BillingAddress2
Cart.BillingZip
Cart.BillingCity
Cart.BillingCountryCode
Cart.ShippingName
Cart.ShippingAddress1
Cart.ShippingAddress2
Cart.ShippingZip
Cart.ShippingCity
Cart.ShippingCountryCode
Cart.TotalPrice - Summa exklusive moms
Cart.TotalTax - Moms
Cart.TotalWeight - Vikt på hela ordern
Cart.ProductCount - Totalt antal beställda produkter
Cart.Products - Json-data med alla orderrader
Cart.BrandsOrder.Names
Cart.SKUs
Cart.Variations


Tags on members

When members are created in Rule from Abicart, different tags are set. It is determined by which member groups are linked to each member. It is visible under the customer card in Abicart. The example below has the groups "B2C" and "Gold Member" And then these tags are created in Rule on members who have the groups linked in Abicart. Should the member also book in the "Newsletter" box, this tag will also be set on the member. 


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.