Skip to main content

Notifications

Community site session details

Community site session details

Session Id : nvieP/g0fnXWqHo8h54G3F
Power Automate - Building Flows
Answered

How to dynamically monitor multiple subfolders in a shared mailbox

Like (0) ShareShare
ReportReport
Posted on 5 May 2022 12:11:55 by 79

I'm currently working on a power platform solution for a customer, and now run into a wall.

 

The idea (or rather the goal) is that a Flow monitors a shared mailbox and as soon as a mail lands in a subfolder, it starts running. In itself this is not a problem, and I can use the Office 365 Outlook trigger for a shared mailbox. Unfortunately, there are +35 subfolders that need to be monitored. This would mean that I would have to create +35 parent flows which in turn would call a child flow to perform the generic actions. Not really user-friendly and future-proof in case new subfolders should be created.

 

Do you have any ideas or suggestions for solving this?

  • VictorIvanidze Profile Picture
    12,371 on 30 Sep 2022 at 14:25:12
    Re: How to dynamically monitor multiple subfolders in a shared mailbox

    Hi @TronLeif

    I believe I gave enough info (see BenVdP comment).

    If you are ready to pay for consulting please let me know.

  • TronLeif Profile Picture
    6 on 30 Sep 2022 at 13:58:12
    Re: How to dynamically monitor multiple subfolders in a shared mailbox

    Hello, 

    Can you provide more details about the entire flow that you used here? Did you move from folders to categories for managing/filing the emails and just scan one folder rather than dozens? 

    I've been trying to design a flow that will do that but power automate doesn't have a trigger for Outlook categories.

    Thanks,

    Troy

    Troy

  • BenVdP Profile Picture
    79 on 11 May 2022 at 07:30:30
    Re: How to dynamically monitor multiple subfolders in a shared mailbox

    @VictorIvanidze , I got it to work, thanks to your suggestion.

     

    I used the 'Invoke an HTTP request' and fetched all messages which a specific category is applied to.

     

    2022-05-11_9-29-23.png

  • BenVdP Profile Picture
    79 on 05 May 2022 at 13:12:36
    Re: How to dynamically monitor multiple subfolders in a shared mailbox

    Did not think about using the graph api as it is quite new to me. Thanks for the tip and if I get it to work, I'll mark your post as the solution.

  • Verified answer
    VictorIvanidze Profile Picture
    12,371 on 05 May 2022 at 13:01:04
    Re: How to dynamically monitor multiple subfolders in a shared mailbox

    Using a MS GRAPH request.

  • BenVdP Profile Picture
    79 on 05 May 2022 at 12:58:40
    Re: How to dynamically monitor multiple subfolders in a shared mailbox

    @VictorIvanidze , could you give more insight on how to scan multiple subfolders at once?

  • VictorIvanidze Profile Picture
    12,371 on 05 May 2022 at 12:43:28
    Re: How to dynamically monitor multiple subfolders in a shared mailbox

    You can create a scheduled flow and scans all subfolders periodically.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 373 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 308 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 303

Overall leaderboard
Loading started