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

Send automated email using a spreadsheet saved in sharepoint-through microsoft flows

Hi all,

 

I am quite inexperienced in using microsoft flows. I am currently in the middle of creating a flow. I have a list of projects showing information related to whom the project was assigned, when it starts, is on site and ends. This list also provides information about the project managers' emails. So a project manager might have been assigned with more than one project. So my trigger I want to be the recurrence because this is an action that must be repeated at least once or twice a week. 

 

I want to send email to each project manager presented in the spreadsheet by providing them with the a list/table of the project(s) that this individual was assigned.

 

From what I have built so far what I am getting is not what I was expecting to be as an outcome. The flow sends the emails but without table and it sends mulitple email and not one email per project manager showing a table of projects.

 

I have selected the following:

Recurrence

List rows present in a table

Select: From :value (excel) and Map I have selected 4 variables

Create CSV table: From: Value(excel) and then Header the 4 columns that I want my table to include

Send an email: To: email (excel), Body: my message and then the flow did not allow me to select the output from the csv table.

 

Please find the following screenshots.recurrencerecurrencelist rows present in a tablelist rows present in a tableselectselectcreate a csv tablecreate a csv tablesend an emailsend an email

 

Sorry if I am a pain, you might have come across with similar questions but I couldn't find anything that it could help me.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Send automated email using a spreadsheet saved in sharepoint-through microsoft flows

Hi @anna2109 ,

 

I have made a test on my side to create a excel table as below:

1.png

You could refer to my screenshot below to create the flow:

2.png3.png

 

The expression in the Compose as below:

 

union(variables('email'),array(items('Apply_to_each')?['Email']))

The expression in the Create CSV table for title as below and you could also add another column with this type:

 

 

item()?['Title']

The flow would run successfully as below:

 

4.png

 

The Test2 account would receive the email as below:

5.png

 

Best regards,

Alice       

 

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

 

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Send automated email using a spreadsheet saved in sharepoint-through microsoft flows

Hi @anna2109 ,

 

I have made a test on my side to create a excel table as below:

1.png

You could refer to my screenshot below to create the flow:

2.png3.png

 

The expression in the Compose as below:

 

union(variables('email'),array(items('Apply_to_each')?['Email']))

The expression in the Create CSV table for title as below and you could also add another column with this type:

 

 

item()?['Title']

The flow would run successfully as below:

 

4.png

 

The Test2 account would receive the email as below:

5.png

 

Best regards,

Alice       

 

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

 

View solution in original post

Highlighted
Frequent Visitor

Re: Send automated email using a spreadsheet saved in sharepoint-through microsoft flows

Thank you very much. That was very helpful, it worked perfectly fine.

 

If I want the outcome of the table will be sent to the recepient to be as it follows? I tried to change the create a csv table to html table but I didn't get any difference.

 

table with borders.pngAlso, if I want at the end of the table to add an extra column from where the user will abe able to select an option from a dropdown list for each item? I tried to do this from the excel to create a dropdown list as my last column or select as an action Send an email with options but again it didn't work.

Can you please assist?

Select from a dropdown list.png

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new 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!

Top Solution Authors
Top Kudoed Authors
Users online (10,238)