
Announcements
We're able to do this, but we want to be able to use an Array to search our mailbox for specific Subject lines from yesterday.
If not found, we want to be able to send out an email with the Subject line that we searched.
Is this possible?
Hi @ kylep,
I have made a test on my side and please take a try with the following workaround:
@and(equals(items('Apply_to_each')['Subject'], 'my test'),greaterOrEquals(items('Apply_to_each')?['DateTimeReceived'], addDays(utcNow(), -1)))
Note: There is a limit in the amount of emails that the “Get emails” action retrieves, the “Get emails” action could only retrieve at most top 25 emails once, if your original "Site Alpha" e-mail is not in top 25 emails, the “Get emails” action would not retrieve it.
Image reference:
If there is no email on the inbox which’s subject is equal to “my test” from yesterday , the flow would run successfully as below to send the email:
Regards,
Alice Zhang