---
title: "Agency rules"
description: "Field rules that apply to every form in your agency, run before each form's own rules."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.atomicity.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Agency rules

**Agency rules** are [field rules](https://docs.atomicity.dev/forms/rules/) that apply to every form in your agency, on every client's sites. They run first, before any form's own rules, and before notifications, webhooks, and the auto-reply go out.

Use them for conventions you want everywhere, such as always sending the visitor's name as one `name` field to your CRM, however each site's markup splits it.

## Why there's an agency level

Most agencies settle on house conventions across every build. Without an agency level, you'd repeat the same rename on dozens of forms, and every new form would start without it. One agency rule covers every form, including forms created later.

Atomicity keeps just two levels, agency and form, so it's always clear where a rule lives. Anything that shouldn't apply everywhere belongs on the form.

## How agency and form rules combine

The full order a submission goes through is:

```txt
Agency rules → Form rules → Notifications → Webhooks → Auto-reply
```

A field used by an agency rule can't be used again by a later rule. If an agency rule renames `fname` to `first_name`, a form rule that renames `fname` is skipped, because `fname` no longer exists. Write form rules against the names the agency rules produce.

A rule whose fields a form doesn't send is skipped on that form, so an agency rule never breaks a form that doesn't use it.

## Where to see and change them

Go to **Rules** in the agency sidebar. The page lists agency rules in the order they run, and shows the processing order above. Only Owners and Admins can change agency rules; Members can see them.

Each form's **Settings → Rules** tab lists the agency rules that also apply to it, under **These also apply to this form**, with a link to edit them.

## Boundaries

- Agency rules change what emails and webhooks receive. The inbox always shows fields as the site sent them.
- They apply to every form. There's no way to exclude one form from an agency rule; put the rule on the forms that need it instead.
- They don't filter, validate, or drop fields.

## See also

- [Field rules](https://docs.atomicity.dev/forms/rules/)
- [Form webhooks](https://docs.atomicity.dev/forms/webhooks/)
- [Notifications and auto-reply](https://docs.atomicity.dev/forms/notifications-and-auto-reply/)

Source: https://docs.atomicity.dev/workspace/agency-rules/index.mdx
