Refund and return requests with approval for large amounts
Pulls the order number, amount and reason out of a customer's refund or return request and checks it against the refund policy you write into the prompt. The check uses only what the customer wrote, with no order lookup. A request is refunded automatically only when the model judges it within policy and the amount it states is more than 0 and at most 50; everything else, including any request that states no amount, waits for a person to approve or deny it.
How it starts
When you run it.
What it needs
No knowledge base, memory bank or connection to create first.
Steps
Read the request and check the policy
Parse and validate the request
Auto-approve or review
When: Auto-approve:
Is an amount stated and 50 or less?
If yes:
Send the refund
Otherwise:
Review the refund
Was it approved?
If yes:
Send the approved refund
Record the decision
Record the limit check
Otherwise:
Review the refund
Was it approved?
If yes:
Send the approved refund
Record the decision
Show the assessment