To start with, let’s go through how to create a filter for customers. Go to Customer Data Platform → Customers:Documentation Index
Fetch the complete documentation index at: https://help.maestra.io/llms.txt
Use this file to discover all available pages before exploring further.

AND condition.
Use the AND condition when all filter conditions must be true for a customer to qualify.Example:
If you want customers with a valid email AND an active subscription, both conditions are required.
A customer with a valid email but no subscription will not qualify.
OR condition.
Use the OR condition when at least one condition must be true for a customer to qualify.Example:
If you want to find customers who purchased a hat OR a scarf, the filter will include:
- customers who purchased a hat
- customers who purchased a scarf
- customers who purchased both
How to add AND condition
Click on the Add AND condition field. A dropdown menu will appear with a list of customer attributes you can filter by. At the top, you’ll see standard profile properties (e.g. name, gender, birthday), followed by grouped property categories (e.g. custom fields, orders and product lists).




How to add OR condition
Use this feature when you want to match customers who meet any of the selected conditions. For example, to create a segment of customers with valid emails OR valid phone numbers, follow these steps:- Click Add OR condition
- Click Add AND condition → Email, and select the “not empty and valid” from the dropdown on the right. After that, click Add condition.
- Then, on the same panel below click Add condition → Phone number and select the “not empty and valid” from the dropdown on the right. Click Add condition.
- Finally, click Apply.
How to add a nested condition
A field may contain additional conditions. The main condition and its more detailed nested condition are linked by a blue line of different levels. For example, to find customers who have placed an order and whose order value exceeds $100 and whose previous orders have been fully paid select the following conditions:
- Click +:

- Click on the side line:

Search
You can look up the required field using its name:
Cross-search through nested conditions
You can find the field you need among the list of nested conditions. For example, if you want to find an Action template condition which is nested in the Customer action field, one way to do this would be to select Actions → Customer action → Action template:

The cross-search function works across first- and second-level nested fields only.

