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

Use trigger "When an email is flagged" in emails stored in subfolders


I am trying to use an existing template to create planner tasks when a new email is "flagged". The problem I am having is that I have all the emails automatically distributed in outlook sub-folders, and the template only allows me to check in one outlook folder at a time.

I have more than 30 sub-folders, and I guess I could do it work by having 30 different flows, but it must be something more direct.

Is there any wild characeter, or something I can add on the code so any email flagged in inbox and its subfolders activates the trigger?


Thank youCaptura.JPG

Resident Rockstar
Resident Rockstar

Hey, unfortunately i do not think so it is a 1:1 mapping with the folder.

New Member

I have the same challenge. Any wildcard we could use as folder name?

Community Champion
Community Champion

We can't use wildcards there. To solve the problem I'd create an add-in for Outlook. Not a flow.

Contact me if you are interested in custom Power Automate development.
Not applicable

Hi Victor,


Would you mind elaborating your workaround please?


I'm having the same problem too



Community Champion
Community Champion

An Outlook  COM add-in can "listen to" different folders, but a flow cannot. That's all.

Contact me if you are interested in custom Power Automate development.
Continued Contributor
Continued Contributor

Buenas tardes @daviddiez 


There is the To Do connector that will solve your issue.


It did for me. I am able to flag an email in any folder and then create a task. 


I use the To-do connector. Every email you flag no matter which folder, Outlook web puts it into a Flagged Email folder.


When I flag an email it triggers and then I create a task out of it with a preset due date and reminder. Then I come back and "unflag" the email or I will have an email and a task marked, which I don't need.


You can create a planner task after the trigger.


The action states a specific folder, but that specific folder is where all flagged emails go to "Flagged Emails" folder.



Great work around thanks. 

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (2,383)