Hello!
I have a situation where employees utilize a Microsoft Form that I currently have a flow populating to a Microsoft/Sharepoint list.
I would like to take responses from the past week and have them emailed on a recurring basis to our supervisor team.
I've played around with this a bit and succeeded in getting the email to go out, but it ended up blank. I'm having trouble getting the email to go out and contain the data (either in HTML or attachment).
Ideally, this can be HTML table or an Excel attachment.
My apologies, I changed the flow around some in testing and don't have my original. I did try a couple different combos, including the following
Solved! Go to Solution.
You can use the action "Create HTML Table" and attach it to the email. For example, I have this list.
The flow should look like this.
And this is the email that I received.
Now to filter the items and get only the ones created in the last week you can use this Filter Query in the "Get items" action.
Created ge 'formatDateTime(addDays(utcNow(),-7),'yyyy-MM-dd')'
Should look like this.
Hope this helps.
Kind regards.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You can use the action "Create HTML Table" and attach it to the email. For example, I have this list.
The flow should look like this.
And this is the email that I received.
Now to filter the items and get only the ones created in the last week you can use this Filter Query in the "Get items" action.
Created ge 'formatDateTime(addDays(utcNow(),-7),'yyyy-MM-dd')'
Should look like this.
Hope this helps.
Kind regards.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.
User | Count |
---|---|
26 | |
25 | |
24 | |
22 | |
18 |
User | Count |
---|---|
58 | |
41 | |
37 | |
30 | |
30 |