Skip to content

Store price and stock changes with a preview you approve

Answers questions about your store from live data, such as low stock or failed orders, and prepares price, sale and stock changes as previews. A change is applied only after you approve it, the approval works once and expires, and code blocks discounts over your limit. Every change lands in a local audit log.

Ecommerce and resaleWorks with Claude Desktop with MCP · Claude Code+1Community example

What it does

  • Reports sales, low stock and failed or on hold orders
  • Looks up an order or a customer's history
  • Shows a before and after preview for a price, sale or stock change
  • Blocks discounts over the limit and sale prices above the regular price
  • Logs every proposed, blocked and applied change

Your approval boundaries

Approval required

These actions always wait for your yes:

  • Applying any price, sale or stock change
  • Anything on orders, refunds, deletions or customers

You decide what happens next.

More about this workflow

This setup is for online sellers and resale shops juggling listings, orders and buyers. It takes a repeat chore off your plate and hands back something you can check quickly.

First, it reports sales, low stock and failed or on hold orders. Next, it looks up an order or a customer's history. Then it shows a before and after preview for a price, sale or stock change. After that, it blocks discounts over the limit and sale prices above the regular price. Finally, it logs every proposed, blocked and applied change. It works with your store admin, each on its own login with limited access.

You get the prep work done and waiting for you. The agent stops and asks for your yes before applying any price, sale or stock change and anything on orders, refunds, deletions or customers, and says plainly if a step cannot be undone.

“Price, sale and stock changes always need your OK first.”
Rahat Ali RahatChoudhary on GitHub · Oct 25, 2026
Before you startStore admin accessScoped permissionsClaude Desktop with MCP or Claude Code
Explore required tools and model recommendations

Tools and access

  • Shopify

    Handles the store admin part of this job. Grant read orders and products.

    API required: Yes. Needs a Shopify app with an access token and the admin scopes you approve.

Official links only. Not sponsored, no affiliate links.

Model recommendations

Best pick

Gemini 3.8 Flash

Built for agent workflows, with a free tier to test on.

$0.75 per million input tokens and $3.75 per million output tokens through December 31, 2026. $1.50 and $7.50 from January 1, 2027.

Google docs as of October 11, 2026

Cheaper backup

Gemini 3.5 Flash-Lite

Low cost for many listings at once.

$0.30 per million input tokens, $2.50 per million output tokens.

Google docs as of October 11, 2026

Our own picks. Not sponsored, no affiliate links.

Build your prompt

Add your details, then copy the prompt into your tool.

1Your details

Fill these in and the prompt updates as you type.

percent

yes or no

2Your prompt

4 of 4 still empty
Fill these in before you run it: [STORE URL] [MAX PRICE CHANGE: percent] [LOW STOCK THRESHOLD] [READ ONLY: yes or no] You are the Store price and stock changes with a preview you approve agent. Answers questions about your store from live data, such as low stock or failed orders, and prepares price, sale and stock changes as previews. A change is applied only after you approve it, the approval works once and expires, and code blocks discounts over your limit. Every change lands in a local audit log. Use only the details filled in above. If any [BRACKETED] item is still blank or unclear, stop and ask for it first. Do not guess. What you do on your own: - Reports sales, low stock and failed or on hold orders - Looks up an order or a customer's history - Shows a before and after preview for a price, sale or stock change - Blocks discounts over the limit and sale prices above the regular price - Logs every proposed, blocked and applied change What you must never do without a yes from a person: - Applying any price, sale or stock change - Anything on orders, refunds, deletions or customers Rules: - Before any step on the list above, stop and ask. Say in plain words what you want to do, who it affects, and whether it can be undone. - If something cannot be undone, say so first, in one short line. - Write drafts, not final actions. A person sends, pays, posts, or deletes. - Keep a short log of every action you took and every source you read. - If you are unsure, ask instead of guessing.
View run instructionsPaste into: Claude Desktop with MCP, Claude Code, Cursor

Your answers stay in this browser only.

Run your workflow

Connect your tools with only the access this setup needs, then follow these steps.

Steps

Do these in order. Test on old data before it touches live work.

  1. 1Connect Shopify with its own login, not yours. Grant read orders and products.
  2. 2Paste the prompt where your harness takes instructions. See the note under the Copy button.
  3. 3Do a dry run on old or test data first. Check every draft and every stop point by hand before you let it near live work.
  4. 4Read its log after the first real run. Only widen access once a week of runs looks clean.

Safeguards and trust score

The score describes this example setup’s access, approval boundaries, ability to undo changes, and scope.

Access18 / 30

Can draft things that send or spend, so it sits close to risky actions.

Human approval30 / 30

Waits for a yes on: applying any price, sale or stock change, anything on orders, refunds, deletions or customers.

Undo and logs14 / 20

Proposes changes to live records, so the setup needs a change log and a way back.

Scope20 / 20

Runs on its own login across 1 tool. Fewer connections means a smaller blast radius.

How to raise it

  • Access: Take away its ability to send, post or spend. Let it only write drafts, and have a person press send or pay from their own account +6
  • Undo and logs: Stop it from editing live records. Have it write the change as a proposal you apply, and keep a log of every change with a way to roll it back +3

Do all of these to reach 91, up from 82.

Want help getting there? Get an AI Trust Audit from Pixeldesigns

Reviewed by Trustcase (example setup). How scoring works

Embed badge

Show this trust score on your site or README. It links back here.

Trustcase trust score badge
Markdown
[![Trustcase trust score for Store price and stock changes with a preview you approve](https://trustcase.dev/badge/store-price-and-stock-changes-with-a-preview-you-approve.svg)](https://trustcase.dev/use-cases/store-price-and-stock-changes-with-a-preview-you-approve)
HTML
<a href="https://trustcase.dev/use-cases/store-price-and-stock-changes-with-a-preview-you-approve"><img src="https://trustcase.dev/badge/store-price-and-stock-changes-with-a-preview-you-approve.svg" alt="Trustcase trust score for Store price and stock changes with a preview you approve" height="20"></a>
  • Suppressed Amazon listing fixes with preview and approval

    When a listing is suppressed, inactive or not buyable, the agent scans its status and issues and finds the cause. It drafts the fix and shows you a preview, and nothing changes until you approve.

  • Daily true profit and payout gap report

    Turns yesterday's Shopify and Square exports plus your costs into true profit per channel. It also lists payouts that do not match what the sales say you should have received.

  • Monday store revenue leak readout

    Checks your store and ad exports for where money is leaking, from wasted ad spend to leaked discount codes and refunds. Each Monday it names the three things to fix first and changes nothing itself.

  • Lost checkout discount rules audit per store

    For a store whose old checkout scripts stopped running, it finds each discount, shipping and payment rule that quietly stopped and checks whether anything replaced it. You get one read-only report with fixes ranked by revenue impact.

Other workflows that use the same tools

  • Refund checker

    Support. Checks refund requests against your policy and lays out the facts.

  • Review moderation helper

    Support. Suggests whether a customer review should stay up, get a warning, be hidden or be reported, using only the text and star rating. A person makes the final call.

  • Daily delivery app sales log

    Operations. Reads yesterday's sales from each delivery app and your point of sale every morning. Writes the totals into one sales sheet.