Connection rules

Describe an exception to a connection's permissions in plain English, like "skip review for internal emails". The agent writes and tests it; you approve it.

Last verified Nov 25, 2026

Permissions work per kind of action: sending email either needs approval or it doesn't. Rules add the "unless" or "only when". For example:

  • "Skip review when every recipient is internal."
  • "Let it request payments up to $5,000."
  • "Hold any email to an external address for review, even though sending is allowed."

You describe the rule in your own words, an agent turns it into a precise check and tests it, and you approve it before it does anything.

On a Gmail connection, “Skip review when every recipient is internal” becomes a rule in a few seconds.

Two kinds of rule

KindShown asWhat it does
AllowSkips reviewLets matching requests through that your permissions would otherwise send to you for approval.
RequireRequires reviewHolds matching requests for your approval, even ones your permissions allow.

Rules never block anything, and they can't unblock anything either: an action set to Blocked stays blocked whatever a rule says. If a rule can't decide about a request, the request comes to you for approval.

Add a rule

  1. Open the connection's page

    Click the connection in Settings → Connections or on an agent's Agent Connections page. Rules work on both apps and MCP servers.

  2. Describe the rule

    In the Rules section, click Add rule and write what you want in plain English, such as "Let it send email when every recipient is at our company domain".

  3. Choose who writes it and who it applies to

    Pick the agent that writes the rule. It has to be one with access to this connection. Then choose whether the rule applies to Only that agent or to All agents using the connection.

  4. Click Create rule

    A chat opens with the agent. It checks the connection's existing rules, asks if anything is unclear (such as whether matching requests should skip review or be held for it), then writes the rule and tests it.

  5. Approve it

    The agent proposes the rule on a card in the chat. Check it, then click Add rule, or Reject to send it back.

The rule is listed in the connection's Rules section right away, with its kind and who it applies to, such as "Skips review · All agents". Click it to see the details, or the trash icon to delete it.

What's on the rule card

The card shows you exactly what you're approving, in plain words:

  • Skips review or Requires review, and whether it Applies to this agent only or to every agent using this connection.
  • What the code does: a description of the rule written independently from the agent's own, so you can check that it matches what you asked for.
  • The agent's description of the rule.
  • Requests it covers: which kinds of request the rule looks at.
  • Test cases: example requests and what the rule does with each, and how many pass.
  • Show code, if you want to read the rule itself.

Warnings appear on the card when something looks off. Read them before you approve.

Or ask in the chat

Agents can propose rules too, in any chat. Ask for one in your own words, and it comes to you on a card first, just like a rule you started from the connection's page. Agents can also propose deleting a rule; that card has Delete rule and Keep rule.

Ask your agent
  1. You:

    Stop asking me before you reply to people at northwind.co

  2. Agent:

    I’ve written a rule for your Gmail connection and tested it against a few example emails. It only applies when every recipient is at northwind.co.

    Add rule “Internal recipients skip review” on dana@northwind.co?Waiting for approval
    Kind
    Skips review
    Applies to
    This agent only
    Test cases
    4/4 pass

Limits

  • Up to 20 rules per connection.
  • When a rule holds a request for review, the approval card shows which rule held it, and offers only Deny and Allow Once.
  • A rule decides from the request itself, such as who an email goes to, the amount of a payment or which repository a change targets, and from the time it's made.