cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Patron
Post Patron

Sent Email for new Item and only for specified item modified/updated

What is the best approach to config Microsoft Flow to just sent out an email for New Item, and another email when a specified item is modified or updated.MicrosoftFlow.PNG

The field is is call Project Details. So everytime some updates/modified it. Just wanted to reciveved the update.

 

Thank you in advance

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Sent Email for new Item and only for specified item modified/updated

Hi @oappdev ,

 

Sometimes even though when an item is created, the modify time is also some seconds after the create time, so you could check if the (Created time) is greater that the (Modified time - 1 minute) as screenshot below:

1.png

addMinutes(triggerBody()?['Modified'],-5)

 

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
Highlighted
Super User II
Super User II

Re: Sent Email for new Item and only for specified item modified/updated

If Created and Modified equal each other then its a new item, if not its updated.

Highlighted
Community Support
Community Support

Re: Sent Email for new Item and only for specified item modified/updated

Hi @oappdev ,

 

Sometimes even though when an item is created, the modify time is also some seconds after the create time, so you could check if the (Created time) is greater that the (Modified time - 1 minute) as screenshot below:

1.png

addMinutes(triggerBody()?['Modified'],-5)

 

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
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (7,410)