web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send email with every ...
Power Automate
Unanswered

Send email with every item created in the last 30 days

(0) ShareShare
ReportReport
Posted on by 17

Hi everyone,

 

I would like to create a flow that get every items created on a Sharepoint List in the past 30 days and send an email with the datails about them.

 

I've tried with "Get items" function but I can not get it work.

 

Thank you.

Categories:
I have the same question (0)
  • Ellis Karim Profile Picture
    11,681 Super User 2025 Season 2 on at

    We can use a number of actions to get the current time in the local time zone, and then calculate the date 30 days ago:

    2021-11-21_18-41-28.png

    We can then use the current time and the calculated time in the Get Items filter query. We search for items that have a created date greater or equal (ge) to the calculated time (30 days ago), and with a created date less than or equal (le) to the current date:

    2021-11-21_18-52-03.png

     

    Next, we use the Select action to select the columns we want to include in the email, the results from the Select action are converted in to a HTML table and then emailed:

    2021-11-21_18-43-29.png

     

    You can refine the content of the email (such as formatting the dates) or add some HTML styling to improve the look of the HTML table.

    2021-11-21_18-58-45.png

     

    Hope this helps.


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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard