How to Test a Bot for Conflicting Refund and Delivery Answers
Use a policy precedence table and boundary cases to stop a support bot mixing incompatible return, shipping and promotional rules.
Use a policy precedence table and boundary cases to stop a support bot mixing incompatible return, shipping and promotional rules.
Make policy scope explicit
List the country or region, purchase date, channel, service level and any authorised exception for each policy. Give source owners a single versioned register. When two policies overlap, record which one wins and who can approve an exception. Refer legal scope questions to the business policy owner.
| Fictional conflict | Expected check | Pass condition |
|---|---|---|
| Holiday extension and express delivery fee | Does the extension apply to shipping fees? | Distinguishes merchandise return from shipping charge |
| UK and US delivery pages | Which destination and service apply? | Uses the matching policy or asks for location |
| Old promotional FAQ and current terms | Which source was effective on purchase date? | Uses the relevant dated terms or refers the case |
Use paired tests
Change exactly one detail between two prompts, such as country or order date. A correct output changes only the terms affected by that detail. Test prior conversation history that mentions a different service level. Where context is ambiguous, ask the customer for the missing facts before advising.
Prevent repeat conflicts
Remove or redirect superseded policy pages where appropriate. Update the test register when policy language changes and rerun the paired examples. Confirm the bot links to a source that the customer can actually open.

