Loop Returns
Connection
When you're setting up your first workflow with Loop Returns, you will need to create a Connection in order to connect MESA with Loop Returns.

You can locate your API key by clicking Returns management > Tools & integrations > Developer tools on the Loop Returns Dashboard.

The API keys will be at the bottom of this page. Copy and paste that into your workflow and click on Add Connection. Then, you are all set!

Configure
Loop Returns Triggers (Creating a Webhook)
When starting a workflow with a Loop Returns Trigger, MESA will require you to create a Webhook before the workflow works successfully.

1. To create a Webhook, click on Returns management on the Loop Returns Dashboard.

2. Next, click Developer tools under Tools & integrations.

3. Click on Create webhook.
4. Under the Add Webhook pop-up, you'll see Event, Response and URL fields. Set these per the instructions below.
Event
Add events as follows for each MESA Trigger.
Loop Returns Created or Updated Trigger: Select Return created and Return updated. You will need to create 2 webhooks in Loop Returns for both Return created and Return updated and with the same copied URL. If you only create one webhook, MESA will not be able to trigger the workflow appropriately.
Loop Returns Label Created or Updated Trigger: Label created and Label updated. You will need to create 2 webhooks in Loop Returns for both Label created and Label updated and with the same copied URL. If you only create one webhook, MESA will not be able to trigger the workflow appropriately.
Loop Returns Restock Requested Trigger: Create one webhook for Restock requested.
Response
Response for each MESA Trigger.
Loop Returns Created or Updated Trigger: Return
Loop Returns Label Created or Updated Trigger: Label
Loop Returns Restock Requested Trigger: Restock
URL
From your MESA workflow, copy the Webhook URL seen in the Trigger's field (save the workflow if you do not see an URL in the field and refresh the page). Paste in the URL into the URL Field.

5. Click Add.
6. Afterwards, locate your newly created webhook and click on the Event label (e.g. Return created) which is highlighted in blue.

7. Click on Activate to activate the webhook and then click Save.

Great job, you have just created your Loop Returns webhook!
Obtaining information about a specific Whitelist (Allowlist) or Blacklist
In order to retrieve or obtain information about a specific whitelist or blacklist, you will need to locate the blacklist or whitelist ID. This can normally be found via the Loop Returns List Blacklist or Loop Returns List Whitelist action and with some other steps.
In your workflow, add a Loop Returns List Blacklist or Loop Returns List Whitelist action and followed by a Loop. In the Loop, you can select the provided variable that represents the Whitelist or Blacklist List Data.

Within the Loop, you can include a Filter. In the Filter, you can specify the whitelist or blacklist to obtain data for. In this example, we used the Loop Value variable which represents the Order or Email of the whitelist.

Lastly, add in a Loop Returns Whitelist Retrieve or Loop Returns Blacklist Retrieve Step and then add the variable from the Loop Step that represents the ID of the whitelist or blacklist.

Your workflow should look like this now. The steps' titles were edited to make the workflow more detailed and organized.

Technical Notes
Create an order in Loop Returns
To create an order in Loop Returns, you will need to fill out all three required fields in the Step Configuration.
Designation: Your store ID. It is a unique Loop ID number associated with your store. You can reach out to Loop Returns' support at [email protected] to find out what your store ID is.
Name: The Shopify order number (e.g. 1001)
Zip: The shipping zip code attached to the order
Last updated
Was this helpful?