Is there a "not" function, where I can filter out content that contains a certain string?


So, we have contains_any. I want something that’s basically a doesnt_contain_any.

So that I could search for “elections” but eliminate content that has “labour” in it.


Yes - there is a NOT operator that you can use. For your example, you would build a filter like this:

interaction.content contains_any "elections"

AND NOT interaction.content contains "labour"

You can find more examples of these logical operators (AND, OR, NOT) here