Integrera WooCommerce med Rule

About The Integration

The WooRule plugin integrates order and subscriber data from your WooCommerce store with the Rule Communications platform. Data is automatically sent from WooCommerce when an order event is triggered.

Additional information about this plugin can also be found on the WooRule plugin page.

Note: This article is intended for the latest WooRule version (v2.0+). For the knowledge base article based on earlier versions (v1.x), please refer to this knowledge base article.

Usage

WooRule Events

Event Trigger Description Applied Tag Data Sent to Rule
Processing Order is paid and awaiting fulfillment OrderProcessing Subscriber & Order Data
Completed Order fulfilled and complete OrderCompleted Subscriber & Order Data
Shipped* An order was shipped* OrderShipped Subscriber & Order Data

* Note: This is a custom event trigger that will not trigger unless manually set up by the merchant. 

Additional details about order events can be found in the WooCommerce documentation here.

Data fields sent to Rule

Subscriber Fields

Subscriber.FirstName
Subscriber.LastName
Subscriber.Number Subscriber.Street1 Subscriber.Street2 Subscriber.City Subscriber.Zipcode Subscriber.State Subscriber.Country Subscriber.Company Subscriber.Source (WooRule)

Order Fields

Order.Number
Order.Date (datetime)
Order.Subtotal
Order.Discount
Order.Shipping
Order.Total
Order.Vat
Order.Currency
Order.PaymentMethod
Order.DeliveryMethod
Order.Brands (multiple)
Order.Collections (multiple)
Order.Tags (multiple)
Order.Products (json)

Order Products JSON Field

The Orders.Products field contains a JSON formatted array with the details of the product(s) in an order:

brand
name
image
price
vat
qty
subtotal

Order Billing Fields

Order.BillingFirstname
Order.BillingLastname
Order.BillingStreet
Order.BillingCity
Order.BillingZipcode
Order.BillingState
Order.BillingCountry
Order.BillingTele
Order.BillingCompany

Installation

The WooRule plugin can be added to your WooCommerce store by either searching for the “WooRule” plugin directly in the Plugins menu, or by manually downloading it from the plugin page ( https://wordpress.org/plugins/woorule/).

Once installed, a Rule API key should be added to the plugin in order to link your Rule account with your WooCommerce store. 

A Rule API key can be generated and copied from the Rule developer page: https://app.rule.io/#/settings/developer

Open the WooRule plugin page, and paste the API key in the Rule API Key field. Click “Save Changes” to save the API key.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Behöver du mer hjälp? Kontakta oss Kontakta oss