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

  1. Open Policies and select "Add a rule".
  2. Stay on the "Describe it in plain English" tab.
  3. If you own more than one account, choose the one the rule is for in "Account".
  4. 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.
  5. Leave "Priority (higher is evaluated first)" at 100 or enter another whole number. See Reorder, enable and disable rules.
  6. Select "Compile the rule".

The rule is saved disabled and the page "Confirm this rule" opens.

Check the restatement and confirm

  1. Under "You wrote", check that your description is the one you meant.
  2. Under "The compiled rule does this", read the restatement. This sentence describes what the saved rule does.
  3. Check Name, Outcome and Priority. To see the exact condition, open "Condition as JSON".
  4. 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:

Until you confirm

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.

  1. Read the message. If it is about the wording, shorten or rephrase the description and select "Compile the rule" again.
  2. 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:
Next:

All help pages

Inbox

Rules

Teams

Ledger

Billing

Account and security

For agent builders

Troubleshooting