type.inbound
and any(body.current_thread.links,
.href_url.domain.domain == "app.powerbi.com"
and strings.istarts_with(.href_url.path, "/view")
)
and (
regex.icontains(body.current_thread.text,
'shared (?:a|an|the)\b[^.]{0,60}\b(?:document|file|proposal|folder|documentation)',
'review the attached',
'can only be (?:viewed|opened|accessed) (?:with|on|using)',
'use the secure link'
)
or any(ml.nlu_classifier(body.current_thread.text).topics,
.name == "E-Signature"
)
)
Playground
Test against your own EMLs or sample data.