Approval policy for a marketing agent
A marketing agent drafts posts, sends campaigns and buys small things such as ads or tools. Everything it publishes carries the brand, so publishing waits for a person and spending has a ceiling.
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. - Change customer or CRM records
records.*Waits for a person to approve.Changes to contact lists decide who gets the next campaign and who opted out. A person checks them. - Email or message customers
email.*Waits for a person to approve.A campaign goes to thousands of people at once. A person approves each send. - Post in public
post.*Waits for a person to approve.A public post cannot be unsent and speaks for the brand. A person approves each one. - Buy things or start subscriptions
purchase.*Runs on its own up to €20.00 each. Anything above waits for a person. Above €500.00, or without an amount, two different people must approve.Up to €20 runs on its own. Above that a person decides, and above €500, or without an amount, two people.
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": "records.*",
"effect": "ask"
},
{
"action": "email.*",
"effect": "ask"
},
{
"action": "post.*",
"effect": "ask"
},
{
"action": "purchase.*",
"effect": "allow",
"limit_amount": "20.00",
"limit_currency": "EUR"
},
{
"action": "purchase.*",
"effect": "ask",
"limit_amount": "20.00",
"limit_currency": "EUR"
},
{
"action": "purchase.*",
"approvals": 2,
"effect": "ask",
"limit_amount": "500.00",
"limit_currency": "EUR"
}
]The agent’s side
The agent asks before each action under one of these names, such as purchase.buy, 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.