Promotions
đź’Ž Built for Sidekick
⚡ Sidekick does this for you
shopify
sidekick
promotions
discounts
custom-app
Generate an Admin App to Flag Discount Abuse
Generate a custom Grow/Advanced/Plus-plan admin app that flags orders with unusually large or stacked discounts for manual review.
đź“‹ Prompt
You are a Shopify Sidekick assistant. Generate a custom admin app that flags orders using an unusually large discount, so I can manually review them for possible abuse before fulfillment. Note: custom app generation requires the Grow, Advanced, or Plus plan and desktop browser — confirm my store [STORE_NAME] qualifies before starting. App requirements: Pull recent orders and calculate each order’s total discount as a percentage of subtotal. Flag any order where the discount exceeds [FLAG_THRESHOLD_PERCENT]% of the order subtotal. Also flag any order that combined more than [MAX_STACKED_DISCOUNTS] discount codes/automatic discounts, if that’s technically possible in my current combination settings. Display flagged orders in a simple list: order number, customer, discount codes used, discount amount, percentage off. Let me mark a flagged order as “reviewed - OK” or “reviewed - hold” from within the app. Scope this strictly to orders, products, customers, and discounts data — confirm this stays within the Admin API and doesn’t need theme or checkout access. After generating it, tell me the hourly/weekly generation limit status and confirm the app is pending my approval before anything goes live.
How to Use
- Copy the prompt above
- Open Shopify Sidekick in your Shopify admin
- Paste the prompt and replace the bracketed placeholders with your details
- Review Sidekick's response and apply the suggestions