30.10 Text filter

30.10.1 Overview

Text filters check mail properties that are available as strings - subject, sender, recipient, message body, header, attachment name, and folder path. They are the most frequently used filters because typical match criteria (supplier domain, keywords, case numbers) are text.


30.10.2 Available text properties

Property Matches
Subject Subject line
Sender name Plain-text name of the sender
Sender address Email address of the sender
Recipient name Plain-text name of a recipient
Recipient address Email address of a recipient
Message body Body (HTML tags are removed)
Message header Raw header of the message
Attachment name File name of an attachment
Folder path Path of the source folder

Note: For Recipient name and Recipient address, the entire recipient list (To, CC, BCC) is considered. If only To should be checked, combine with the Recipient type filter.


30.10.3 Operators

Operator Example
contains / does not contain Subject contains "Invoice"
equals / does not equal Sender address equals "invoice@company.com"
starts with / does not start with Attachment name starts with "Invoice_"
ends with / does not end with Attachment name ends with ".pdf"

Case is ignored.

Attachment name with a negated operator: With "does not contain", "does not equal", "does not start with" and "does not end with", the condition applies to all attachments of the email. As soon as a single attachment matches the value, the email is not processed. This is intended when emails with certain attachments are to be excluded entirely. If only individual files are to be skipped, for example enclosed terms and conditions, the exclusion belongs in the attachment filter of the respective task; since version 4.8.1, the criteria editor shows a note about this.


30.10.4 AND/OR separator in the value

Multiple values can be combined directly in the input field via the separators <AND> and <OR>:

Value Meaning
Invoice<AND>2026 contains both "Invoice" and "2026"
Reminder<OR>Notice contains "Reminder" or "Notice"
Invoice<AND>2025<OR>2026 contains "Invoice" and, in addition, "2025" or "2026"

If both separators occur in the same value, the program splits at <AND> first and then checks each part on its own. <OR> therefore only applies within an AND part: Invoice<AND>2025<OR>2026 means "Invoice" and, in addition, "2025" or "2026", not "Invoice and 2025" or "2026". The filter editor shows this reading below the value and asks for confirmation as soon as a criterion newly combines both separators; with "Do not ask again" this question no longer appears. The section "How the program reads this filter" below the criteria list shows the reading as well. For a different reading, distribute the alternatives across several filter rows connected with OR.

The button Split into separate criteria... converts a combined value into multiple rows. Since version 4.11.1, a mixed value produces one row per <AND> part, the rows are connected with AND, and the <OR> alternatives stay in their row: Invoice<AND>2025<OR>2026 becomes the rows "Invoice" and "20252026". The program reads the rows exactly like the original value.


30.10.5 Advanced placeholders in the value

Placeholder Effect
<BeginOfRegex>...<EndOfRegex> Regular expression between the markers
<NumberRange{min;max}> Matches when a number in the range min-max appears at this position
<EntryFromList{ListName}> Matches a value from the specified filter list (see chapter 30.19)

Example: "Attachment name contains Invoice-<NumberRange{1000;9999}>.pdf" matches Invoice-1234.pdf but not Invoice-12345.pdf.

Note: If evaluating a regular expression takes longer than three seconds, the program stops it and treats the criterion as not matched; the error log names the pattern. This mainly affects nested repetitions such as (a+)+, which try a very large number of possibilities on long message texts. The same limit applies to regular expressions in lookup tables and placeholders.


30.10.6 Leading and trailing spaces

By default, leading and trailing spaces are removed before comparison. If spaces should be matched exactly, enable the option Honor leading and trailing spaces in the filter editor.


30.10.7 Use case

Detect incoming invoices

Subject contains Invoice<OR>Rechnung
AND Attachment name ends with .pdf

30.10.8 Tip

  • Use sample messages: Store typical matches and non-matches under Sample messages (see chapter 8.10) to test the filter in the preview