Integration With Klaviyo

Last Updated: December 9, 2024

ReturnGO integrates with Klaviyo to enable you to easily customize and automate notifications. By integrating the two platforms, you can update customers' Klaviyo profiles with return events as metrics, and create Klaviyo flows to send RMA-related emails and/or SMS notifications instead of sending them through ReturnGO.

Capabilities 

The Klaviyo integration supports:

  • Automated event triggers.
  • Sending emails and SMSs using RMA information and events.
  • Viewing return event metrics in Klaviyo.

You can read more about Klaviyo here

Limitations

  • Adding attached files and additional details to RMA status update emails is not currently supported by the Klaviyo integration.

  • Klaviyo supports only plain text, not rich text.

Requirements 

To link Klaviyo to your ReturnGO account, you will need: 

  • ReturnGO Enterprise plan
  • Klaviyo account
  • Klaviyo API key

To get your Klaviyo API key: 

  1. Log in to your Klaviyo account.
  2. Go to Account & Billing > Settings.
  3. Click on API KEYS.
  4. Create a full-access Private API Key.

Linking Your Klaviyo Account to ReturnGO 

To link your Klaviyo account to ReturnGO: 

1. Go to Integration > Products & Services

2. Click on +ADD PRODUCT OR SERVICE. 


Klaviyo 1

3. Choose Klaviyo from the drop-down list.

4. Click the green check mark. 

Klaviyo 2

5. Enter your credentials. 

6. Click CONNECT.

Klaviyo 3

Testing Events

Before starting to use the integration, it’s a good idea to test the events to see how they affect Klaviyo flows and filters and to show ReturnGO events as metrics in Klaviyo.

To manually test specific event triggers and see the effects in Klaviyo:

  1. Go to Settings > Email > Content.
  2. Open the section of the notification type you want to configure, Return Emails or Order Tracking Emails.
    Updated Integration with Klaviyo1
  3. Click on the test tube icon next to the relevant event.
    Klaviyo 11
  4. In the test email pop-up:
    1. Type the email address/es to which the test email should be sent.
    2. Click SEND.

Klaviyo 111

This sends the relevant event to Klaviyo. The event includes sample data in order to give you an idea of what it will look like.

Once the test is sent, the following will happen:

  • The event will be displayed in the timeline of the customer profile (based on the email address used in the test), including the event data.
  • You can include the event in the metrics of the customer profile.
      • To add an event as a metric in Klaviyo:
        1. Click the EDIT button next to the Metrics header.
        2. Select a ReturnGO event from the drop-down menu.
        3. Click the ADD METRIC button.
        4. Click the UPDATE button.
  • The event can be set as a metric trigger in Klaviyo flows.
  • You can use the event as a filter in Klaviyo flows, segmentations, and other functions. The event's data variables can be used in a similar manner.

Sending Notifications from Klaviyo

Choose which notifications to send via Klaviyo, ReturnGO, or not send at all.

The system will update your Klaviyo account only for events that you select on the Settings > Email > Content page. 

To define the channel through which each notification will be sent:

  1. Go to Settings > Email > Content.
  2. Open the section of the notification type you want to configure, Return Emails or Order Tracking Emails.
    Updated Integration with Klaviyo1
  3. Click on the dropdown next to the notification you want to change.
  4. Select whether you want to send it via Klaviyo, ReturnGO, or not at all.
  5. Click on the save icon to save your changes.

Updated Integration with Klaviyo2

For notifications you mark as “Sent by Klaviyo”, create Klaviyo flows to send them and trigger these flows based on the relevant events.

Note: It's recommended to set up your flows in Klaviyo before changing your ReturnGO settings to send notifications via Klaviyo.

How To Create A New Flow Based On Existing ReturnGO Triggers

For notifications you want to send through Klaviyo, create Klaviyo flows to send them, based on ReturnGO events and variables.

To create a new flow based on an existing ReturnGO trigger event:

1. Log in to your Klaviyo account and go to the flows settings.

2. Click on CREATE FLOW to build a new flow.

Klaviyo1

3. Name the flow something clear and unique to make it easy to identify in the future.

4. Click on CREATE FLOW.

Klaviyo2

5. Select a Trigger.

Note: These triggers are predefined and will be available in Klaviyo once you’ve connected Klaviyo to ReturnGO.

Klaviyo3

6. Choose the desired trigger event from the list of predefined metrics from ReturnGO.

Klaviyo4

7. Click CONFIRM & SAVE.

Klaviyo5

8. Configure the Action:

  • Decide on the action that will follow the trigger, such as sending an email or SMS to the customer.

Klaviyo6

9. Edit the Email Configuration.

10. Click DONE.

Klaviyo7

11. Click on REVIEW AND TURN ON to check your flow settings.

Klaviyo8

12. Select the action

13. Click TURN ON.

Klaviyo9

14. Click UPDATE STATUSES.

Klaviyo10

Note: After activation, ensure that the new flow has been added to the flows list and is properly set up.

Klaviyo11

15. Go to Settings > Emails > Content.

16. Choose Klaviyo as the email provider.

17. Click on the save icon to save your changes.

Klaviyo12

Reproduce the necessary steps to trigger the flow you created. Once triggered, Klaviyo will automatically execute the specified action, such as sending an email or SMS.

Events & Variables

ReturnGO events act as triggers for Klaviyo flows, and ReturnGO can be added to notifications to personalize the information provided.

Clicking on the lightning bolt icon at the top of the email content page will take you to the Variables & Events page, where you can view all RMA events and variables that can be used in Klaviyo flows.

Klaviyo 7

Events

ReturnGO events can be used as triggers in Klaviyo flows, to automatically send certain notifications when a certain event happens, such as when the request is approved or the shipment is received.

Returns Events

Return Events

Tracking Events

Tracking Events

Variables

Adding variables to your notifications can personalize the information provided, such as adding the RMA ID or reject reason directly into the message.

Returns Variables

Return Variables

Tracking Variables

Tracking Variables

Troubleshooting the Integration

Many of the issues encountered related to integration can be identified during setup.

Here are some common issues and how you can address them.

Setup Issues 

Make sure your API credentials are accurate. 

  • There should be no extra spaces before or after each API entry. 
  • Make sure you are using live or production API credentials, and not dev or test APIs. 
  • Try to re-generate a new API key and reconnect. 

Other Issues

Order Not Receiving Updates

Automatic order tracking in ReturnGO is triggered by order fulfillment. When an order is fulfilled and the automatic tracking setting is activated, ReturnGO receives updates from your eCommerce platform. As the shipment progresses through its life cycle, ReturnGO will be updated and trigger any related notifications.

However, if automatic tracking was not enabled at the time the order was fulfilled, ReturnGO will not receive further updates for that shipment. To backfill tracking information, manually enter the order's details into the tracking portal, and future updates will be registered in ReturnGO.

Tip: It's recommended to always enable automatic order tracking to avoid missing updates.

Commonly Conflated Order Tracking Statuses

  • Ready for Pickup: Refers to when the carrier collects the package from the warehouse.
  • Ready for Collection: Refers to when the customer can pick up the package from the delivery center.

Klaviyo-Related Issues 

For Klaviyo-related issues, please contact Klaviyo support.

For any other issues, feel free to contact ReturnGO support through chat or email.