Multiple Keywords to Check in Outlook Email Subject


#1

hi there…i’m having trouble filtering out emails by subject…i want to filter out anything with “very good”, “Very Good” or “verygood” in the email subject…how do i do it? I want to use regex but don’t know how…can anyone shed some light for me? thanks!


#2

Hi @Tzky,

StrSubject="very good”, “Very Good” or “verygood”
Use assign activity
StrSubject=StrSubject.Tolower().Replace(" ","")

Use if condition

StrSubject.Contains("verygood")

True-> all the condition matches
False-> Condition not matching

Regards,
Arivu


#3

Thank you arivu…i have follow up question…how do i create a flow decision where it checks if i have new emails or not? :slight_smile: