Return yes if email matches an email address or domain name in blacklist

I have a list of texts that contain either email addresses or domain names (a blacklist):
me@email.com
someone@gmail.com
onetimeemails.com
spamemails.com

How do I create a condition that returns yes if an email matches either the exact email or uses a domain name in the above blacklist? Thanks :slight_smile:

e.g. someone@spamemails.com would return yes

[list of texts] contains [specific email]

[list of texts]:each item extract -> Domain, contains [specific email]:extract -> Domain
This would be “yes” if the email address’s domain was in any of your list’s domains.

I noticed you have just domain in your list as well without any alias or @ symbol, maybe you need another expression to cover that like:
[list of texts] contains [specific email]:extract -> Domain

2 Likes

Thank you!! I’ll try this out :slight_smile:

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.