Integrate with Loop
Last Update: Sep 2024 • Est. Read Time: 2 MINLoop 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 types | Admins can set up this integration. |
In this article
- Prerequisites
- How does Loop work with Kustomer?
- Create a Loop API key
- Install the Loop app
- Set up the webhook in Loop
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.
- Go to https://admin.loopreturns.com/settings/developers.
- Select Generate API Key.
- Select Order and Return in the Scopes section.
- Enter a name for the key, such as Kustomer.
- 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.
- Go to Apps , search for Loop in the App Directory, select Install, and confirm the installation.
- Enter the Loop API key that you created in the previous section.
- Select Install.
- 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.
- Sign in to Loop as an administrator and go to Settings > Developers > Create webhook.
- You'll create 4 separate outbound webhooks for the following event types: Return created, Return updated, Label created, and Label updated.Fill out the fields for each webhook as follows:
Note: The URL for all these hooks will be the form hook endpoint URL you copied from the Kustomer settings in the prior step.
- Return created
- Event: Return created
- Response: Return
- URL:form hook endpoint URL
- Return updated
- Event: Return updated
- Response: Return
- URL:form hook endpoint URL
- Label created
- Event: Label created
- Response: Label
- URL:form hook endpoint URL
- Label updated
- Event: Label updated
- Response: Label
- URL:form hook endpoint URL
- Return created
- Click Add to save each new webhook. Verify that the hook status appears as Active in the Webhooks list in Loop.
- To test each webhook, select the webhook in the list and then switch on Testing Mode.