Users of Sift Workflows frequently want to build policies on text fields. This includes criteria like:
- Block all email addresses of the form firstname.lastname@example.org
- Approve all IPs that are of the form 10.*.*.*
- Block listings that contain ‘Disney’ or ‘disney’
- Review all orders where the item name contains ‘gift card’
To enable building criteria of this form, we are introducing Advanced Text Filtering.
The new capabilities include:
- Partial vs whole word matching → For any new criteria you set up on text fields, Sift Workflows will now match on whole words. This means that a filter for ‘text me’ will no longer trigger on ‘text megan’. However, you can force an override to match on substrings (ie partial words) via the Substring Match checkbox.
- Case sensitivity → By default, Sift will now ignore case on text fields. So ‘email@example.com’ will now also trigger on ‘email me at JohnDoe123@gmail.com’. This may be overridden by using the Case Sensitive checkbox.
- Wildcards → We are also introducing support for wildcards. The two wildcards we now support include ‘*’ (for multi-character) and ‘%’ (for single character). For example, criteria like ‘firstname.lastname@example.org’ will trigger on any of ‘email@example.com’, ‘firstname.lastname@example.org’ etc.
This release does not change the behavior for any existing Workflows routes you have set up. Please reach out to email@example.com with questions.