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

Sending emails to users based on excel value date condition

Hi Community!

 

This Staff Supply list (pic 1) is updated automatically by staff filling out an MS Forms.

I want to create a Flow that “when column info last updated is empty OR is < 30 days of TODAYS DATE” send an email to the staff member asking them to complete the MS form.

 

I’m unsure how to get MS flow to get the values for “info last updated” and then check it against the rules outlined above. When I have tried using the “get a row” action, I get to this stage (pic 2), where I’m unsure what the key value for this column is. There will be multiple values from that column that I want to select if they breach the rules outlined above.

 

Any help or ideas appreciated!

 

LiamReidy_2-1656417828487.png

 

 

 

LiamReidy_0-1656417625373.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

Sure @LiamReidy ,

use this:

 

Info Last Updated eq null or Info Last Updated eq 'addDays(utcNow(),-30)'

 

The Excel field must be the column name.

 

You can also refer to this complete article:

 

https://diyd365.com/2019/11/20/every-power-automate-ms-flow-filter-query-you-ever-wanted-to-know-as-...

 

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

 

BR,

Marco

View solution in original post

3 REPLIES 3
MarconettiMarco
Super User
Super User

Hello @LiamReidy ,

maybe it's better to create a Scheduled flow the lists rows present in a table by using the OData Filter Query and then send an email for each row found.

 

MarconettiMarco_0-1656421501157.png

 

 

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

 

BR,

Marco

Thanks @MarconettiMarco , would you mind sending me the full OData Filter Query that you used so I can test it?

Sure @LiamReidy ,

use this:

 

Info Last Updated eq null or Info Last Updated eq 'addDays(utcNow(),-30)'

 

The Excel field must be the column name.

 

You can also refer to this complete article:

 

https://diyd365.com/2019/11/20/every-power-automate-ms-flow-filter-query-you-ever-wanted-to-know-as-...

 

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

 

BR,

Marco

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,223)