Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Adding Value from previous step into Send an Email

(1) ShareShare
ReportReport
Posted on by 44
Hello,
 
My flow build attempt should work as follows.
1. grab table from SP
2. List rows present in a table (filtered to a specific date)
3. Filter to rows that have a status of Incomplete.
4. Append to arrary (create a customer ID list from Account column found in table)
5. Union Self (CustId list to CustId list)
6 Filter array where current item is equal to CustId (Account).
7. Select Columns for table
8. Create table
9. Format table
10. Send email
 
The table should have all rows with the same CustId (Account) included in the body of the email. If the CustId appears 3 times on the excel file than all 3 rows would be included in the one table and only one email will be sent. What I am having issues with is getting the CustId (Account) added to the subject line of the email and having only one email sent. When I try to add the value from List Rows Present in a table it creates another Apply to each and I don't want that as it sends one email per row. So in the above example it sends 3 emails. I tried adding a compose step after the Filter array where current item is equal to CustId (Account) step but that didn't work. Any help is greatly appreciated!
 
  • reggiebob Profile Picture
    44 on at
    Adding Value from previous step into Send an Email
    I figured this out. Added a compose action after my Filter array. 
    body('Filter_array:_Current_Item_is_eq_to_CustId')?[0]['Account']

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