type.inbound
and any(filter(attachments, .file_type == "pdf"),
(
any(ml.logo_detect(.).brands, .name == "Adobe")
or strings.icontains(beta.ocr(.).text,
'Powered by Adobe Acrobat Sign'
)
or strings.icontains(beta.ocr(.).text, 'Adobe Acrobat Sign')
)
and strings.icontains(beta.ocr(.).text, 'File Format: PDF')
)
Playground
Test against your own EMLs or sample data.