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

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
Community Support Team
Community Support Team

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
Gristy
Level 10

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.

Community Support Team
Community Support Team

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
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: 185 members 5,159 guests
Please welcome our newest community members: