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

When new items are created send an E-Mail with the list

Hey, 

 

I want to create a flow which sends daily an e-mail with the list of the new created items. 

This flow sends all items, is there any solution for a condition? 

 

Thanks!

 

amk.jpg

3 ACCEPTED SOLUTIONS

Accepted Solutions
Dual Super User
Dual Super User

Re: When new items are created send an E-Mail with the list

You would need to add an Odata filter to your Get-items to check that the created date is within the last 24 hours. Otherwise that looks to be about the right flow.  Here's what you need.

 

1) add a compose action to generate a DateTime timespan that is 24 hours in the past in UTC.  Use this formula.

addDays(utcNow(),-1)

2) add the following to the Odata query line in your Get Items

Created gt datetime'[Output from Compose above]'

That will retrieve all the items created in the last 24 hours.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Super User
Super User

Re: When new items are created send an E-Mail with the list

@Muni1996 

Another "low tech" solution might be to simply create an alert on the library that fires when a new item/document is created.  Configure the alert to send a daily summary.   No need for a Flow if you leverage this out of the box SharePoint feature.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

Community Support Team
Community Support Team

Re: When new items are created send an E-Mail with the list

Hi @Muni1996 ,

 

Have your problem been solved?

As @Pstork1  said, you could add filter query for the "Get items" action, and the screenshot of the action should as below:

1.png

 

Please let me know if your problem could be solved.

 

 

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

3 REPLIES 3
Dual Super User
Dual Super User

Re: When new items are created send an E-Mail with the list

You would need to add an Odata filter to your Get-items to check that the created date is within the last 24 hours. Otherwise that looks to be about the right flow.  Here's what you need.

 

1) add a compose action to generate a DateTime timespan that is 24 hours in the past in UTC.  Use this formula.

addDays(utcNow(),-1)

2) add the following to the Odata query line in your Get Items

Created gt datetime'[Output from Compose above]'

That will retrieve all the items created in the last 24 hours.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Super User
Super User

Re: When new items are created send an E-Mail with the list

@Muni1996 

Another "low tech" solution might be to simply create an alert on the library that fires when a new item/document is created.  Configure the alert to send a daily summary.   No need for a Flow if you leverage this out of the box SharePoint feature.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

Community Support Team
Community Support Team

Re: When new items are created send an E-Mail with the list

Hi @Muni1996 ,

 

Have your problem been solved?

As @Pstork1  said, you could add filter query for the "Get items" action, and the screenshot of the action should as below:

1.png

 

Please let me know if your problem could be solved.

 

 

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

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 470 members 5,635 guests
Please welcome our newest community members: