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

trigger email when file is modified and include the name of modifier

Hi,

 

I have created a flow to send an automatic email when a file is modified on OneDrive.

I have two issues:

  1. an email is triggered also when someone just opens the file but does not add anything. I want an email only when the file is really modified
  2. in the message body I would like to add who modified the file but so far I could not find a way to extract this information

Can anyone advise how to achive what I want?

 

Thanks

 

Zoltan

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: trigger email when file is modified and include the name of modifier

Hi @Zoltan,

 

Please choose the trigger "When a file is created (properties only)" instead of trigger "When a file is created".

 

Best regards,

Alice

4 REPLIES 4
Community Support Team
Community Support Team

Re: trigger email when file is modified and include the name of modifier

Hi @Zoltan,

 

Do you mean the email is triggered in your flow when someone opens the file but does not add anything?

 

I afraid that it is because the excel file would be automatically saved after some minutes,so please make sure the excel wouldn't automatically save so the trigger "When a file is modified" wouldn't triggered.

 

If you want to add who modified the file in the message body,please refer to screenshot below to create the flow:

Capture.PNG

 

 

Best regards,

Alice

Zoltan
Level: Powered On

Re: trigger email when file is modified and include the name of modifier

Dear Alice,

 

Yes, exactly what I meant. I hoped OneDrive can sense if someone actually adds something to the file or just views it. I do not want to deactivate automatic saving as this ensure no added content will be lost. If someone just looks at the file and do not change anything then I do not want a message triggered by the automatic saving.

 

For some reason the "last modified by" dynamic content does not appear for me in the selections.

 

Best regards

 

Zoltan

 

flow last modified.JPG

Community Support Team
Community Support Team

Re: trigger email when file is modified and include the name of modifier

Hi @Zoltan,

 

Please choose the trigger "When a file is created (properties only)" instead of trigger "When a file is created".

 

Best regards,

Alice

Administrator
Administrator

Re: trigger email when file is modified and include the name of modifier

Hello,  @Zoltan!

Have you had an opportunity to apply @v-yuazh-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!


Thank you for being an active member of the Flow Community!

-Gabriel
Flow Community Manager

-Gabriel
Microsoft Flow Community Manager

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

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

thirdImage

New Flow Community Board!

Check out the new Microsoft Flow Community Blog Topic Suggestion board!

fourthImage

Australia Summit

Travel to Melbourne and network with thousands of peers!

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

Top Kudoed Authors
Users Online
Currently online: 192 members 3,476 guests
Please welcome our newest community members: