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

StoreAgent
Store setup & admin recipe

Clean Out Expired and Unused Coupons

Clears the clutter of old campaign codes from your coupon list, with a full backup of their settings first.

WHAT IT DOES asks first Changes your store, only after you say yes
TIME SAVED ~25 min vs doing it by hand
REQUIRES BOTH
StoreAgentFree plugin · MCP on every plan
+
Advanced Coupons Installed and active
Connect your store
THE PROMPT
Help me clean up my coupon list. Find coupons that expired more than 90 days ago, and coupons that have never been used. Show me a table with the code, type, amount, usage count and expiry date. Before you trash anything, export the full settings of those coupons and show me the export so I have a copy. Then wait for my OK. Only trash the coupons I confirm, one by one, and tell me if any of them fail.
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
Help me clean up my coupon list…
37 coupons qualify: 29 expired before July, and 8 have never been used. The export of all 37 coupon settings is ready for you to save. Calling:
advanced-coupons/list-couponsdone
advanced-coupons/export-couponsdone
advanced-coupons/delete-coupondone
CONFIRM BEFORE WRITING
This will make changes in WooCommerce. Do you want me to go ahead?
Yes, applyShow me first
I moved the 33 coupons you confirmed to the trash. You kept SUMMER-VIP and 3 others. You can restore any of them from the coupon trash for the next 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
Lists your coupons with type, amount, usage count and expiry date, with filters.
advanced-coupons/list-coupons
read only
Exports full coupon settings, including advanced options, for review or backup.
advanced-coupons/export-coupons
asks first
Moves a coupon to the trash.
advanced-coupons/delete-coupon
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.

+ Only look at coupons that expired more than [number] days ago.
+ Do not include any coupon with a code that starts with [prefix].
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