cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Filter condition for outlook email subject in flow

Hi,

 

 

My outlook emails have subject like this : SLA warning for INC1234567

                                                                  SLA warning for  INC2345678   etc...

 

My flow looks like this:

darrykevin_0-1604647029338.png

 

I tried using dynamic content for subject such as : SLA warning for ([A-Z][A-Z][A-Z]/d{7})

But this is an invalid expression.

 

How do i filter mails wrt the above different IDs?

 

Thank you.

 

1 REPLY 1
Brad_Groux
Super User II
Super User II

You use the Subject Filter to search for the presence of specific words in the subject of an email. See: Run flows based on email properties - Power Automate | Microsoft Docs.

You can however also utilize a search parameter. See: Use query parameters to customize responses - Microsoft Graph | Microsoft Docs.

From the documentation above, your search string needs to be in the following search parameter format: 

$search="subject:has"&$select=subject

If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE. Want to know more? Follow @BradGroux on Twitter, and check out my Medium blog at https://msft.engineer.

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (39,445)