Reference
Criteria Filter and Criteria Split Workflow Actions

Shrawani Bhattarai
Shrawani Bhattarai
  • Updated

Segmenting audience using Workflow nodes

Criteria Filter

Criteria filter checks incoming data against the provided criteria. If the data matches your criteria, the experience continues along the success path. If the data does not match your criteria, the experience continues along the fail path.

criteria-filter.png

Usage Scenario

The example below demonstrates the use of a Criteria Filter in an A/B testing scenario, initiated by a form submission. The Criteria Filter divides customers into two groups based on predefined criteria. Customers who meet the criteria for Group A receive Email A. Conversely, those who do not meet the criteria for Group A and fall into Group B receive Email B. This setup allows for direct comparison between different marketing approaches.

criteria-filter-example.png

Criteria Split

Criteria split enables you to build multiple 'criteria paths', and checks recipients against the criteria for each path. If the criteria match, the data follows the corresponding path. If multiple path's match, the highest priority (top) path is followed. If no paths are matched, they follow the 'Other' path.

criteria-split.png

Usage Scenario

The example below showcases a Criteria Split in action, with a flow based on student project preferences from a form submission. The Criteria Split node examines the student's choice and directs the flow accordingly. Successful project matches trigger an email with relevant project materials, while mismatches result in an email informing the student of the issue and suggesting alternative actions.

criteria-split-example.png

Configuration of the Action

node-settings.png

Groups and Rules

  • Groups serve as containers for sets of rules, similar to how parentheses are used in mathematical equations to group together different parts of an expression. Choose Add a group to begin a new set of conditions that act as a separate logical statement within the criteria.

  • Rules are the individual conditions that reside within a group. A single group may contain multiple rules connected by a shared logical operator, AND or OR. A rule can exist on its own without a group. Utilise the Add a rule option to introduce new conditions within an existing group.

  • The option between AND and OR within the interface allows you to define how groups and rules interact.

    Choosing OR means that your segment will include recipients satisfying any one, some, or all of the rules within that group. For example, if your segment's rules are that a recipient’s preferred channel is Email OR SMS, then all recipients with either preferred channels will be included.

    Conversely, selecting AND ensures that only recipients who meet all conditions are included in your segment. For instance, if your segment's rules are that a recipient’s preferred channel must be SMS AND must have bought a subscription within the last 30 days, then only recipients who meet both criteria will be included.

    Additionally, this logic can be layered to create complex segmentations, such as segmenting recipients who satisfy a specific rule AND at least one of two other conditions. For example, a segment might include recipients who have clicked on a campaign link AND prefer Email OR SMS.

Operators and Types

  • Operators are relational symbols such as 'equals', 'greater than', or 'less than or equal to', define how the field's value should be evaluated within a rule.

  • Types are types of values used in rules can vary from ‘Formula’, 'Field', 'String', 'Number', to 'Boolean'. The 'Field' type allows referencing data directly from fields stored in your system, similar to how merge fields work.

Make sure that the value you enter matches the value type selected. Some systems store data differently than others, so make sure to check the field types in the system the data is coming from.

For a detailed guide on types, see Working with Types: Formula, Fields and Values

Paths

This is only applicable for Criteria Split.

node-settings-paths.png

  • In Criteria Split, each path can be given a path label, reflecting its unique conditions. These names appear on the canvas, offering a clear map of the flow’s branching logic. To set up multiple paths, label each with a relevant name that describes the segment or condition it represents.
  • The paths within a Criteria Split are prioritised from top to bottom. Recipients are evaluated against each path’s criteria sequentially. If a recipient matches multiple paths, the system prioritises the topmost path. There’s also a provision for a fallback path, labeled typically as 'Other', which captures any recipients not meeting the criteria of the prior paths.
  • Within the node, you can duplicate a path as well as change the order of path to set precedence.