Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
DDaza87
Regular Visitor

Power Automate: Send Email to Gmail Accounts - Several Items.

I have my MS Project report on Power BI, we have a lot of project and each have their responsible (PM), so I create Flow with the Power Automate to send an email to each PM (I have a Database with Responsible, Project and Email) with all late task.

 

I click to run the flow, it work almost perfect, send a large quantities of email due to the quantities task selected, if I have 10 late task in the project, it sent 10 emails to the PM, there is any possibilities to make all the task in just 1 emails instead of 10?

 

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

Check you flow and make sure that the Send email action sits outside of the Apply to each loop:

ekarim2020_0-1626597445530.png

Use a variable to construct the body of the email

ekarim2020_1-1626597842501.png

Ellis

View solution in original post

4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

The Append to String action inside the Apply to each loop that is fine, as we are building the email body text. 

The Send email action should be outside of the Apply to each loop and report back the results and paste some screen shots of flow.

Examples of send mail outside of the Apply to each loop:

ekarim2020_1-1626701458900.png

Ellis

 

Syndicate_Admin
Administrator
Administrator

Check you flow and make sure that the Send email action sits outside of the Apply to each loop:

ekarim2020_0-1626597445530.png

Use a variable to construct the body of the email

ekarim2020_1-1626597842501.png

Ellis

I tried but when I set the email data from the data base it change to Apply to Each.

My goal is to select several task, clic the buttom and send a email to the project responsible (PM) in order to get notify.

Hi @DDaza87, did you find a solution? I'm having the same problem.

 

Thank you

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.