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 / My flow is sending mul...
Power Automate
Answered

My flow is sending multiple emails

(0) ShareShare
ReportReport
Posted on by 379

Hello everyone! I have a flow that send email when the document expiration date is near to 30, 60 and 90 days, the situation is that the flow is sending more than one email, for example if I have 8 documents near to 30 days it sends 8 emails to the same person. How can I avoid that? here is my flow : 

lcdelgado_0-1680101269638.png

lcdelgado_1-1680101315935.png

lcdelgado_2-1680101376232.png

1)  addDays(utcnow(), int(outputs('Days_to_remind_me_in')), 'yyyy-MM-dd')
2)  addDays(outputs('Today_+_x_days'),30,'yyyy-MM-dd')

lcdelgado_3-1680101480571.png

lcdelgado_4-1680101517274.png

 

lcdelgado_5-1680101560168.png

 

lcdelgado_6-1680101612036.png

I really appreciate any help on this matter. 🙂

Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,136 Super User 2025 Season 2 on at

    Hi @lcdelgado 

     

    You want to send a single mail to a person with details of 8 documents right ?

  • lcdelgado Profile Picture
    379 on at

    Yes

  • Nived_Nambiar Profile Picture
    18,136 Super User 2025 Season 2 on at

    Hi @lcdelgado 

     

    One question here, do the assignees will always be one person ?

    Nived_Nambiar_0-1680106173111.png

     

     

  • lcdelgado Profile Picture
    379 on at

    yes

  • Nived_Nambiar Profile Picture
    18,136 Super User 2025 Season 2 on at

    Could you show the json structure of values as highlighted below, 

     

    Nived_Nambiar_0-1680107241573.png

     

     

  • lcdelgado Profile Picture
    379 on at

    you mean this: 

    lcdelgado_0-1680107583964.png

    I'm a rookie on this 🙄

  • Nived_Nambiar Profile Picture
    18,136 Super User 2025 Season 2 on at

    @lcdelgado 

     

    Also please show the json of the assignes and assignees email as well by hovering over it ?

  • lcdelgado Profile Picture
    379 on at

    lcdelgado_1-1680110460755.png

     

    lcdelgado_0-1680110415230.png

     

  • Nived_Nambiar Profile Picture
    18,136 Super User 2025 Season 2 on at

    Hi @lcdelgado 

     

    Try this expression in sender field 

     

    body('Get_items')?['value']?[0]?['Assignee']?[0]?['AssigneeEmail']

     

    Also place send email outside the apply to each 2 loop so that flow didn't sent repeatedly emails 😊

  • lcdelgado Profile Picture
    379 on at

    but when I remove the email from the Apply to each and select a dynamic content for the sender field in the email, automatically place the send email into apply to each 3

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
Expiscornovus Profile Picture

Expiscornovus 199 Most Valuable Professional

#2
David_MA Profile Picture

David_MA 194 Super User 2025 Season 2

#3
harshdeol Profile Picture

harshdeol 167 Moderator

Last 30 days Overall leaderboard