Skip to content

Integration · E-commerce

Connect Claude & ChatGPT to Loop Returns

Ask your AI about returns in Loop: what came in today, what a customer sent back and what they get in return. It can add notes, flag, close, cancel or process returns, look up orders, customers and products synced to Loop, and manage the blocklist and allowlist. It can also check Happy Returns shipments.

Connect Loop Returns free

Free plan, no credit card. Takes about a minute.

Try asking

  • “Which returns are waiting for review?”

    The AI lists returns in the review state for the dates you give, or for the last 24 hours if you give none.

  • “What is going on with the return for order #10452?”

    It looks up the return by order name and shows items, customer, outcome and amounts.

  • “Add a note that the customer sent photos of the damage.”

    It adds an internal note to the return. Notes can be up to 255 characters.

What your AI can do

Returns

List and read returns, add notes, and flag, close, cancel or process a return.

Orders, customers and products

Look up orders, customers, products and variants synced to Loop, and check Happy Returns shipments.

Blocklist and allowlist

Block orders, emails, products or product tags from being returned, and allow orders or emails outside the normal policy.

  • “Process return 88213.”

    It processes the return, which issues the refund, exchange or store credit. This moves money and cannot be undone.

  • “Block returns from the email [email protected].”

    It adds the email to the blocklist, so it can no longer be used to return items.

  • “Let order #10388 be returned outside the normal policy.”

    It adds the order to the allowlist.

22 tools for Loop Returns

These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.

  • add_return_noteChanges dataAdd an internal note (up to 255 characters) to a return by `return_id` and `content`.
  • add_to_allowlistChanges dataAllow returns outside the normal policy for a `type` (order or email) and `value`, i.e. an order number or customer email.
  • add_to_blocklistChanges dataMake items ineligible for return by blocking a `type` (order, email, product, product_tag) and `value`.
  • cancel_returnDeletesCancel a return by `return_id`. This cannot be undone.
  • close_returnVisible to othersClose a return by `return_id` without processing it further.
  • flag_returnChanges dataFlag a return for review by `return_id`.
  • get_customerGet one customer by Loop `customer_id`.
  • get_happy_returns_shipmentGet one Happy Returns shipment by `happy_returns_shipment_id`.
  • get_orderGet one order by its Loop `order_id`, with line items, customer and totals.
  • get_productGet one product by Loop `product_id`.
  • get_return_detailsGet full details of a return by `return_id`, or look it up by `order_id` or `order_name`: items, customer, outcome and amounts.
  • list_allowlistList allowlist entries that are allowed to return outside the normal policy.
  • list_blocklistList blocklist entries: orders, emails, products or product tags that cannot be returned.
  • list_customersList customers synced to Loop, with paging and optional `external_id`.
  • list_happy_returns_shipmentsList Happy Returns shipments in a date range (`from`, `to`).
  • list_ordersList orders synced to Loop, with paging and optional `external_id`.
  • list_product_variantsList the variants of a product (`product_id`), optionally by `barcode` or IDs.
  • list_productsList products synced to Loop, filtered by `tags`, `barcode` or `external_id`.
  • list_return_notesList the notes on a return (`return_id`).
  • list_returnsList returns in a date range (`from`, `to`), optionally by `state` (open, closed, cancelled, expired, review). Without dates it covers the last 24 hours.
  • process_returnChanges dataProcess a return by `return_id`, which issues its refund, exchange or store credit. This moves money and cannot be undone.
  • remove_from_blocklistDeletesRemove a blocklist entry by `blocklist_id`.

Set up in three steps

  1. 1

    Pick the app

    Create a free PipMCP account and choose Loop Returns from the app list.

  2. 2

    Paste your key

    Paste a Loop API key. You need Loop Plus or the Loop Integrations add-on. In the Loop Admin go to Returns Management > Tools & integrations > Developer Tools, click Generate API key and tick the scopes the AI should use, for example Returns, Orders and Carts. Name the key, click Generate and copy it.

  3. 3

    Add the link to your AI

    You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:

    1. Click your name, then Settings › Connectors › Add custom connector.
    2. Paste your link as the Remote MCP server URL.
    3. Switch it on from the + menu in a chat.

Questions

What can the AI do in Loop Returns?

The AI can list and read returns and their notes, orders, customers, products and variants, the blocklist and allowlist, and Happy Returns shipments. It can add notes, flag, close, cancel and process returns, add and remove blocklist entries and add allowlist entries.

Does the AI see my Loop Returns API key?

No. Your Loop Returns credentials are encrypted at rest and never shown to the AI. After you save them, they are not shown again, not even to you. The AI only sees the results of the tools it calls.

Can I control what the AI is allowed to do?

Yes. You choose which tools are switched on, so you can start read-only. Processing a return issues a refund, exchange or store credit, and cancelling a return cannot be undone. Both can require your approval before they run. Every tool call is logged.

Does it work with ChatGPT?

Yes. In ChatGPT go to Settings › Apps & Connectors › Advanced and turn on Developer mode, then add your PipMCP link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link also works in Claude (Settings › Connectors › Add custom connector), Cursor and other MCP clients.

What does it cost?

PipMCP has a free plan with no credit card required. Paid plans bill per completed task. You also need your own Loop Returns account.

Why do some tools return a 401 error?

Loop API keys are scoped. If your key does not include a scope that a tool needs, for example Orders, Loop returns a 401 error for that tool. Generate a key with the scopes for the tools you switch on in PipMCP.

Let your AI work in Loop Returns today.

Start free. Your key stays encrypted, and you decide what the AI may do.

Connect Loop Returns free

PipMCP is not affiliated with Loop Returns. Product names are trademarks of their owners.