Use Get Outlook Mail Messages activity. You will get the collection of Message Elements, then you can just iterate throught them and check if property .Subject contains what you need. Ofcourse to make it more efficiente use REGEX.IsMatch. While you have Message Element you will have access to other properties like, body, attachments etc.
Hi, yes I’m using Get Outlook Mail Messages activity and then a For Each activity to look through the emails; in the body of my for each loop I’m using If Else to set condition with email.subject.contains(“XXXXX approval required”). However, the actual email subject of “XXXXX” is a variable, so I could not get the correct email. Could you please share the workflow? Thanks for your help!
Hi @rado, I got this issue solved, i just split the condition to 2 parts with an “AND”. But i have another problem now… I set a filter in Get Outlook Mail Message activity to look through all emails in 1 day time, but i found i have to have a number for “Top”, not sure if there’s way to eliminate this? I want to check all emails with in one day and identify those i need to open instead on top 15 emails in my inbox.