New: connect Claude, ChatGPT or Cursor to your WooCommerce store. See how →

StoreAgent
Catalog & products recipe

Trash Out-of-Stock Products That No Longer Sell

Finds products that are out of stock and have had no orders in a year, so you can clear old listings out of your catalog.

WHAT IT DOES asks first Changes your store, only after you say yes
TIME SAVED ~35 min vs doing it by hand
REQUIRES
StoreAgentFree plugin · MCP on every plan
Connect your store
THE PROMPT
Find all products that are out of stock. Check our orders from the last 12 months and tell me which of these products have not been in any order. Show me a list with the product name, SKU and the date it was last changed, and wait for my OK. Move only the products I approve to the trash. Do not delete anything for good, and leave alone any product that has sold in the last 12 months.
PASTE INTO ClaudeChatGPTCursor+ any MCP client
WHAT HAPPENS NEXT

What Happens When You Paste It

Your assistant picks the right abilities, pulls live data from your store and does the work. Here’s roughly how the conversation goes.

1
It reads first. Read abilities run straight away, so it’s working from your real catalog, not guessing.
2
It checks with you. Anything that writes to your store stops and asks before it goes ahead.
3
It’s all logged. Every ability call shows up in wp-admin, so you can see exactly what changed.
Claude · connected to your store
yourstore.com · via StoreAgent MCP
Live
Find all products that are out of stock…
38 products are out of stock. 27 of them appear in no order since 1 Oct 2025. 11 sold at least once, so I left those out. Calling:
woocommerce/products-querydone
woocommerce/orders-querydone
woocommerce/product-deletedone
CONFIRM BEFORE WRITING
This will make changes in WooCommerce. Do you want me to go ahead?
Yes, applyShow me first
Moved 24 products to the trash, the ones you approved. You can restore them from Products > Trash for 30 days.
UNDER THE HOOD

Abilities This Recipe Calls

Make sure these are switched on in your StoreAgent MCP settings. You can turn any of them off at any time.

read only
Finds products by name, SKU, status, type or stock status, with prices and stock.
woocommerce/products-query
read only
Finds orders by status, customer, email or date, with the items in each order.
woocommerce/orders-query
asks first
Moves a product to the trash, or deletes it for good if you say so.
woocommerce/product-delete
MAKE IT YOURS

Tweak It for Your Store

Add one of these to the end of the prompt. Swap anything in [brackets] for your own details.

+ Use [6] months instead of 12.
+ Set them to draft instead of moving them to the trash.
StoreAgent

PO BOX 4362
Gumdale QLD 4154
Australia

Our Brands

© 2026 Rymera Web Co Pty Ltd. All Rights Reserved. ABN 51 604 474 213. Privacy Policy · Terms of Service · Data Processing Addendum · Affiliate Disclosure