Skip to main content
All CollectionsIntegrationsEmail Integrations
How does Klaviyo Integration work?
How does Klaviyo Integration work?

Learn how to set up email flows in klaviyo using yayloh event

Vineeta Pendse avatar
Written by Vineeta Pendse
Updated over a month ago

yayloh will create an event in Klaviyo for each return registered. In Klaviyo, you can automate and customize targeted emails using this event.

Note:

  1. The yayloh events will be visible in Klaviyo only once a new return request or store credit is created in yayloh.

  2. Add return_notifications@yayloh.com in BCC for your Klaviyo emails.

  3. All return notification emails must be transactional in Klaviyo: (Read more)

  4. Deactivate yayloh notifications once you are live with Klaviyo.

In this article:

    1. Bonus: How to add products to your Klaviyo return notifications.

    1. Example of the store-credit event flow.

  1. Ideas of targeted campaigns based on yayloh events.


Return request event:

This integration allows you to send return confirmation emails to customers from Klaviyo instead of yayloh.

Sample metrics for 'yayloh - return request' event.

Find all the event metrics in your Klaviyo.

commercialInvoiceExists: false
commercialInvoiceUrl:
includesClaim: false
includesExchange: false
includesReturn: true
labelExists: true
labelUrl: https://prod-shipping-label-yayloh.s3.amazonaws.com/2024-09-30/Return_shipping_label_65f1dc7f-2e5b-422e-9329-d61b0ead25f8.pdf
orderNumber: 991254
returnByType: {"return": [{"id": 9748086, "productSku": "X1392001", "sizeColorSku": null, "imageUrl": "https://cdn.shopify.com/s/files/1/0583/5508/9562/files/X1392001_PRODUCTPAGE.webp?v=1682689576", "name": "AA x Mulberry Top Handle Bag", "quantity": 1, "size": null, "color": "White/Black", "sellingPrice": 1330.0, "currencyCode": "SEK", "returnType": "return", "reasonText": "The fit is not as expected"}], "exchange": [], "claim": []}
returnedItems: {'id': 9748086, 'productSku': 'X1392001', 'sizeColorSku': None, 'imageUrl': 'https://cdn.shopify.com/s/files/1/0583/5508/9562/files/X1392001_PRODUCTPAGE.webp?v=1682689576', 'name': 'AA x Mulberry Top Handle Bag', 'quantity': 1, 'size': None, 'color': 'White/Black', 'sellingPrice': 1330.0, 'currencyCode': 'SEK', 'returnType': 'return', 'reasonText': 'The fit is not as expected'}
returnTypeSummary: return
shippingCompany: DHL
trackingNumber: 373325385311948465
trackingUrl: None

Example of the flow and segmentation in Klaviyo:

  1. Set up return confirmation email
    You can trigger return confirmation emails to customers in a country where you do not generate return shipping labels via yayloh.

  2. Set up confirmation mail with shipping label:
    You can send return confirmation emails to customers with shipping label URL; for countries, you generate shipping label in yayloh.

  3. Localized return confirmation email:
    By using yayloh events and profile information in Klaviyo you can send email in local language based on where customer is located. Ex. Send France-based customers emails in French only.

Adding product details in Klaviyo emails:

You can use product details from yayloh event while configuring emails in Kalviyo.

Follow the steps mentioned in this video.


Store-credit/ discount code event:

This integration will also allow you to send store credit emails to customers from Klaviyo instead of yayloh.

This is applicable to the following brands:

  1. Shopify customers who use discount codes for store-credits.

  2. Centra customers who use vouchers for store-credits.

Sample metrics for 'yayloh - store credit' event.

Find all the event metrics in your Klaviyo.

currencyCode: SEK
discountCode: YAYY-D8332FE2
storeCreditAmount: 568

Example of store-credit flow in Klaviyo:


Targeted Campaigns:

Return request events and store-credit events can be utilized for targeted campaigns aimed at specific customer segments. Here are a few ideas:

  1. Offer extra discount codes to customers who have returned a product without opting for an exchange.

  2. Send follow-up emails to customers who returned a particular product, aiming to understand their challenges with sizing.

  3. Provide special incentives to customers who have filed a 'claim' to encourage re-engagement.

Did this answer your question?