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:
Installation
Usage
E-commerce automations
Data fields sent to Rule
Tags in Rule
Installation
The first step is to connect your e-commerce to Rule in Abicart
Create an API key in Rule. Go to 'Settings' > 'Developer' > Create new API key > Name the API key > Copy
Log in to Abicart
Under 'Settings', choose 'Apps' and then 'Rule'
Activate the integration
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".
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.
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 |
| Subscriber & Cart Data |
OrderCompleted |
| Subscriber & Order Data |
OrderShipped |
| Subscriber & Order Data |
RefundCompleted |
| Subscriber & Order Data |
Newsletter |
| - |
Abicart |
| - |
CartInProgress |
| Subscriber & Order Data |
| 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.