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 / Add email addresses to...
Power Automate
Unanswered

Add email addresses to Excel file based on Customer Name WITHOUT Apply to Each

(0) ShareShare
ReportReport
Posted on by 2

Hello,

 

I have two excel files, backlog orders and customer emails. The backlog orders excel is over 6000 rows and the customer emails excel is around 200 rows. The backlog orders excel contains all orders from every costumer we have along with order information that I would like to email the customer. Backlog orders has a "BILL TO" column that corresponds with the customer emails excel's "CUSTOMER" column. 

 

What I want to do is append all the backlog order rows of each customer to an array/table and send an email with this information. I've tried using nested Apply To Each functions but the flow just takes way too long and uses up all the calls. Below I have posted my two attempts at a flow:

 

awuflowserve_0-1638981073299.png

awuflowserve_1-1638981157281.png

awuflowserve_2-1638981310338.png

 

 

So as you can see, way too many Apply to Each loops. While this can work for smaller tables, my excel sheets are just way too large and I need a way to get around all of these Apply to Each Loops. I also have a condition that splits the flow since Apply to Each is limited at 5120 loops.

 

I've also tried a variation of the Pieter method, but I can't see to see how to make it work in my case. Any help would be appreciated!

 

awuflowserve_3-1638981469821.png

 

 

 

Categories:
I have the same question (0)

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard