cancel
Showing results for 
Search instead for 
Did you mean: 
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

View solution in original post

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
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.