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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sending consolidated e...
Power Automate
Answered

Sending consolidated emails from excel (TO & CC)

(0) ShareShare
ReportReport
Posted on by 29

Hi,

 

I am trying to build a flow that selects all rows in an Excel table relating to one To email address, then sends one consolidated  email to the recipient. I also need to include a CC field.

 

I'm very new to flows but have managed to compile the below based on what I've found online - it works perfectly to group the rows and sends only one email, however the CC field is duplicated many times in the output (once per row of data that the CC email is included on).

 

to: email correct

cc: email; email; email; (same email for every row)

 

I have tried using the Union expression to bring only one CC value forward, however as I am already using this for the To email, it throws up an error. 

 

Does anyone know how I can correct my flow?

 

hk4_0-1600316897204.png

hk4_1-1600316923754.png

 

hk4_2-1600316958918.png

hk4_3-1600316982060.png

hk4_4-1600317019232.png

 

 

Thanks

 

Categories:
I have the same question (0)
  • Verified answer
    efialttes Profile Picture
    14,756 on at

    Hi!

    I would suggest the following:

    make CC variable of type array.

    Now, inside the true branch condition of 'Apply to each 3' add an 'Append to Array' action block, name 'CC', value CC excel column

    Finally, let's focus on 'Send an email' action block, I guess you can assign the following expression as the value for to 'CC' input:

     

    join(union(variables('CC'),variables('CC')),';')

     

    Just after 'Send an email' remember to reset 'CC' variable value, so it starts as an empty array for the next iteration

     

    Hope this helps

     

  • hk4 Profile Picture
    29 on at

    Thank you so much!

  • manuelatarabuta Profile Picture
    27 on at

    Hi @efialttes ,

     

    I'm trying to do a very similar workflow, only difference would be that I want to send a single email to each TO group and CC'ing a single time the manager. I used the steps described above and I got the error which can be seen in picture. I don't want to have the "apply to each" row in my excel file, but consolidated per responsible person in the TO field. 

     

    I did posted a query as well on community and didn't got a response yet, wondered if you could help would be really much appreciated.

    error.JPGUntitled.jpg2.jpg

    Can you please advise where to correct?

    Many thanks,

    Manuela

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 253 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 172 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 134 Super User 2026 Season 2

Last 30 days Overall leaderboard