Approval policy for a finance agent
A finance agent pays suppliers, refunds customers and buys what the team needs. The classic loss is a changed bank account in a supplier email, so payments always reach a person, and large ones reach two.
Signs you in or up first. You see every rule in your workspace before any is added.
Or change it in the policy generator first: names, limits and how long a request waits. Two-person approval needs Team or above; the other rules need Pro. On Free every request waits for one person instead.
What it decides
Each kind of action the agent takes, the names it sends for it, what happens, and why.
- Look things up
read.*Runs on its own and is recorded.Looking things up changes nothing, so it runs on its own and is still recorded. - Email or message customers
email.*Waits for a person to approve.Messages to suppliers and customers commit the company, so a person reads them first. - Refund customers
refund.*Runs on its own up to €50.00 each. Anything above waits for a person. Above €1,000.00, or without an amount, two different people must approve.Up to €50 runs on its own; above that a person decides, and above €1,000 two people. - Pay suppliers or move money
payment.*Waits for a person to approve. Above €1,000.00, or without an amount, two different people must approve.A payment to a new or changed bank account is the fraud everyone knows. Each one waits for a person; above €1,000, or without an amount, two different people approve. - Buy things or start subscriptions
purchase.*Runs on its own up to €20.00 each. Anything above, or without an amount, waits for a person.Small purchases up to €20 run on its own. Anything above, or without an amount, waits for a person.
The rules
These are the 9 rules the button adds, for every agent or the one agent key you pick. Every “never” and “ask” goes in before any “allow”, and rules you already have stay. When rules disagree the most cautious wins.
[
{
"action": "read.*",
"effect": "allow"
},
{
"action": "email.*",
"effect": "ask"
},
{
"action": "refund.*",
"effect": "allow",
"limit_amount": "50.00",
"limit_currency": "EUR"
},
{
"action": "refund.*",
"effect": "ask",
"limit_amount": "50.00",
"limit_currency": "EUR"
},
{
"action": "refund.*",
"approvals": 2,
"effect": "ask",
"limit_amount": "1000.00",
"limit_currency": "EUR"
},
{
"action": "payment.*",
"effect": "ask"
},
{
"action": "payment.*",
"approvals": 2,
"effect": "ask",
"limit_amount": "1000.00",
"limit_currency": "EUR"
},
{
"action": "purchase.*",
"effect": "allow",
"limit_amount": "20.00",
"limit_currency": "EUR"
},
{
"action": "purchase.*",
"effect": "ask",
"limit_amount": "20.00",
"limit_currency": "EUR"
}
]The agent’s side
The agent asks before each action under one of these names, such as refund.create, with the amount and currency where money moves, and acts only when the answer says allowed: true. An amount it leaves out never gets past a limit. The requests docs show the call, and the playground lets you try one without signing up.