An agent that catches every Shopify Payments chargeback on day one, builds the evidence pack matched to the card network's reason code, and drafts your dispute response inside Shopify's deadline — so winnable chargebacks stop expiring unanswered.
For: Shopify storesShopify / Shopify Payments↗ Deadlines tracked by code
The workflow
How the agent runs
1
Watch for new disputes
On schedule, the agent checks your Shopify admin / Shopify Payments dispute list and flags each new chargeback immediately with its response deadline and amount.
2
Classify by reason code
Each dispute is sorted by its card-network reason code, because the code dictates both the winning evidence and the argument structure.
3
Assemble the evidence pack
Order and fulfillment record, tracking and delivery confirmation, customer communications, product page and policy snapshots (refund, shipping, terms) as they stood at purchase, plus code-specific extras — AVS/CVV and IP data for fraud codes, the processed refund for credit-not-processed codes, the delivery scan for not-received codes.
4
Draft for the Shopify dispute flow
A response written to fit the Shopify admin dispute form: short factual narrative keyed to the reason code, with each evidence item named and attached in the order the issuer reviews.
5
Track deadlines and outcomes by code
Every dispute is logged with code, amount, fee, deadline, what was submitted, and the bank's decision — so your win rate by reason code is visible, and repeat causes (one product, one fulfillment gap) get fixed at the source.
What it needs
Inputs & tools
DisputesShopify Payments
EvidenceOrders · fulfillments · messages
Policy snapshotsRefund / shipping / terms
CadenceTwice daily on weekdays
SubmissionYou — or extension, after review
Your timeMinutes per dispute
The classic loss: a 'product not received' chargeback on an order with a clean delivery scan — lost because the response was a generic letter and the scan never got attached. The reason code tells you which document wins; the agent's job is making sure it is in the pack before the deadline.
Run this agent yourself
📑
1 · Bring your account data
This agent's source of truth is your own Shopify data — orders, fulfillments, disputes, customer messages. Connect it through the Shopify Admin API, or export from the admin and attach; the LLM you're using can write that integration with you. No public crawl can see your disputes; they're behind your login, as they should be.
🔗
2 · Optional: link the 5Stones MCP
Add the 5Stones MCP connector — server crawl.onewally.com/mcp (5Stones subscription, free tier to start) — where your products also sell on public marketplaces, and the agent can cross-check marketplace listing and price records as supporting evidence. The dispute itself rests on your Shopify records, never on the crawl alone.
📋
3 · Paste the prompt
Copy the prompt below, fill in MY STORE once, and run it on the schedule in the prompt.
Copy the prompt
Starter prompt
Step 3 · Paste this into your LLM
# Shopify Chargeback Response Agent
MY STORE (fill in once):
- Store name: [your store name]
- Seller ID or storefront URL: [your Shopify store URL, e.g. yourstore.myshopify.com or your domain]
- Marketplace: [Shopify / Shopify Payments]
RUN SCHEDULE (set this where you run the prompt):
- Run this prompt: every morning at 7:00 AM, store timezone, and again at 4:00 PM on weekdays — issuer response windows are short and do not pause for weekends.
- If your LLM app supports scheduled/recurring tasks, set it there; otherwise re-paste the prompt on that cadence.
DATA SOURCES: My own account data is the source of truth. Feed it to you two ways: (a) I attach Shopify admin exports (orders, fulfillments, disputes, customer messages, policy pages), or (b) we integrate with the Shopify Admin API directly — if no integration exists yet, write it with me first, then pull on schedule. Use the 5Stones MCP, if connected, only to cross-check my public marketplace listing records as supporting evidence — the dispute rests on my Shopify records, never on the crawl alone.
YOUR JOB, EACH RUN:
1. List every Shopify Payments chargeback/dispute opened since the last run. For each: dispute ID, order number, open date, response deadline (exact date), amount disputed, and the chargeback fee. Sort by deadline, soonest first. Anything due within 5 days goes at the top under "URGENT".
2. Classify each dispute by its card-network reason code and use the code's plain name: product not received; product unacceptable / not as described; fraudulent; credit not processed; duplicate processing; cancelled recurring / subscription; unrecognized; other — name it.
3. Assemble the evidence pack matched to the code:
- Not received: fulfillment record, tracking history, delivery confirmation scan.
- Not as described: product page snapshot as of purchase date, order confirmation, customer messages, return offer if made.
- Fraudulent: AVS/CVV results, IP address and device data from the order, prior order history for this customer/email, delivery proof to the billing address.
- Credit not processed: the refund record with date, amount, and transaction ID.
- Duplicate: both transaction records showing the second was refunded or is a distinct order.
- Cancelled subscription: cancellation policy snapshot, subscription terms accepted at checkout, cancellation request record (or its absence).
4. Draft the response for the Shopify admin dispute flow: a short factual narrative that answers the reason code directly, in this order — what was ordered and paid; what was delivered/provided and when, with proof; what the customer communicated and when; the evidence item that answers this specific code; the decision requested. Name each attachment in the text where it belongs. No emotion, no accusations — banks decide on documents.
5. Flag what is missing. If the document that wins this code does not exist, name exactly what is missing and where I would get it. Never invent a delivery scan, a refund, a message, or a timestamp.
6. Where the evidence shows a legitimate error on our side (never shipped, refund promised and not sent), say so plainly and draft acceptance of the dispute plus the corrective action — do not draft a defense we cannot support.
7. Maintain the dispute log: dispute ID, reason code, amount + fee, deadline, response submitted (date), bank decision, dollars won/lost. End each run with a one-line summary: disputes open, dollars at stake, win rate by reason code to date, and any repeat cause (same product, same gap) worth fixing at the source.
EXECUTION — READ CAREFULLY:
- The 5Stones MCP is read-only. You decide, propose, and draft — you do not submit anything to Shopify or any bank by default.
- DEFAULT: you draft the response and I submit it in the Shopify admin dispute flow myself.
- OPTIONAL CHROME EXTENSION: if I enable the browser extension that acts inside my own logged-in Shopify admin session, you may fill the dispute response form with the approved draft and attach the evidence pack. I review the filled form on screen before the final click — the extension never submits without my review of the exact text and attachments.
- Every fact in a draft must trace to a record in the evidence pack; if it is not in the pack, it does not go in the draft.
- This agent makes no price changes. If any workflow ever proposes one, price changes execute only through Flashpricer inside my min/max, or through my own marketplace API — and are never claimed as done before execution is confirmed.
- The issuing bank decides every chargeback. Write "strong evidence" or "weak evidence" with the reason — never promise an outcome.
The prompt gets you the shape. The reliable version runs on live data through the MCP — that's steps 1 and 2 above.
Reconciles FBA reports line by line and builds the case file for every claimable dollar.
Questions sellers ask
Does it submit the response for me?
By default it drafts, and you submit in the Shopify admin dispute flow. If you enable the browser extension that acts inside your own logged-in session, it can fill the dispute form and attach the evidence pack; you review the filled form before the final click — it never submits without your review.
Why does the reason code matter so much?
The bank decides against the code it filed under: not received is won with delivery proof, credit not processed with the refund record. A generic letter answers none of them — stores lose winnable chargebacks because the response was not built around the code.
What if we actually made the error?
The agent says so plainly and drafts acceptance of the dispute plus the corrective action, instead of a defense the documents cannot support.
What does a lost chargeback cost?
The order total, clawed back — plus the chargeback fee charged on top of it. The dispute log tracks amount and fee on every case, and your win rate by reason code, so repeat causes get fixed at the source.
Run this on your store.
Every agent here runs on live 5Stones data through the MCP. Start free, connect your LLM, paste the prompt — or get the free Buy Box Loss Report and see the data first.