The Loop Returns integration allows your AI agent to:
Create eligible returns
Check return status for customers
Important limitation
Due to current limitations in Loop’s agentic return API, the AI agent can only facilitate same-price variant exchanges.
The AI agent cannot facilitate exchanges that require payment capture, including:
Instant exchanges
Advanced exchanges
Product exchanges
Any exchange where the replacement item has a different price or requires additional payment
These requests should be escalated to your support team for manual review.
Before you begin
Before enabling the integration, make sure you have:
Admin access to your Cavalry account
Admin access to your Loop Returns account
Access to generate an API key in Loop
Step 1: Generate your API key in Loop
Log in to your Loop Returns admin.
In the left navigation, go to Tools & integrations > Developer tools.
In the API keys section, click Generate API key.
Enter a name for the key, such as Cavalry.
Select the following scopes:
Create Returns (read)
Create Returns (write)
Return
Click Generate.
Copy the newly generated API key.
Step 2: Enable Loop Returns in Cavalry
Log in to your Cavalry admin.
In the left navigation, go to AI Agent > Channels.
Under the Returns section, find Loop Returns.
Click Enable.
Paste your Loop Returns API key into the API key field.
Click Continue.
Once saved, the integration should show as enabled.
If any assistance is required, they can contact support@cavalry.ai.