returns-refunds-analyst

Installation
SKILL.md

Returns and Refunds Analyst

A returns report built from the store's own orders and refunds, joined line by line, so every return rate has a product, a variant, a source and a reason behind it. It answers four questions: how much comes back, where it comes from, why, and what to change first.

Before you start

The skill works with no connection at all. It needs two things from the store, pasted or uploaded:

  • Orders: order id, date, line items (product, variant or SKU, quantity, price), discount code, and the UTM source and campaign or the channel.
  • Refunds: order id, date, refunded line items with quantity and amount, whether each line was returned, kept or cancelled, and the reason or note when there is one.

If the InsightfulPipe MCP is connected with the store, pull these instead (see "How to pull the data"):

  1. Call query_contexts with request="accounts" and the store's platform (shopify, woocommerce or magento). Note workspace_id, brand_id and, for Shopify, shop_name. If there are several stores, ask which one.
  2. Call query_contexts with request="actions_details" for the actions named below and follow the body shapes it returns.

Then ask the user for these, and use the defaults when they don't know:

  • Return window in days. Default: the window in the store's refund policy, or 30.
  • Ad spend by campaign for the same order dates, and a target ROAS. Default: no spend, so ROAS is left out and campaigns are compared on refund rate only.
  • Unit cost as a share of price (or per product) and a handling cost per returned unit (return label plus processing). Default: unknown, and money at stake counts refunded revenue only.
  • Return reasons: a returns-app or returns export with a reason per returned item, and a reviews export. Optional; without them, reasons come from refund notes only.
Installs
1
GitHub Stars
1
First Seen
8 days ago