Promotions 💎 Built for Sidekick ⚡ Sidekick does this for you
shopify sidekick promotions discounts housekeeping

Audit and Clean Up Expired Discount Codes

Find every expired or zero-redemption discount code in the store and deactivate or delete them to keep the discounts list clean.

📋 Prompt
Run in Sidekick
Audit all discount codes and automatic discounts currently in my Shopify admin.

Please:

  List every discount (code or automatic) that has an end date in the past but is still marked active.
  List every discount that has zero redemptions and was created more than [STALE_DAYS] days ago.
  List every discount whose end date is more than [FUTURE_DAYS] days out but has already exceeded its intended usage cap of [EXPECTED_CAP], if I’ve told you what that was supposed to be.
  For each flagged discount, show: name, type, status, redemption count, start/end date.
  Deactivate (don’t delete) everything in category 1, since it’s expired but I may want the redemption history.
  For category 2, ask me to confirm before deleting — don’t delete anything without a yes from me.
  Leave anything currently within its active window untouched, even if usage is low.


Give me the final counts: how many deactivated, how many flagged for my review, and how many left alone.

How to Use

  1. Copy the prompt above
  2. Open Shopify Sidekick in your Shopify admin
  3. Paste the prompt and replace the bracketed placeholders with your details
  4. Review Sidekick's response and apply the suggestions