type.inbound
and sender.email.domain.domain == 'res.cisco.com'
and any(headers.reply_to, .email.domain.domain != 'res.cisco.com')
and (
length(recipients.to) == 0
or all(recipients.to, .display_name == "Undisclosed recipients")
)
and (
any(ml.nlu_classifier(body.current_thread.text).topics,
.name in ("Financial Communications", "Request to View Invoice")
)
or any(ml.nlu_classifier(subject.base).entities, .name == "financial")
)
Playground
Test against your own EMLs or sample data.