Help: Rules
Write a rule in plain English
You describe a rule in a sentence, funwatcher compiles it into a rule and restates it, and the rule takes effect only after you confirm the restatement. Only an owner of the account can add rules.
Your description is sent to the Anthropic API to be compiled. This is the only place funwatcher uses an AI model. Agent requests are never sent to a model, and the compiled rule is evaluated without one.
Write and compile the rule
- Open Policies and select "Add a rule".
- Stay on the "Describe it in plain English" tab.
- If you own more than one account, choose the one the rule is for in "Account".
- In "Describe the rule", write what should happen and when, for example "Payments to a new payee need my approval." The description can be up to 2000 characters.
- Leave "Priority (higher is evaluated first)" at 100 or enter another whole number. See Reorder, enable and disable rules.
- Select "Compile the rule".
The rule is saved disabled and the page "Confirm this rule" opens.
Check the restatement and confirm
- Under "You wrote", check that your description is the one you meant.
- Under "The compiled rule does this", read the restatement. This sentence describes what the saved rule does.
- Check Name, Outcome and Priority. To see the exact condition, open "Condition as JSON".
- If the restatement says what you meant, select "Confirm and enable".
The rule is now enabled and applies to requests that arrive from now on.
If the restatement is not what you meant, do one of these:
- Select "Edit the rule instead" to correct it in the rule builder. Saving an edit confirms the rule as you edited it and leaves it disabled. Enable it from the Policies page when you are ready.
- Select "leave it disabled". The rule stays in your list and does nothing.
Until you confirm
- On the Policies page the rule's status is "awaiting confirmation", with a "review" link back to the confirm page.
- The rule has no "Enable" button. It cannot be enabled until you confirm it or edit it.
- The rule is ignored when requests are evaluated.
When compilation fails
If your description cannot be compiled, the "Add a rule" page opens again with a message that says why, your description still in the box, and the notice "The plain-English compiler could not produce a valid rule. You can build the same rule step by step with the rule builder below." No rule is saved.
- Read the message. If it is about the wording, shorten or rephrase the description and select "Compile the rule" again.
- If it fails again, or the message says the Anthropic API could not be used, select the "Build it step by step" tab and build the rule there. See Build a rule with the form.
If the tab shows "The plain-English compiler is not configured on this deployment", only the builder is available.
Previous: The default rules
Next: Build a rule with the form
All help pages
Inbox
- Read a request
- Approve, deny or edit a request
- Held actions
- Expired requests and history
- Request statuses
Rules
- How rules work
- The default rules
- Write a rule in plain English
- Build a rule with the form
- Reorder, enable and disable rules
- Suggested rules
- Set a default policy for an agent
- Export your rules
Teams
Ledger
- What the ledger is
- Browse and filter the ledger
- Export and verify the ledger
- Payload retention
- Monthly statements
Billing
Account and security
- Change your password
- Two-factor authentication and recovery codes
- Rotate or revoke an agent key
- How your data is protected
- Closing an account