Automation to delete any item matching a given Filter

Is it possible to create an automation which deletes any item created or modified which meets the criteria in a given filter? For example if I have a Board with incoming email I might want to delete all items with a keyword associated with spam.