Work with predefined filters predefined-filters
Predefined filters are custom filters created and saved for future use. They act as shortcuts during filtering operations with the query modeler. For example, they can be used when filtering a list of data or creating the audience of a delivery.
You can use existing built-in filters to access a specific subset of your data or create your own predefined filters and save them.
Create a predefined filter create-predefined-filter
Create a filter from the query modeler create-from-rule-builder
Save a custom filter from the query modeler to make it available for future use. Follow these steps:
-
Open the query modeler and define your filtering conditions. In the example below, recipients who live in Madrid and subscribed to a newsletter are filtered.
-
Click the Select or save filter button, and select Save as a filter.
-
Select Create a new filter, and enter a name and a description for that filter.
You can save the filter as a favorite if needed. Learn more in this section.
-
Click Confirm to save your changes.
Your custom filter is now available in the Predefined Filters list and accessible to all Campaign users.
Create a filter from the filter list create-filter-from-list
Create a filter from the Predefined filters entry in the left menu. Follow these steps:
-
Browse to the Predefined filters entry in the left menu.
-
Click the Create filter button.
-
Enter the filter name and, from the Document type field, select the schema it applies to. The default schema is
Recipients(nms)
. -
Define the rule for the filter. For example, profiles older than 30.
-
Save your changes.
The filter is added to the predefined filter list. You can save the filter as a favorite if needed. Learn more in this section.
Save your filter as a favorite fav-filter
When creating a predefined filter, enable the Save as favorite option to see this predefined filter in your favorites.
When a filter is saved as a favorite, it is available to all users in the Favorite filters section of the filter creation list, as shown below:
Use a predefined filter use-predefined-filter
Predefined filters are available when defining rule properties. To access predefined filters, choose the Select custom filter option in the drop-down of the query modeler.
Access the full list of predefined filters available for the current context, and use shortcuts in the Favorite filters section of the drop-down. Learn more about favorites in this section.
For example, to build an audience from a predefined filter, follow these steps:
-
Browse to the Audiences entry in the left menu and click the Create Audience button in the upper-left corner of the audiences list.
-
Enter the audience name, and click the Create Audience button.
-
Select the Query activity, and, from the right pane, click the Create audience button.
-
From the Select or save filter button, choose the Select custom filter option.
-
Browse to the predefined filter to use to create the audience, select it, and confirm.
-
Check the rule properties for this filter and confirm.
The filter is now used as a query in the Query activity.
-
Save your changes and click the Start button to build the audience and make it available in the audience list.
Manage your predefined filters manage-predefined-filter
All predefined filters are grouped together in the dedicated entry of the left navigation menu.
From this list, you can create a new filter as detailed above and perform the actions listed below:
- Edit an existing filter, and change its rules and properties.
- Duplicate a predefined filter.
- Delete a predefined filter.
You can also add a predefined filter as a favorite for quick access when building your audiences. Learn more in this section.