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 Automate
Suggested Answer

Email Doesn't Send

(1) ShareShare
ReportReport
Posted on by 99
Hi Community,
I have set up a Power Automate flow for document control. When a document review is due, the flow is intended to trigger an email to the document lead. The test run is successful; however, the email is not being sent. I would appreciate assistance in identifying why this is happening.
Cheers,
RezzaB
Screenshot 2026-04-01 105516.png
Screenshot 2026-04-01 103823.png
Screenshot 2026-04-01 105021.png
I have the same question (0)
  • Suggested answer
    Haque Profile Picture
    3,653 on at
    Hi @RezzaB,
     
    Do you see any error after the run? If not, could you please invesitgate Outputs of Send an Email (V2) action? 
     
    I am assuming your recipient eamil address is perfect - as you are sending email inside apply to each action - could you please use trim if its is picked up dynamically.
     
    For narrowing the problem, can you please check sending one email  outside of Apply to each with the same address?
     
    Please let me know.
  • RezzaB Profile Picture
    99 on at
    Thanks for your reply @Haque. No error after run. I dont understand what trim if its is picked up dynamically, sorry. Email does send outside of apply to each:
     
  • Suggested answer
    Haque Profile Picture
    3,653 on at
    Hi @RezzaB,
     
    So the porblem inside the Apply to each loop! 
     
    trim() - is a function that removes unnecessary spaces from before and after a srting. e.g data = "  data  ", trim(data) = "data".
    Here we go.  
  • Suggested answer
    Olufemi 7 Profile Picture
    72 on at
    Hello @RezzaB,
     

    I see what's happening here. Your logic is actually solid, but there's a quick "logical flip" in your Condition 2 that’s causing the flow to skip the email step.

     

    In your screenshot, the condition is set to: Compose - Count Items 2 is equal to 0.

     

    This means the flow only enters the "If yes" branch (where your email action lives) when it finds zero documents. When the flow actually finds documents that need reviewing (Count > 0), the condition is false, so it completely ignores that "If yes" block.

     

    To fix this: Just change that operator from "is equal to" to "is greater than" and keep the value as 0. That way, it only moves forward to the "Apply to each" loop when there are actually items to process.

     

    One quick thing to double-check in your Apply to each: make sure the To field in your email action is mapped to the Output of your "Compose - Document person email" action.

      
    References:



       

     
  • CU02040155-0 Profile Picture
    2 on at
    Hi @RezzaB,
    Would you mind sharing the entire code for the flow as i am tasked this same job but have no idea how to get started on it.
    Much thanks
  • RezzaB Profile Picture
    99 on at
    @Olufemi 7 thank you for your reply and assistance, much appreciated. I have made the changes you suggested, however, even when it is true the flow still doesn't follow the Yes Apply to Each steps?? This is so fustrating. Hopefully you can help me :)
     
    @CU02040155-0 - I am happy to share once it is working
     
    Cheers,
    Screenshot 2026-04-10 134740.png
    Screenshot 2026-04-10 134712.png
    Screenshot 2026-04-10 151640.png

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard