Skip to main content

Abicart integration

Updated this week

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

We will go through:

  1. Installation

  2. Usage

  3. E-commerce automations

  4. Data fields sent to Rule

  5. Tags in Rule

Installation

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

  1. Create an API key in Rule. Go to 'Settings' > 'Developer' > Create new API key > Name the API key > Copy

  2. Log in to Abicart

  3. Under 'Settings', choose 'Apps' and then 'Rule'

  4. Activate the integration

  5. Once 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".

  6. Log in to Rule and make sure that if you check 'Export all customers', all existing customers in Abicart will be sent to Rule, as well as all historical orders.

  7. Save

Now that you have completed your settings, log in to your Rule account and make sure that your subscribers have been transferred from Abicart. It may take a few minutes for all data to be transferred. Read more about setting up the integration at Abicart.

Usage

Tag in Rule

Description

Data fields 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 & Cart 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 has been returned

Subscriber & Order Data

Newsletter


Customer has clicked to receive newsletters on the website or checked the box to receive newsletters in the checkout flow

-

Abicart


Applied to all subscribers related to Abicart

-

CartInProgress


After the customer has entered their email address at checkout in Abicart

Subscriber & Order Data


OrderPaid

When an order has been paid

Subscriber & Order Data

E-commerce automations

When the e-commerce platform is connected to Rule, you can set up automations for the events listed above. In this article we have described common automations for E-commerce.

Data fields sent to Rule

Subscriber.Source - Always set to Abicart
Subscriber.FirstName - Customer's first name
Subscriber.LastName - Customer's last name
Subscriber.Address1 - Address line 1
Subscriber.Address2 - Address line 2
Subscriber.Country - Country
Subscriber.City - City
Subscriber.Zipcode - Zip code
Subscriber.Company - Company (for corporate customers)
Subscriber.OrgType - Set to Company for corporate customers and Person for other customers
Subscriber.OrgNr - Customer's organization number (if available)
Subscriber.VatNr - Customer's VAT number (if available)
Subscriber.WebshopName - Adds the name of the shop where the subscriber placed the order
Subscriber.BuyerGroupNames - Adds the buyer group name (if available)

Only for OrderCompleted

Order.Number - Order number in Abicart
Order.WebshopId - ID of the store in Abicart
Order.WebshopName - Name of the store in Abicart
Order.Currency - Currency code (e.g. SEK)
Order.Date - Order date
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 - Total price excluding tax
Order.TotalTax - Tax
Order.TotalWeight - Total weight of the order
Order.ProductCount - Total number of ordered products
Order.Products - Json data with all order lines
Order.Brands
Order.Names
Order.SKUs
Order.Variations

Purchases that have not been completed

Cart.Number - Order number in Abicart
Cart.WebshopId - ID of the store in QAbicart
Cart.WebshopName - Name of the store in Abicart
Cart.Currency - Currency code (for example SEK)
Cart.Date - Order date
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 - Total price excluding tax
Cart.TotalTax - Tax
Cart.TotalWeight - Total weight of the order
Cart.ProductCount - Total number of ordered products
Cart.Products - Json data with all order lines
Cart.BrandsOrder.Names
Cart.SKUs
Cart.Variations

Tags on subscribers

When subscribers are created in Rule from Abicart, different tags are set. It is determined by which subscriber groups are linked to each subscriber. It can be seen under the customer card in Abicart. The example below has the groups "B2C" and "Gold Member" and then these tags are created in Rule for subscribers who have the groups linked in Abicart. If the subscriber has also booked in the "Newsletter" box, this tag will also be set for the subscriber.

Did this answer your question?