> ## Documentation Index
> Fetch the complete documentation index at: https://hopsdocs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Dispute triage

> Sort billing disputes by urgency and draft the first reply.

Billing disputes have deadlines and the wrong order costs money. Hops sorts new disputes by deadline and amount, explains each and drafts the first reply.

<Info>
  **How it runs:** Scheduled. An automation runs every weekday at 9am, posts the triaged list and saves it as a Doc. You can also ask Hops any time.
</Info>

## What it does

* **Sorts by deadline, then amount.** The most urgent disputes are first.
* **States the cause and the policy.** Each dispute shows why it happened and which policy applies.
* **Drafts the first reply** in your support voice, ready for review.
* **Routes large disputes.** Anything over \$5,000 goes to finance.

<Frame>
  <img src="https://mintcdn.com/hopsdocs/E03FYifT87c9QmFJ/images/use-cases/support-dispute-triage.gif?s=fccebe1d35e07e44abd9d1126f05c9fa" alt="Support Inbox and Stripe connections, Hops triaged billing disputes and drafted first replies" width="1440" height="810" data-path="images/use-cases/support-dispute-triage.gif" />
</Frame>

## Ask Hops

Copy a prompt into any chat with Hops, or mention `@Hops` in a Space.

```text theme={null}
Triage today's new billing disputes.
```

```text theme={null}
Which disputes are due in the next 48 hours?
```

```text theme={null}
Draft a reply for the Acme duplicate charge dispute.
```

```text theme={null}
List disputes over $5,000 that need finance.
```

Example reply:

> 9 new disputes triaged:
>
> * 2 due today with refunds over \$1,000.
> * 4 duplicate charges, replies drafted.
> * 3 need finance review, assigned to Priya Shah.

## What you get

* **A Slack or Space post** each weekday with the triaged list.
* **A saved Doc** in **Docs** with each dispute, cause and next step.
* **Reply drafts** ready to send from the Support Inbox.
* **On-demand triage** for any dispute.

## Connections needed

Connect these apps. Each card opens Connections in the app.

<CardGroup cols={3}>
  <Card title="Support Inbox" icon="plug" href="https://app.hops.ai/my-hops/connections">
    Ticket threads and customer history.
  </Card>

  <Card title="Stripe" icon="stripe" href="https://app.hops.ai/my-hops/connections">
    Charges and dispute details.
  </Card>

  <Card title="Slack" icon="slack" href="https://app.hops.ai/my-hops/connections">
    Where Hops posts the results and nudges owners.
  </Card>
</CardGroup>

## Set it up

<Steps>
  <Step title="Connect your apps">
    Install the Support Inbox app, then connect Stripe and Slack in **Connections**.

    See [Connections](/docs/connections/overview).
  </Step>

  <Step title="Pin context">
    Create a **support** Space and pin your refund policy in Space context.

    See [Spaces](/docs/spaces/overview) and [Space context](/docs/spaces/space-context).
  </Step>

  <Step title="Add the skill">
    Create a skill with this prompt so the output has the same format every time.

    ```text theme={null}
    You triage billing disputes. Sort by deadline then amount. For each, state the cause, the policy that applies and the next step. Draft the first reply in our support voice. Send anything over $5,000 to finance.
    ```

    See [Build a skill](/docs/agents/build-a-skill).
  </Step>

  <Step title="Schedule it">
    Run every weekday at 9am. Hops triages new disputes, posts the list to the Space and saves a Doc.

    See [Automation](/docs/spaces/automation).
  </Step>
</Steps>


## Related topics

- [Support](/teams/support.md)
- [Issue triage](/teams/product-engineering/use-cases/issue-triage.md)
- [Production alert triage](/teams/product-engineering/use-cases/prod-alert-triage.md)
- [Product & Engineering](/teams/product-engineering.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.