Approval policy for an HR and recruiting agent
An HR agent schedules interviews, moves candidates along and answers staff. Rejecting a candidate or changing someone's pay is a decision about a person, so a person makes it, and payroll is where fraud aims.
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. - Calendar and internal tasks
calendar.*Runs on its own and is recorded.Booking and moving interview slots decides nothing about anyone, so it runs on its own and is still recorded. - Change customer or CRM records
records.*Waits for a person to approve.Shortlisting, advancing and rejecting candidates are decisions about a person. A recruiter makes each one with the reasons in front of them. - Email or message customers
email.*Waits for a person to approve.Messages to candidates and staff speak for the company about jobs and pay. A person reads them first. - Pay suppliers or move money
payment.*Waits until two different people approve. One no stops it.Changing bank details or pay is where payroll diversion works. Two different people approve every one, after someone has called the employee back. - Delete data
delete.*Waits until two different people approve. One no stops it.Deleting a candidate's or employee's data is often a legal duty with a deadline, and it cannot be undone. Two different people approve. - Grant or remove access
access.*Never. The request is refused at once.Granting or removing system access is never the agent's call. The request is refused at once, so a person does it.
The rules
These are the 7 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": "calendar.*",
"effect": "allow"
},
{
"action": "records.*",
"effect": "ask"
},
{
"action": "email.*",
"effect": "ask"
},
{
"action": "payment.*",
"approvals": 2,
"effect": "ask"
},
{
"action": "delete.*",
"approvals": 2,
"effect": "ask"
},
{
"action": "access.*",
"effect": "deny"
}
]The agent’s side
The agent asks before each action under one of these names, such as payment.send, 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.