cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Consolidated email based on date in excel

Hi, 

I am new to Power Automate and need help with a flow. I have created a flow to generate email reminder based on expiry date from a excel column. Flow generates individual emails to all email ids based on the date expiry date condition.

 

I would like to send consolidated email to all emails ids matching the expiry condition nstead of sending individual emails.

Can this be done using flow?

Is there any limit on the maximum number of email ids in an email message?

If there is, can flow work around this by splittng email into groups?

 

Thanks

Santhosh

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User
Dual Super User

Re: Consolidated email based on date in excel

Hi!

I am sharing the following example, in my scenario I am reading rows from an Excel stored on a Sharepoint site, but changes to adapt it to your scenario should be minimal. Each row represents a task:

Flow_customNotif_1.png

 

And this is the way I implement one notification per 'Leader'. In order to reformat or even hide unwanted columns on your final HTML table, you can add and additional Select and achieve and configure its 'Map Table' according to your needs

 

Flow_customNotif_2.png

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

6 REPLIES 6
Highlighted
Dual Super User
Dual Super User

Re: Consolidated email based on date in excel

Hi

The answer is Yes, your challenge can be implemented!

I am assuming one of your excel table columns is the Supervisor email, right? Or some sort of Supervisor id that can be used to obtain its email address.

1.- First you "list rows present in a table" filtering those matching the expiry condition

2.- Second you build an array with all Supervisor email addresses represented in the filtered rows

3.- You implement an Apply to Each, using the array of Supervisor emails as input

4.- Inside your Apply to Each, for each iteration:

4a.- You implement a Filter Array whose input is the filtered results from your excel table, the condition to evaluate is that Supervisor email matches with the one from current iteration.

4b.- You implement a Create HTML table to show the results

4c.- You Send an Email to email from current iteration with the results

 

Please note if you have more than one supervisor per row, the suggestion I did could also work, even if you have some sort of scenario like the following:

Row#1 is assigned to Supervisor#A and Supervisor#B. Row#2 is assigned to Supervisor#A and Supervisor#C. Row#3 is assigned to Supervisor #A and #Supervisor#C...

 

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Highlighted
Frequent Visitor

Re: Consolidated email based on date in excel

Hi,

 

Is it possible to give a screenshot on steps to be followed. I am quite new to this.

 

Thanks

Santhosh

Highlighted
Frequent Visitor

Re: Consolidated email based on date in excel

@efialttes appreciate if you can show me the steps to achieve this.

Thanks

Santhosh 

Highlighted
Dual Super User
Dual Super User

Re: Consolidated email based on date in excel

Hi!

I am sharing the following example, in my scenario I am reading rows from an Excel stored on a Sharepoint site, but changes to adapt it to your scenario should be minimal. Each row represents a task:

Flow_customNotif_1.png

 

And this is the way I implement one notification per 'Leader'. In order to reformat or even hide unwanted columns on your final HTML table, you can add and additional Select and achieve and configure its 'Map Table' according to your needs

 

Flow_customNotif_2.png

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

Highlighted
Community Support
Community Support

Re: Consolidated email based on date in excel

Hi @Santhosh72,

 

You can follow the method provided by @efialttesto approach your requirements. And I need to add one point is that if you want to send consolidated email to all emails, you can initialize an array to store the email addresses, then put the array into the send email action.

 

As far as I know, if you are using Office 365 for Business Essentials or Business Premium or Enterprise, the recipient limit is 500 recipients which means you can send a single email up to 500 different recipients in To:, Cc:, Bcc:.

 

Meanwhile, the recipient rate limit is 10000 recipients per day, which means every day you can send emails up to 10000 different recipients. You can view the limit information of Office 365 in the reference link below:
https://technet.microsoft.com/en-us/library/exchange-online-limits.aspx#Address%20book%20limits 

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Highlighted
Dual Super User
Dual Super User

Re: Consolidated email based on date in excel

@Santhosh72 

Did you finally succedd implementing your flow?

Thanx!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (9,291)