> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.omegatheme.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Automatically refund or email the buyer when a dispute opens

Two workflow actions can act on a dispute for you: **Accept dispute** refunds small inquiries before they become claims, and **Contact buyer** emails the buyer as soon as a dispute opens so they can resolve it with you and withdraw the case. Both are available on the Premium plan and above, in **Settings → Automation → Workflow**. Refunds and sent emails can't be undone, so read the rules below before you turn them on.

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/img-3_7gxgey.png)

## Refund small inquiries automatically (Accept dispute)

**Accept dispute** refunds the buyer in full through the payment gateway. The quickest way to start is the **PayPal chargeback prevention** template: PayPal inquiries of 15 USD or less are refunded and tagged `auto-accepted-inquiry`, and the rest email your team and get the tag `inquiry-needs-review`.

1. Add **Accept dispute** to a workflow with the trigger **Dispute — Opened**, **Dispute — Status changed** or **Dispute — Response deadline approaching**.
2. Add a **Transaction amount** condition. Without it, the editor warns you that disputes of any amount will be refunded. A good limit is around your gateway's dispute fee: below it, fighting a dispute usually costs more than refunding it.
3. Edit **Note to buyer** if you like. It's sent with PayPal refunds. Default: *We have accepted your claim and issued a full refund.* Stripe refunds don't include a note.
4. Add an **Add order tag** action. The refund goes straight through PayPal or Stripe, not Shopify, so the Shopify order still shows as Paid. A tag makes reconciliation easy.

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/img-6_101k1hc.png)
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/img-7_rg6qtk.png)

When a refund happens:

- Only while the dispute is still in the **inquiry** stage. Disputes past that stage are skipped.
- Only for disputes **opened after the workflow was turned on**. Older disputes are never refunded, even if they match.
- Only on **PayPal** and **Stripe**. Shopify Payments doesn't allow apps to accept disputes, Airwallex and Adyen aren't supported yet, and Klarna and Afterpay have no inquiry stage.
- Each dispute is refunded at most once.
- **Stripe account shared by several stores**: the refund only happens if the order is confirmed to belong to this store.

After it runs, the dispute shows which workflow accepted it and when.

## Email the buyer automatically (Contact buyer)

**Contact buyer** sends the buyer your email template for the dispute's reason. Start from the **Email the buyer when a dispute opens** template, or add the action to any workflow with the trigger **Dispute — Opened**.

1. Connect a sender email in **Settings → Buyer outreach → Email setup**. With Amazon SES, it must be **Verified**. With SMTP, it's ready as soon as you save. Until then, the workflow can't be turned on: the editor shows a banner with **Set up sender email**, and you can still save it as a draft. See [Connect your sender email (Buyer outreach)](https://help.omegatheme.com/en/article/connect-your-sender-email-buyer-outreach-1mv0860/).
2. In **Template**, keep **Use the template for the dispute's reason** to pick the matching template from **Buyer outreach → Response templates**, or select one specific template. If that template is deleted later, the editor asks you to choose another one.
3. Save and turn the workflow on.

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/img-8_w395a9.png)
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/img-9_1vxig2c.png)

Sending rules:

- At most **one automatic email per dispute**. If the buyer has already been emailed about the dispute, manually or automatically, they aren't emailed again.
- Never on **unauthorized** disputes, or once evidence is submitted or the dispute is closed.
- Only for disputes **opened after the workflow was turned on**.
- Uses the buyer email on the dispute. If there is none, it uses the email on the Shopify order. The order must belong to this store.
- Each store can send up to **200 emails per day** and **10 per minute**, shared with the emails you send manually.

After sending, the dispute timeline and **Buyer outreach → Email history** show the email with **Sent automatically** and the workflow name. The recipients in **Settings → Notifications** get an email saying which dispute's buyer was contacted, with a link to the dispute.

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/img-10_pdd4jg.png)
## When an action is skipped

The app never guesses for actions that can't be undone. If a rule stops an action, the run shows it as **Skipped** with the reason. Open the workflow and go to **Run history** to see it.

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/img-12_1y83fnu.png)


| Reason (as shown) | What it means |
| ---- | ---- |
| This dispute was opened before the workflow was turned on | The dispute opened before you turned the workflow on. |
| Dispute is no longer in the inquiry stage | The dispute moved past inquiry, so it isn't refunded automatically. |
| Already accepted | The dispute was already accepted. |
| Charge is already fully refunded | The payment was already refunded in full. |
| Gateway account not connected | The gateway account isn't connected or lost permission. |
| Stripe key cannot create refunds | The Stripe key has no permission to create refunds. |
| The order of this dispute could not be confirmed for this store | The Stripe account is shared by several stores and the order couldn't be confirmed. |
| A workflow condition could not be read / A branch condition could not be read | Condition data couldn't be read, for example Shopify didn't respond in time. |
| Unauthorized disputes are never contacted automatically | Unauthorized disputes never get automatic buyer emails. |
| The buyer was already contacted | The buyer was already emailed about this dispute. |
| No verified sender email | The sender email isn't connected or verified. |
| This dispute has no buyer email address | No buyer email was found on the dispute or the Shopify order. |
| Evidence was already submitted / The dispute is closed | Evidence is in, or the dispute is closed. |
| Buyer email sending limit reached | The store hit its daily or per-minute sending limit. |
| No template for this dispute reason | There's no email template for this reason. |
| Automatic buyer emails are not available yet | Automatic buyer emails are turned off for the app. |

## Good to know

- **Older disputes weren't handled?** That's by design. Both actions only act on disputes opened after the workflow was turned on.
- **Turned a workflow off and on again?** The "turned on" time resets, so disputes opened while it was off are never refunded or emailed. It also resets when you add Accept dispute or Contact buyer to a workflow that's on, or change the trigger of a workflow that has either action.
- **Moved below Premium?** Workflows stop refunding and emailing buyers. After upgrading again, disputes opened while on the lower plan aren't handled either.
- **Need to stop right away?** Switch the workflow **Off** in the list, or open it and click **Turn off**.

**Related articles:** [Automate dispute and sync alerts with condition-based workflows](https://help.omegatheme.com/en/article/automate-dispute-and-sync-alerts-with-condition-based-workflows-16ofprb/) · [Connect your sender email (Buyer outreach)](https://help.omegatheme.com/en/article/connect-your-sender-email-buyer-outreach-1mv0860/) · [Respond to a PayPal Dispute](https://help.omegatheme.com/en/article/respond-to-a-paypal-dispute-2bxk2h/)

---

Not finding what you are looking for? Chat with us or send us an email at support@omegatheme.com — we're always right there to give you a full hand.