Forum Discussion
Sharepoint rule for modified file
We are using the automate rule for when a file is modified. However, it is sending an email every time the file is autosaved. Is there a workaround for this? The alerts was a simple solution but is being phased out in July.
1 Reply
- dpere1Occasional Reader
Hi Deborah - unfortunately, file modified will fire on every autosave, so the out-of-box Automate rule can’t really debounce that by itself. The usual workarounds are:
Option 1 (best if you can change library settings): only notify on check-in / major version, turn on Versioning (Major or Major/Minor) and/or Require check-out, then build a Power Automate flow that only emails when the document is checked in or when the Major Version changes (i.e., a “real save/publish”), not every autosave.
Option 2: “debounce” in Power Automate (no library setting changes) Trigger: When a file is created or modified (properties only), add a Delay (e.g., 5-10 minutes), after the delay, get file properties again and compare the Modified timestamp: If it has changed since the trigger, terminate (someone is still editing/autosaving). If it hasn’t changed, send one email (editing has “settled”).