Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Flow that counts items in a Sharepoint List then sends an alert in Teams

(0) ShareShare
ReportReport
Posted on by

Hello, I am relatively new to Power Automate. 

 

I am trying to create a new Flow that will run every hour and check my Sharepoint List for transactions with a status of "Submitted", then send a message in a group chat with the number of transactions with that status if it is more than 0. 

 

I know it is possible, and probably really simple, but I am having difficulty getting things off the ground by myself. Any help is appreciated. 

  • grantjenkins Profile Picture
    11,059 Super User 2025 Season 1 on at
    Re: Flow that counts items in a Sharepoint List then sends an alert in Teams

    See example below that should get what you're looking for.

     

    See full flow below. I'll go into each of the actions.

    grantjenkins_1-1674181035286.png

     

    Reoccurrence runs every 10 minutes.

    grantjenkins_2-1674181099499.png

     

    Get items uses the following Filter Query to only return items where the Status is equal to Submitted.

    Status eq 'Submitted'

    grantjenkins_3-1674181174960.png

     

    Condition will check the length of the items returned. So, how many items have a Status of Submitted. The expression used is:

    length(outputs('Get_items')?['body/value'])

    grantjenkins_4-1674181254347.png

     

    If the Condition is true (at least one item returned) it will go into the Yes branch. In the Yes branch I have Post message in a chat or channel and use the following expression to get the number of items returned (same expression we used in the Condition).

    length(outputs('Get_items')?['body/value'])

    grantjenkins_5-1674181377367.png


    ----------------------------------------------------------------------
    If I've answered your question, please mark the post as Solved.
    If you like my response, please consider giving it a Thumbs Up.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

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

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492