> This page is for Docs.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://zuora.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://zuora.ferndocs.com/_mcp/server.

# Add conditions and groups

> Learn how to use condition builder to add conditions and groups for custom events or custom filters for notification definitions.

Learn how to use condition builder to add conditions and groups for custom events or custom filters for notification definitions.

You can add conditions and groups only when creating or editing custom events or custom filters for notification definitions.

Click **+ Add Condition** to create a condition.

Specify the following fields for the condition:

* Select a value from the **Field** list. Available values are as follows:

  * Change Type: Indicates the base object change type. Available values are INSERT, UPDATE, and DELETE.
  * Field name: Indicates the value of a base object field. For example, Amount or CreatedDate.
  * Field name (Old): Indicates the value of a base object field before the change occurred. For example, Amount (Old) or CreatedDate (Old).
* Select a comparison operator from the **Operator** list. For more information, see [Available comparison operators](/docs/platform/extensibility/events-and-notifications/condition-builder/available-comparison-operators).
* Specify a value for the **Value** field:

  * If you want to specify a static value, such as a number or string, switch on the **Static** toggle.
  * If you want to specify a base object field, switch off the **Static** toggle.

Repeat steps 1 and 2 to create as many conditions as you need.

If you have created more than one condition, select a logical operator from the dropdown list.

Optional: Click **+ Add Group** to create a group, and then repeat steps 1 to 4 to create conditions for the group.

To delete a condition, click the trash can icon *(delete hollow icon)* to the right of the condition.

To delete a group, you must delete every condition in the group. When you have deleted the last condition, the group will be deleted automatically.