Showing results for 
Search instead for 
Did you mean: 
New Member

Expression to select an e-mail address depending on the outlook message category

Hello! I am creating a task in Planner when I mark an outlook message. This is working, but I want to fill the assign task field with an expression like:


If            (category=CAT1) then ""

else if     (category=CAT1) then ""



Anyone knows how to do that? Thank you very much!!!

Super User
Super User

Hi @AlbertoVP 

Do you have a specific number of categories that you would like to evaluate along with a matching name? Does the category come in the email anywhere? How are you determining the name?

Hi! I assign the mail to a Category (total of 4) in Outlook (Category field/column). This is a manual process. What I want to do is to fill automatically the assign field in Planner depending on that Category field in Outlook. Thanks!

Hi @AlbertoVP ,

as far as I know the only way to get the message category is using a premium action to create a GRAPH request.

Have a look at my  AssignCategory flow to use it as a prototype.

Helpful resources

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

Top Solution Authors
Top Kudoed Authors
Users online (38,746)