web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Collect multiple amoun...
Power Automate
Answered

Collect multiple amount of sharepoint objects and send them in one email

(0) ShareShare
ReportReport
Posted on by 90

Hi,

I'm trying to build a flow where I have a sharepoint list called Inventory,

There I got 3 columns - 

Item Name, Quantity, Minimum Quantity.

 

I built a flow triggered by recurrence, for every day.

I did manage to send an email but the problem is that I get an email for each and every item.

 

Talko_1-1683707707181.png

 

 

What I want is, to get 1 email once every day, that combines all the items that are equal or below the minimum quantity + the current quantity of each item and the minimum quantity of each item.

 

I'll be glad for some help,

Thanks!

 

Categories:
I have the same question (0)
  • v-wenjuan-msft Profile Picture
    Microsoft Employee on at

    Hi @Talko ,

     

    Initialize an array variable above "Apply to each", and append objects to it once the item match your condition.

    Then you will get an array built by matched items. You can create an HTML table and add it to your email.

    I made a demo for your reference:

    vwenjuanmsft_0-1683712036930.png

    vwenjuanmsft_1-1683712102101.png

    vwenjuanmsft_2-1683712154359.png

     

    Here's the email I received:

    vwenjuanmsft_3-1683712195704.png

     

    Community Support Team _ Wenjuan Zou

    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Talko Profile Picture
    90 on at

    Hi @v-wenjuan-msft 

    Thank you for your reply!

     

    I followed your instructions and I get this error:

    Talko_0-1683718611331.png

     

     

    This is my flow for reference:

     

    Talko_1-1683719024021.png

     

    Talko_2-1683719043414.png

     

    Talko_3-1683719063999.png

     

    What am I doing wrong?

  • Verified answer
    v-wenjuan-msft Profile Picture
    Microsoft Employee on at

    Change your parameters in Condition as below for a try:

    vwenjuanmsft_0-1683799298503.png

    int(item()?['Quantity'])
    
    int(item()?['MinimumQuantity'])

     

  • Talko Profile Picture
    90 on at

    It works! Thank you!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard