cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
anna2109
Level: Powered On

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.recurrence.pngrecurrenceList rows in a table.pnglist rows present in a tableSelect(1).pngselectCreate CSV table.pngcreate a csv tableSend an email.pngsend 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
Community Support Team
Community Support Team

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
Community Support Team
Community Support Team

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

anna2109
Level: Powered On

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

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 71 members 3,488 guests
Please welcome our newest community members: