web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create a Sharing Link ...
Power Automate
Unanswered

Create a Sharing Link to a File or Folder - Flow Sending Duplicate Emails

(0) ShareShare
ReportReport
Posted on by 84
I have created a new flow that will send two emails when the status of a record in a document library is change to Data Call.  The emails includes a sharing link to a document.  A user changed the status to Data Call yesterday and the expected emails went out perfectly.  Oddly, about an hour later, five more sets of both emails were sent out.  In the details pane for that record it statues "SharePoint shared this file" at the exact times the emails went out.  When I view the output of the Get Changes for an Item, it shows that the status field was changed but there is no record in the details pane showing that someone changed the status.  I turned the flow off to stop the continuous emails.  Later turned it back on and it sent another set of emails out and then it appear to be done.
 
I'm wondering if this is a case of a continuously running flow that would benefit by entering the formula in the settings for When an Item is Created or Modified to prevent the flow from running when SharePoint changes a record.  Any help is greatly appreciated. 
 
@not(equals(triggerbody()?['Editor']?['Email'],'sharepoint@companyname.com'))
 
 
 
 
Categories:
I have the same question (0)
  • David_MA Profile Picture
    12,966 Super User 2025 Season 2 on at
    Yes, a trigger condition will help in preventing the flow from running again. If you do not have one in your current flow, any time the item is updated in SharePoint, your flow is going to trigger. Based on the fact that you're getting duplicate e-mails, it would seem like either your existing trigger conditions are not valid, or you do not have any. 
     
    Also, in your flow, I see you get changes for an item or file. I don't see any condition in your flow to check if the field you want to check has been added. Although, the image you shared does not seem to be your complete flow. Please show your condition and also show how you have configured the get changes action.
     
    If the e-mail address in your post is real, edit your post and make it more generic (e.g., sharepoint@domain.com). It will help avoid potential spam.
  • muggs4477 Profile Picture
    84 on at
    My apologies, you're correct.  I forgot to include the condition.  See below. 
     
     
    And the configuration of the Get Changes is below. 
     
     
    Thank you regarding the comment regarding the email address.  Appreciate it.  Oversight. 
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard