A customer asks, “Where’s my order?” An AI support agent checks the shipment and shares an update. Then the customer says they canceled last week and their card was charged twice. In the span of two messages, the agent has gone from checking a tracking number to handling a payment dispute. Each request needs a different level of access and a different response.
When you design an AI agent for customer support, give each action its own rules. Looking up a shipment, issuing a refund, and resolving a payment dispute carry different consequences. The same agent can help with all three when the application gives it the right access for each.
Decide what the agent can do at each step
| Customer request | What the agent can do | When a person steps in |
|---|---|---|
| Where’s my order? | Read the shipping status for an order on the verified customer’s account and share the latest update. | Identity or order ownership is unclear, or there’s a delivery exception the available data can’t explain. |
| Can I get a refund? | Check eligibility and prepare a refund proposal with the amount, reason, and order reference. | An authorized reviewer checks the proposal before a payment service issues the refund. |
| I was charged twice. | Collect the relevant order and payment references, then route the case to the payments team. | The payments team investigates the charge and decides how to resolve it. |
For each action, write down what the agent needs to know, what it can change, and who can handle an exception. Consider the effect of a wrong action and the work required to undo it. An incorrect delivery estimate might mean a second support contact. An incorrect refund can affect the payment, accounting, and order records at once.
Enforce those decisions in the application
Give the agent an order-status tool that returns only the details needed to answer the question. The service behind that tool should check that the order belongs to the signed-in customer before it returns information. Give the agent a separate tool that prepares a refund proposal. Keep the ability to issue money in the payments workflow. These controls still apply when a conversation changes direction or the agent misunderstands a request. OWASP guidance on excessive agency
Make the review screen specific. Give the reviewer the order, refund amount, applicable policy, and relevant evidence. Their approval should apply to that exact proposal. If the refundable balance changes while the case is waiting, check the current balance and send the revised proposal back for review. If the payment provider times out after a refund is submitted, reconcile the transaction status before retrying. That gives the team a way to recover without risking a duplicate refund.
When a case needs a handoff, send the payments team the verified records, what the customer is asking for, and what the agent already checked. Give the customer a case reference and tell them what to expect next so they can follow up without repeating the details.
Test what happens when the case gets messy
Start with real support patterns in a test environment. Include an order missing from the account, a shipment tracker that returns stale data, and an approved refund whose balance changes before execution. Define the expected outcome for each case, then check what actually happened in the order system, payment records, and support queue. Rerun the cases when you update the model, tool, or workflow. Anthropic’s guide to evaluating agents
In production, keep an audit trail of actions, approvals, and downstream outcomes. Give a support lead the ability to pause a specific action, such as creating refund proposals, while routine order status stays available. Decide who investigates flagged cases and how to restore the action after a fix. NIST’s generative AI risk management profile
Measure how much work comes back to your team
Compare the pilot with your existing support workflow for each request type. A fast response can still create a repeat ticket or a correction. Review a sample of completed cases alongside escalations so you can see both.
- Verified resolution rate. Of cases eligible for self-service, how many did the agent resolve correctly without staff follow-up?
- Correction rate. Of cases audited, how many needed a staff member to correct an answer, an action, or a proposal?
- Handoff quality. Did the right queue get the case with enough verified context to pick up the work? How many customers had to repeat their request?
- Time to resolution. How long did the whole case take, including time in the approval queue and any staff rework?
Start with shipment lookups and review the results before adding refund proposals. Keep payment disputes with the people who handle them today. When a team can see what the agent did, correct a mistake, and pause the action that caused it, it has a practical basis for deciding what to automate next.
