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 Apps / Stop duplicate emails ...
Power Apps
Unanswered

Stop duplicate emails on modified items in my list

(1) ShareShare
ReportReport
Posted on by 2

Hello! I am new to power automate and just got told here do it so this is a learning process. I have a very basic straightforward workflow but that item in the Sharepoint list may need modified 1 or 2 additional times from creation.  The flow works but when it is modified it sends duplicate emails.  Can anyone please let me know how to get this to stop?  Unable to provide screenshot of flow but it is as follows.

 

When an item is created or modified

Condition is set to when a certain field is equal to Yes

if yes send an email notification only to certain people

if no do nothing

 

that is it, pretty basic workflow email notification.  It is when that item is modified due to someone reviewing the work and flipping another field to yes in turn starts a new flow but it duplicates that above workflow on the modification.  I have tried several different settings but nothing works based on a few different threads I have read.  Everyone else is a lot more complex than mine so I haven’t found anything to match.  Thanks!  

Categories:
I have the same question (0)
  • rubin_boer Profile Picture
    4,841 Super User 2024 Season 1 on at

    Hi @Hknews13 

     

    Seems like your question will be suited to be solved by the power automate community which you can find here, https://powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity

     

    from your description one will have to see more specifics of your logic as to why another field is triggering the flow.  The action Get changes for Item or File i assume is the one being used.  in the condition if your column field = false it will not send the email as it is created in the true part .

     

    All the best.

     
  • v-bofeng-msft Profile Picture
    on at

    Hi @Hknews13 :

    My method is to add an auxiliary column to determine whether the email has been sent, and if the email has already been sent, no more emails will be sent:

    I suggest you add a Yes/No column HaveSendedEmail to your data source:

    • When an item is created or modified
    • Condition(And):
    1. certain field is equal to Yes
    2. HaveSendedEmail field is equal to No
    • if yes send an email notification only to certain people and update this item's HaveSendedEmail  field to Yes
    • if no do nothing

    Best Regards,

    Bof

  • tijanadjurovic Profile Picture
    17 on at

    Hello,

    May I kindly ask you to show this process in pictures? 

    I am new to Power automate and I have the same issue described above, I am getting email notifications twice. I have a flow for the modified filed on Share point. Unfortunately, I do not understand your solution unless it is shown step by step in pictures. I hope I am not asking too much.

    Thanks, kind regards,

    Tijana

     

  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    Hey Tijana,

     

    You are definitely not asking too much we love to help people in the communities. Especially people learning new things as we all started there at one point 🙂 .

     The solution @v-bofeng-msft has described is a good one which I have used on many occasions whenever it was the best suited option. In this case it is certainly an option that would work for you. 

    I will build one now and take screenshots and pictures to show you how I add the column and make my flow work with it. If you find my pictures and instructions to be confusing let me know and I can either answer your questions on here or get on a call with you.

    Step 1 for me to add a new Yes/No column to my Sharepoint List:

    AJ_Z_2-1647699918789.png

    I usually call It EmailStatus but in this case I called it 'Has an Email already been sent?'

     

    If you do not know how to add a Yes/No column simply do this:
    Click the Add Column button and pick Yes/No - 

    AJ_Z_3-1647700055048.png

     

    Then it will open up the window to name the column. Give it a relevant name and then make the Default Value 'No' 

    AJ_Z_4-1647700128670.png

     

    Then go to the Power Automate/Flow you have and under the trigger add a condition:

    add the Yes/No column in the first box, then make sure the middle box says is equal to and then in the third box add the expression false:

    AJ_Z_9-1647701229911.pngAJ_Z_10-1647701268015.png

     

    AJ_Z_11-1647701283585.png

     

    So far the flow is now checking to see if an email has already been sent if it has it will not proceed with the flow.

     

    Then the rest of your flow goes inside the Yes / True part of condition on the left side. You mentioned you had a condition to check if a certain field is equal to yes you would add that here. I replicated this need for another condition on my side by adding another Yes/No Column and checking if that is equal to Yes/True:

     

    AJ_Z_12-1647701751937.png

     

    In the true part of this condition is where you send the email. So you need to add an action to update the Item to say that an email has been sent. So add the update Item Step.

    add the Item's ID:

    AJ_Z_13-1647701884393.png

    For all the required fields you will need to add the corresponding dynamic content from the trigger:

    AJ_Z_14-1647702081596.png

    E.g. in my case that would be title. 

     

    Then go to your new Yes/No column 'Has an email already been sent?'

    and make it Yes:

    AJ_Z_15-1647702472909.png

     

    So to summarise:

     

    We first add a Yes/No Column to the List and Default it to No.

    Then we go to our flow and first check if the value is equal to false

    if the condition is true we continue to our next condition which was your existing one.

    if that is true that means a new email can be sent. in this true we add the update Item so that the item now has a yes value to confirm an email has been sent and won't send another in the future because of the first condition. 

    if you have questions please reply to this or let me know if you need a call and we can work it out 🙂

     

    take care and good luck with your flow 🙂

     

     

  • tijanadjurovic Profile Picture
    17 on at

    Hello @AJ_Z ,

    than you, this is very helpful! Much appreciated.

    Still, I did not manage to finish the Update Item step.

    This is where I got stuck:

    tijanadjurovic_0-1647803232727.png

    I do not have any list available in the List Name. And I do not know what this list should represent. Should this be the same list from the first step? I put the same Site Address and it's not clear to me why I do not have an option to choose the same folder as I did in the first step.

     

    Thanks, Tijana

     

  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    It should be the same as the first original list name where we are checking for the created and modified name. Is that list name an option. and make sure you have put in the correct share point site 🙂

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard