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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / My flow is sending two...
Power Automate
Unanswered

My flow is sending two e-mails

(0) ShareShare
ReportReport
Posted on by 18

I have a flow to do flow-ups before i send a e-mail and flagged. What I need do?

 

sou_jotaa_0-1696528905637.png

 

sou_jotaa_1-1696528949681.png

 

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,960 Moderator on at

    hi @sou_jotaa 

     

    You need to move your Email outside of the For Each Loop.

     

    Why are you looping through the Attachments? Are you trying to attach them to the Email and then send it to someone else?


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • sou_jotaa Profile Picture
    18 on at

    I'm from Brazil. Pls, sorry my english.

     

    "Why are you looping through the Attachments?" I do this to filter the email I want. The situation is as follows: I wanted to send an email after 3 weeks of sending an email itself. One way I found to filter which email this flow works on is by filtering by the name of the attachment sent in the first email and flagging it in the sent box

     

  • Michael E. Gernaey Profile Picture
    53,960 Moderator on at

    Hi @sou_jotaa 

     

    Não se preocupe em tudo o que você está indo muito bem.

     

    Então, o problema eu vejo se essa sua condição está sendo atendida cada vez, então ou você realmente tem vários anexos e eles realmente correspondem à sua condição, ou você apenas tem uma condição ruim que sempre retorna verdadeira e é por isso que ele envia duas vezes.

     

    Você espera que apenas 1 anexo corresponda ao filtro de condição?

     

    Se você entrar no Histórico de execução e abrir uma instância, poderá clicar em Aplicar a cada uma delas e verificar a condição de cada Loop e ver por que ela retornou true para a condição.


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • sou_jotaa Profile Picture
    18 on at
    attachments are a way to filter the email I want works

     

    I always send a type of email that comes with an attachment whose name starts with "AP-LS..."
  • Michael E. Gernaey Profile Picture
    53,960 Moderator on at

    Hi @sou_jotaa 

     

    I do understand that, but your question is why is it sending two emails. So I am trying to discover if you do have 2 email attachments, and that both match the required Condition, if so, that is why you have 2 emails.

     

    So at this point I do not understand what you are doing in the loop so I will move on.


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard