Turn last week's Loop returns into a merchandising fix list

By General Input

Every Monday, see which products are driving preventable returns, why shoppers sent them back, and the one change that will fix each one.

Integrations

  • Loop Returns
  • Google Sheets
  • Slack

Type

Agentic Task

Categories

  • Operations
  • Marketing

Every Monday at 7am, review the last seven days of returns for my store and produce a merchandising brief that tells the team which product pages to fix. Start by pulling returns from Loop Returns with the Detailed Returns List action, setting the from and to range to cover the previous seven full days. Pass paginate=true and follow nextPageUrl until it comes back null so you have the complete week, because a week of returns will not fit on one page for most brands. Loop caps the from and to range at 120 days, so a seven day window is comfortably inside the limit.

Group every returned line item by product. For each product, count total returns and units returned, then sort the reason the shopper gave into preventable and not preventable. Treat sizing and fit, quality and defects, and not as described or different from the photos as preventable, since a merchandising change can actually move those. Treat changed my mind, no longer needed, found a better price, and arrived too late as not preventable. Reason wording varies by store, so match on meaning rather than exact strings, and put anything you cannot confidently classify in an unclear bucket instead of forcing it into one side.

Rank the products two ways: by raw return volume, and by the share of their returns citing a preventable reason. Work out the store wide preventable share for the week and use it as the baseline. Only flag a product when it had at least five returns in the window and its preventable share is either at least half of its returns or at least 1.5 times the store wide baseline. Deliberately skip products whose returns are just normal volume for a bestseller, meaning high raw counts with a preventable share at or below the baseline, and say in the brief that you skipped them. The point of this brief is preventable returns, not a leaderboard of popular products.

For each flagged product, enrich it with the Loop Returns List Products action to pull the title, description, images, and options, and use List Product Variants when you need the size or colorway breakdown. Use that detail to recommend exactly one concrete fix per product, tied to its dominant reason. Fit complaints concentrated in particular sizes point to a sizing chart update or a runs small note near the size selector. Not as described complaints point to better photography, a color or material correction, or clearer copy. Quality and defect complaints are not a page problem, so flag them for supplier or QA follow up and say that plainly. Be specific: name the size, the colorway, or the sentence in the description that is misleading, and skip generic advice like improve the product page.

Append one row per flagged product to my returns tracking sheet in Google Sheets using Append Values, so the team can watch the trend week over week. Use these columns in order: week ending date, product title, product id, total returns, units returned, preventable share as a percentage, top preventable reason, recommended fix, and a blank status column for the team to fill in. The sheet already has a header row, so append after the last row and never overwrite existing rows.

Then post the brief to my merchandising channel in Slack with Send a Message. Open with one line covering total returns for the week, the store wide preventable share, and how that compares to previous weeks, which you can read from the tracking sheet with Get Values. Then list the top five flagged products, each with its return count, preventable share, dominant reason, and the single recommended fix, in a short scannable format. Note any bestsellers you skipped and why, then link the tracking sheet at the end. Keep the whole message to roughly 20 lines so it reads in the channel without expanding.

If no product clears the bar, do not append any rows. Post a short Slack note saying returns looked normal this week and include the store wide preventable share so the team still sees the trend. Loop allows 300 requests per minute per API key, so pace the pagination and enrichment calls, and if a call comes back with a 429, pause briefly and retry rather than dropping part of the week.

Related prompts

Explore more prompts
Call overdue Xero customers with an AI collections agentLocal listing health board for every location you manageWin back LiveChat visitors whose chats went unansweredLet support send one-off Loops emails without an engineerStop cold emails to anyone with a live deal in PipedriveiMessage campaign console with pre-flight checks and delivery boardChat quality review board for LiveChat support leadsLinkedIn Ads budget pacing dashboard for every client accountFront desk appointment confirmation board for the next 3 daysGive your team Looker numbers without buying more seats