Skip to main content

Notifications

Community site session details

Community site session details

Session Id : cmyEBQlEG0919kpldiXtxA
Power Automate - Building Flows
Unanswered

Count Incoming Emails in a Company Shared Inbox.

Like (0) ShareShare
ReportReport
Posted on 23 May 2024 01:16:03 by 2

Hello everyone, 

I am currently trying to create a flow to count all incoming emails to a shared mailbox. See screenshots of flow below. 
I have found other threads to help me do this, https://powerusers.microsoft.com/t5/Building-Flows/Count-last-months-incoming-emails-to-shared-mailbox-and-post/td-p/2023814 & https://powerusers.microsoft.com/t5/Building-Flows/Daily-count-of-emails-in-shared-mailbox-folder/m-p/1359986#M153664 

 

From what I understand, the flow is getting the emails from the main Inbox and moving them into a new folder I created to be "Daily Inbox (TESTING)" to count how many incoming emails are being received throughout the day.

 

The issue is that our team that handles the inbox, moves the emails around into different folders in the inbox at any time of the day. I can't really set it to happen at the end of the day since the main Inbox will be empty (if they didn't leave any). I've tried this and it came up with 0 emails. So I've set it to happen every minute instead. Since the recurrence has been set to 1 minute, it keeps adding a new row into the excel spreadsheet. I've tried the "Update a row" action and it just kept adding rows still. 


All I really need the flow to do is to count how many incoming emails are being received into the shared inbox and put that number into an excel spreadsheet with the date. (Count being the total emails received for that 1 day) 

JamesBilli_15-1716426677913.png

 

JamesBilli_0-1716425153567.png

JamesBilli_2-1716425221275.png

 

JamesBilli_4-1716425271339.png

JamesBilli_5-1716425284955.png

JamesBilli_6-1716425298407.png

JamesBilli_7-1716425362047.png

JamesBilli_8-1716425393872.png

JamesBilli_9-1716425450891.png

JamesBilli_10-1716425762895.png

JamesBilli_11-1716425773058.png

JamesBilli_12-1716425824069.png

JamesBilli_13-1716425834893.png

JamesBilli_14-1716425891421.png

If there's a simpler way to do this, or if I'm going about this all wrong please let me know.

  • VictorIvanidze Profile Picture
    12,262 on 23 May 2024 at 07:59:44
    Re: Count Incoming Emails in a Company Shared Inbox.

    Hi @James-Billi,

    if the team that handles the inbox moves the emails only to subfolders of Inbox, use this freeware flow:

    https://ivasoft.com/countemailsflow.shtml

  • James-Billi Profile Picture
    2 on 23 May 2024 at 01:32:29
    Re: Count Incoming Emails in a Company Shared Inbox.

    Just having another browse through the community and I found someone saying it might be a good idea to create 2 flows, one that counts "When a new email arrives in a shared mailbox (V2)" and inputs that into a sharepoint list and the other flow to count how many items are in the list.

     

    Is this easier? 

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

🌸 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…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 105

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 86 Super User 2025 Season 1

#3
David_MA Profile Picture

David_MA 62 Super User 2025 Season 1

Overall leaderboard
Loading started