Omnisend - Marketing Automation Integration

Created by Migration Bot, Modified on Fri, 23 Oct at 11:30 AM by Migration Bot

Originally written by Former user, last updated Apr 21, 2025, on the Swan Retail knowledge base (SRS).


Omnisend is a marketing automation platform integrated to SRS which allows marketing teams to send emails to customers who meet pre-defined criteria. Allowing the team to communicate more without increasing overhead.

The Omnisend integration allows SRS to send updates of customer, loyalty, item & order details from all other channels including Web, Fuse, Cygnus and the Customer Ordering App. Bear in mind that Omnisend uses email and mobile phone number as the unique identifiers of customers, so duplicate accounts and integrations to Omnisend from other sources (Shopify or Woo plugins) will update a single customer on Omnisend, this may cause odd behaviour.

This is an additional integration module, so please open a support call if you’re interested and we will provide details on pricing for your system. Third party charges and subscription apply.

More details on the Omnisend platform and trial signup are available here: Email Marketing and SMS Platform | Omnisend

Data Take-On

Static Customer Data

Customer import can be used to trigger upload of customers you’d like sent to omnisend. Export and filter then list, then re-import to SRS. The presence of the customer on the import file (whether anything is changed or not) will cause them to be uploaded to Omnisend, so you can control the en-mass updates and even use this as a way of segmenting the take-on customer list.

Purchase History

Minimum SRS version: 7.2-50 15/03/22

SRS can be instructed to upload purchase history of customer transactions between dates. This will upload the customer and all their items purchased as well as order and loyalty information so can be a great way to get started with targeted marketing quickly.

Please contact Swan Support about this initial take on service for a quote.

Integration Details

Customer & Loyalty Information

Customer data is sent to Omnisend when the ‘Marketing’ indicator is checked against the Customer > Persons within SRS Customer Maintenance.

Loyalty & Voucher information is updated whenever the customers loyalty points balance changes or when a customer receives or uses a voucher or when they expire.

Further updates to this customer will update their details on Omnisend.

Checking one or both of the Email & SMS Text Message indicators (along with the Marketing checkbox) will subscribe the customer to marketing through Omnisend on the checked channels.

Customer telephone will always be prefixed with “+44” so all telephone numbers sent from SRS will have the leading 0 replaced with +44 to ensure they match and don’t cause duplicates.

Fields updated from SRS:

SRS Field

Omnisend Field

Use

Forename / Initial

First Name

Surname

Last Name

Email

Email Id

Email Consent

Email Subscribed Status

Indicates the current status of the email communications channel.

subscribed if the email consent is checked.

unsubscribed if the email consent is unchecked.

Telephone

Phone Id

SMS Consent

SMS Subscribed Status

Indicates the current status of the sms communications channel.

subscribed if the sms consent is checked.

unsubscribed if the sms consent is unchecked.

Country

Country

ISO Code 2 Country

Country Code

County (Address 4)

State

Town (Address 3)

City

Address

Address

Post Code

Postal Code

Various

Custom Property

nextVoucherExpiry → Date of the next voucher expiry (Voucher Maintenance)
loyaltyPoints → Current points balance (Customer Account Enquiry)
Attributes using the group name (Attribute Maintenance)
voucherCount → Number of unused vouchers with the customer account linked (Voucher Maintenance)
voucherExpiryReminder → 30 days before the next voucher expiry date (Voucher Maintenance)

Tags

SRS is sent as a default

Marketing Consent

status

Indicates the current Marketing status of the Customer.

subscribed i the Marketing field is checked.

unsubscribed if this field is unchecked.

Each consent status also holds a status date in SRS and Omnisend which shows when it last changed. These dates are referred to in updates from SRS to make sure the latest subscribe/unsubscribe is maintained in Omnisend.

Technical detail

{
  "firstName": "William",
  "lastName": "Miller",
  "tags": [
    "SRS"
  ],
  "identifiers": [
    {
      "type": "email",
      "id": will.miller@swanretail.co.uk,
      "channels": {
        "email": {
          "status": "subscribed",
          "statusDate": "2021-06-04T08:18:25+01:00"
        }
      }
    },
    {
      "type": "phone",
      "id": "98765",
      "channels": {
        "sms": {
          "status": "unsubscribed",
          "statusDate": "2021-06-04T08:18:25+01:00"
        }
      }
    }
  ],
  "country": "United Kingdom",
  "countryCode": "GB",
  "state": "",
  "city": "Cambridge",
  "address": "10",
  "postalCode": "CB1 1NN",
  "customProperties": {
    "nextVoucherExpiry": "2021-12-16",
    "loyaltyPoints": "312",
    "Interests": "Recycled Materials",
    "voucherCount": "1"
  },
  "status": "subscribed",
  "statusDate": "2021-06-04T08:18:25+01:00"
}

This is an example of the JSON message sent to Omnisend on customer update

Orders

Whenever a new sale is processed or order is created for a subscribed customer the order details will be sent to Omnisend.

The following data is sent to Omnisend:

SRS Field

Omnisend JSON Field

Description

Either the sales order number (for customer orders) or receipt number (for POS sales).

Web order number (for Web sales)

orderID

An identifier for the order

Addresses > Primary Address > Email

email

The email address associated with the customer

Addresses > Primary Address > Telephone

phone

The phone number associated with the customer

N/A

contactID

The omnisend ID for the customer

Order batch number (for POS sales)

Customer order number (for customer orders)

orderNumber

source

SRS

Local Currency

currency

Transaction currency

orderSum

Total order amount

createdAt

Order creation date

Customer order detail line number or position in item list of POS transaction

products > cartProductID

Order line number

Style code

products > productID

Style code

Stock Item

products > sku

Stock Item Code

Stock Item

products > variantID

Stock Item Code

Stock Item Full Description

products > variantTitle

Item description

Style Description

products > title

Item description

products > quantity

Amount ordered

products > price

Line value before discount in pence

products > discount

Discount on line in pence

products > weight

Unit weight

paymentMethod

Tender type

discountValue

Total transaction discount

Supplier Number

Vendor

Supplier Number

SRS Department Hierarchy

Category IDs

Indicates where the product sits in the stock hierarchy

Technical detail:

{
  "orderID": "714",
  "email": order.king@swanretail.co.uk,
  "phone": "876552444242",
  "contactID": "607d82964572ea4746ecb6cc",
  "orderNumber": 714,
  "source": "SRS",
  "currency": "GBP",
  "orderSum": 32000,
  "createdAt": "2021-06-04T11:03:56+01:00",
  "products": [
    {
      "cartProductID": "1",
      "productID": "9000005956",
      "sku": "9000005956",
      "variantID": "9000005956",
      "variantTitle": "Sofa",
      "title": "Sofa",
      "quantity": 1,
      "price": 30000,
      "discount": 0,
      "weight": 0
    },
    {
      "cartProductID": "2",
      "productID": "9000005957",
      "sku": "9000005957",
      "variantID": "9000005957",
      "variantTitle": "Sofa Component",
      "title": "Sofa Component",
      "quantity": 1,
      "price": 600,
      "discount": -10650,
      "weight": 0
    },
    {
      "cartProductID": "3",
      "productID": "9000005958",
      "sku": "9000005958",
      "variantID": "9000005958",
      "variantTitle": "Sofa Warranty",
      "title": "Sofa Warranty",
      "quantity": 1,
      "price": 1000,
      "discount": -17750,
      "weight": 0
    },
    {
      "cartProductID": "4",
      "productID": "9000000011",
      "sku": "9000000011",
      "variantID": "9000000011",
      "variantTitle": "Delivery Charge",
      "title": "Delivery Charge",
      "quantity": 1,
      "price": 2000,
      "discount": 0,
      "weight": 0
    }
  ],
  "paymentMethod": "",
  "paymentStatus": "partiallyPaid",
  "fulfillmentStatus": "inProgress",
  "discountValue": -28400
}

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article