Create and manage rules

Set rules that control how records can be updated.

Table of Contents

Available on pro, enterprise and ultra plans.

Admins can create and manage rules.
Members can create and manage rules with Full access to the relevant object.

On the Pro plan, admins can create up to eight rules per object. There is no limit on the Enterprise and Ultra plans.

Rules let you control when changes to records can be saved. Each rule has a condition that determines when it applies and one or more requirements that must be met. If the condition is met but a requirement isn't, Attio blocks the change.

For example, you can require Deal value before a deal moves to Won, or require Lost reason before it moves to Lost.

Rules are checked when records are created or updated.

Create a rule

Rules are created for individual objects. For example, a rule you create on Deals applies to deal records only. Rules aren't available on lists.

  1. Click your workspace name, then select Workspace settings.

  2. Under Data, click Objects, then select the object you want to add a rule to.

  3. Open the Rules tab.

  4. Click + Add rule.

  5. Optionally, enter a name for the rule.

  6. Set the Condition that determines when the rule applies.

  7. Add one or more Requirements that must be met.

  8. Optionally, on Enterprise and Ultra plans, under Scope, select who the rule applies to.

  9. Click Save.

Your rule takes effect immediately and appears in the table on the Rules tab. It doesn't modify existing records.

Name

The name identifies the rule in the table on the Rules tab. Names that describe the outcome are easiest to scan later, such as "Require Deal value when deal is Won". If you leave the name blank, Attio generates one based on how the rule is configured.

Condition

The condition determines when the rule applies. Build it the same way you build a view filter by choosing an attribute, operator, and value. For example, Deal stage > is > Won.

Conditions can also use attributes from related records. Select a relationship or record attribute, then select an attribute on the linked record. For example, in a rule on Deals, select Associated company, then Employee range, to apply the rule based on the size of each deal's company. This works the same way as filtering by attributes linked via relationships in a view.

This way, you can make sure deals with large companies have at least one associated person before they move to In Progress with these conditions:

  • Deal stage > is > [Intake deal stage]

  • A filter group with one condition for each large company size, joined with Or: Associated company > Employee range > is > 1K-5K, then the same for 5K-10K, 10K-50K, 50K-100K, and 100K+

Then add Associated people with is required as a requirement.

Note: You can use attributes from related records in conditions, but not in requirements. Requirements can only check attributes on the rule's own object.

Click the + icon to add another condition, or select the ⋮ icon to the right of a condition and select Convert to advanced condition. From there you can also create a filter group to nest conditions with 'and/or' modifiers.

Requirements

Requirements define what must be true when the rule's condition is met. Choose an attribute, then select an option. Attio only shows the options that work for that attribute type.

  • is required: The attribute must have a value.

  • must be empty: The attribute must not have a value.

  • must be: The attribute must be set to the value you choose.

  • must be one of: For select and status attributes. The attribute must be set to one of the options you choose.

Number, currency, and rating attributes can also be compared against a value you set, using options such as must be greater than and must be less than. Date and timestamp attributes work the same way, with options such as must be before and must be on or after.

Multi-select attributes have their own options:

  • must be: The attribute must have exactly the options you choose, and no others.

  • must contain: The attribute must have all of the options you choose, and can have others too.

  • must contain either: The attribute must have at least one of the options you choose.

You can't set a requirement on an AI-generated attribute or a formula attribute.

Click the + icon next to Requirements to add another requirement. To remove one, click the ⋮ icon on the requirement and select Delete.

Scope

The Scope determines which members and automations the rule applies to. By default, a rule applies to All members and automations, which covers every workspace member and every workflow.

On Enterprise and Ultra plans, you can change the scope by selecting one of these options from the Scope dropdown:

  • All members and automations: The rule checks changes made by everyone in the workspace and by all workflows.

  • Include selected members and automations: The rule only checks changes made by the members, teams, and workflows you choose.

  • Exclude selected members and automations: The rule checks every change except those made by the members, teams, and workflows you choose.

On the Pro plan, the scope is always All members and automations.

For example, to let your RevOps team update closed deals without a Lost reason while the rule still applies to everyone else, select Exclude selected members and automations and add the RevOps team.

After you select Include selected members and automations or Exclude selected members and automations, choose the members, teams, or workflows:

  • Below the Scope dropdown, click + Actor.

  • On the Members tab, select the members or teams you want.

  • On the Automations tab, select the workflows you want.

  • Hit esc to close the picker.

Your selections appear below the Scope dropdown and in the Scope column on the Rules tab. Next to Scope, click the + icon to add more.

To select every member and team at once, enable the All members and teams toggle. To select every workflow, enable the All automations toggle.

Edit or delete a rule

Existing rules appear in a table on the Rules tab, showing each rule's name and scope.

  1. Click the ⋮ icon to the right of the rule you want to change.

  2. Select Edit to open the rule and make changes, or Delete to remove it.

Deleting a rule stops Attio from enforcing it, and changes that it previously blocked can be saved again.

When a rule blocks a change

If a change meets a rule’s condition but doesn’t meet its requirements, Attio blocks the change. When editing a record in Attio, an Updates required dialog opens showing the change that triggered the rule and the attributes that need values.

Fill in the required values, then click Save. Attio saves your original change along with the values you added. If a value you enter triggers another rule, the dialog refreshes to show the additional attributes you need to fill in. Closing the dialog without saving discards the change.

Rules apply to any change you make yourself, wherever you make it. That includes the Attio web app, the mobile app, CSV imports, Ask Attio, suggestions, and the Attio MCP.

  • CSV imports: If a row doesn't meet a rule's requirements, that row isn't imported. It shows as Failed with the error "Blocked due to object rules violation."

  • Ask Attio: The attributes the rule requires are added to the approval card. Set the values and click Update to apply all the changes together, or click Discard all to cancel.

  • Suggestions: The attributes the rule requires are added to the suggestion. Set the values and click Update record to accept it, or click Discard to cancel. Learn more in Review and act on suggestions.

  • Workflows: If a block tries to make a change that a rule blocks, the block fails. Open the run and select the failed block to see the reason. Learn more about troubleshooting workflows.

  • Attio API, Apps, and Integrations: Attio's API, along with many apps in our app marketplace, use tokens to authenticate API requests to Attio. Rules apply to API updates made through user-scoped tokens only. If an API call doesn't meet a rule's requirement, the call will fail. Rules are not applied to API updates made through tokens that are scoped at the workspace level.

Rules don't apply to changes Attio makes on its own. This includes enrichment, email and calendar sync, the interaction attributes Attio maintains such as First interaction and Last interaction, records created automatically from email and calendar activity, and data brought in by Import2. Rules also don’t currently apply to legacy workflows.

Records that already break a rule

Creating a rule doesn’t change or flag existing records that don’t meet its requirements.

The next time one of those records is edited, the rule is checked. The change can’t be saved until the record meets the rule’s requirements, even if the attribute being edited isn’t part of the rule.

For example, if Deal value is required when Deal stage is Won, changing the name of an existing won deal with no Deal value prompts you to add Deal value before the change can be saved.

Learn more about creating and managing attributes and managing access to objects.

Frequently asked questions

A required attribute must always have a value when a record is created. Required attributes are only supported on custom objects.

A rule makes an attribute required only when specific conditions are met. For example, you can require Deal value only when Deal stage is Won. Rules can be created for any object.

No, rules apply to attribute values when a record is created or updated.

On Enterprise and Ultra plans, edit the rule. Under Scope, select Exclude selected members and automations, then add the workflow on the Automations tab. On the Pro plan, rules always apply to workflows, so add a Filter block before the failing block to skip records that don't meet the rule's requirements. Learn more about troubleshooting workflows.