DocumentationAPI Reference
Documentation

Integrate Klaviyo with Reach

You can integrated your Klaviyo app with Reach to create localized currency emails for your customers. With Reach Integration, you are able to create customized emails for

  1. Order Creation
  2. Order Refunds
  3. Order Cancellation

Get your Klaviyo Public Key

You can get your Klaviyo public key inside your klaviyo app. Navigate to Account-> Settings -> API Keys. You'll find your Public API Key / Site ID.

1899

Creating a Klaviyo Flow with Reach Object

Here is a documentation from Klaviyo on how to create Flows: https://help.klaviyo.com/hc/en-us/articles/115002775012-Create-a-Flow

While creating your Flow, you can use any of the 3 Reach Order action triggers to create you Reach customized emails e.g. Reach Order Created, Reach Order Refunded, and Reach Order Cancelled.

Below is a quick How-To on Reach Order Created with Klaviyo

Customizing your Emails

Reach objects are sent to Klaviyo as an event. To use the event variables in your customized email. You will use the event syntax which is event.EXACT VARIABLE NAME

Using the response JSON below, to call the shopifyOrderNumber variable in an email, you will use {{ event.shopifyOrderNumber }}

{
    'referenceId': '12565274787907',
    'shopifyOrderNumber': '2439',
    'placedTimestamp': '2020-06-10T11:42:58-06:00',
    'shopifyCurrency': 'USD',
    'createTimestamp': '2020-06-10T17:42:07.156437Z',
    'reachOrderId': '90e8af25-a8cc-41e7-9999-6c0c1d092124',
    'reachCurrency': 'EUR',
    'orderDetails': {
        'billing_address': {
            'province': None,
            'city': 'Berlin',
            'first_name': 'Tom',
            'last_name': 'Tom',
            'name': 'Tom Tom',
            'zip': '10781',
            'province_code': None,
            'address1': 'Berlin 50',
            'address2': '',
            'longitude': 19.3528823,
            'phone': None,
            'country_code': 'DE',
            'country': 'Germany',
            'latitude': 82.49708769999999,
            'company': None
        },
        'tax_amount': '0.00',
        'total_amount': '164.33',
        'gift_card': [],
        'tags': '',
        'items': [{
            'sk': '1111115',
            'total_price': '49.00',
            'subtotal_price': '49.00',
            'product_id': 31129400070211,
            'unit_price': '49.00',
            'discounts': [],
            'image_url': 'https://cdn.shopify.com/s/files/1/1567/8647/products/download_1.jpg?v=16412',
            'variant_id': 19441948819523,
            'variant_title': '',
            'product_title': 'Dinosaur Cape',
            'quantity': 1
        }, {
            'sk': '1111113',
            'total_price': '61.00',
            'subtotal_price': '61.00',
            'product_id': 6549725317,
            'unit_price': '61.00',
            'discounts': [],
            'image_url': 'https://cdn.shopify.com/s/files/1/1567/8647/products/blackCape.jpg?v=86250',
            'variant_id': 21774507589,
            'variant_title': 'L',
            'product_title': 'Black Cape',
            'quantity': 1
        }],
        'status_url': 'https://capes.myshopify.com/15678647/orders/4197b2dfc39b9b60181946c8487cf3af/authenticate?key=8bd53744c6c910ab9bb965e8f8726e99',
        'duty_amount': '0.00',
        'shipping': {
            'weight': 2134,
            'title': 'Test012 [58.00|0.00]'
        },
        'note_attributes': [],
        'note': '',
        'currency': 'USD',
        'shipping_amount': '54.33',
        'shipping_address': {
            'province': None,
            'city': 'Berlin',
            'first_name': 'Tom',
            'last_name': 'Tom',
            'name': 'Tom Tom',
            'zip': '10781',
            'province_code': None,
            'address1': 'Berlin 50',
            'address2': '',
            'longitude': 19.3528823,
            'phone': None,
            'country_code': 'DE',
            'country': 'Germany',
            'latitude': 82.49708769999999,
            'company': None
        },
        'test': True,
        'discount': None,
        'subtotal_amount': '110.00',
        'payment': {
            'method': 'SOFORT'
        },
        'tax_included': False
    },
    'reachLocalized': True,
    'authorizedTimestamp': None,
    'processedTimestamp': '2020-06-10T17:42:57.338426Z',
    'shopifyOrderId': '2174883866219'
}

You can read more on Klaviyo events for Shopify here https://help.klaviyo.com/hc/en-us/articles/115002779071-Personalize-Flow-Emails-with-Dynamic-Event-Data#common-examples-of-event-variables5