See related
No related articles

Integrate with Loop

Last Update: Sep 2024 • Est. Read Time: 2 MIN
To check plan availability, see the pricing page.

Loop is the exchange-first returns platform for scaling Shopify brands. This integration lets you connect Loop's return services with Kustomer so your team can see the latest information about Loop exchanges and returns directly from the timeline.

Who can access this feature?
User typesAdmins can set up this integration.


In this article

Prerequisites

To set up Loop successfully, you must have an active Loop account connected to a Shopify store. Admins will also require developer or administrator privileges in Loop to set up this feature.

How does Loop work with Kustomer?

This integration connects Loop's return services with Kustomer, allowing your agents to see Returns and Labels created in Loop's system in the timeline. When a return or label is created in Loop, this integration will create or update a Loop KObject, which includes order change information, charge breakdowns, return/exchange items, and tracking info.

Create a Loop API key

First, sign in to Loop as an administrator to create the API key to install the app in Kustomer.

  1. Go to https://admin.loopreturns.com/settings/developers
  2. Select Generate API Key.
  3. Select Order and Return in the Scopes section.
  4. Enter a name for the key, such as Kustomer.
  5. Select Generate. Save this API key in a secure location. You will need it in the following step.

Install the Loop app

To integrate Loop with Kustomer, install the Loop app from the Kustomer App Directory.

  1. Go to Apps , search for Loop in the App Directory, select Install, and confirm the installation.
  2. Enter the Loop API key that you created in the previous section.
  3. Select Install.
  4. Once the installation is complete, select Click to Copy at the bottom of the page to copy the form hook endpoint URL. You'll need this Kustomer hook URL in the next step of the setup process.

Set up the webhook in Loop

Next, configure outbound webhooks to post return data to Kustomer.

  1. Sign in to Loop as an administrator and go to Settings > Developers > Create webhook.
  2. You'll create 4 separate outbound webhooks for the following event types: Return created, Return updated, Label created, and Label updated.

    Note: The URL for all these hooks will be the form hook endpoint URL you copied from the Kustomer settings in the prior step.

     Fill out the fields for each webhook as follows:
    1. Return created
      • Event: Return created
      • Response: Return
      • URL:form hook endpoint URL
    2. Return updated
      • Event: Return updated
      • Response: Return
      • URL:form hook endpoint URL
    3. Label created
      • Event: Label created
      • Response: Label
      • URL:form hook endpoint URL
    4. Label updated
      • Event: Label updated
      • Response: Label
      • URL:form hook endpoint URL
  3. Click Add to save each new webhook. Verify that the hook status appears as Active in the Webhooks list in Loop.
  4. To test each webhook, select the webhook in the list and then switch on Testing Mode.