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 / Flow shows Succeeded b...
Power Automate
Unanswered

Flow shows Succeeded but dont receive email

(0) ShareShare
ReportReport
Posted on by 11

I have ran the following flow, it shows as succeeded, but I dont receive the mails. 

Flow - get file 

Can someone please assist?

EuniceCoetzee_2-1701867814531.png

 

EuniceCoetzee_1-1701867744597.png

 

Categories:
I have the same question (0)
  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @EuniceCoetzee It looks like the condition in your Apply to Each action is returning false. I'm assuming your Send an Email action is in the YES branch of your condition which is why you aren't receiving any emails. 

     

    Can you show your full flow? What does your condition look like?

  • EuniceCoetzee Profile Picture
    11 on at

    Good morning,

    I appreciate your prompt response.

    My goal is to distribute certificates to various attendees. These certificates have already been renamed based on the full names and surnames listed in my Excel document. The condition for sending these certificates is to match the display name with the entries in the "Full Name" and "Surname" columns. Further details are outlined below. Please feel free to request any additional information you may require.

    EuniceCoetzee_0-1701931267775.png

    EuniceCoetzee_1-1701931559986.png

    EuniceCoetzee_2-1701931809646.pngEuniceCoetzee_3-1701931879472.pngEuniceCoetzee_4-1701931996564.pngEuniceCoetzee_5-1701932052788.png

    Thanks again!! 

     

  • VictorIvanidze Profile Picture
    13,073 on at

    Open an item in the history and check what happened.

  • EuniceCoetzee Profile Picture
    11 on at

    One of the items:

     

    EuniceCoetzee_0-1701965382967.pngEuniceCoetzee_1-1701965454587.png

     

  • VictorIvanidze Profile Picture
    13,073 on at

    Well, the flow runs as it should.  But you have to check all 20 iterations 😉

  • EuniceCoetzee Profile Picture
    11 on at

    So, all 20 expressions show false, and the conditions are not satisfied. 😞

     

    Do you perhaps know the cause of that - my files are saved in One Drive for Business?

     

    EuniceCoetzee_0-1701966163002.png

     

  • VictorIvanidze Profile Picture
    13,073 on at

    You have to know cause of that, not me. See what has been returned by "List files in folder".

  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @EuniceCoetzee Here is my suggestion. Remember to rename your actions to keep things organized!

     

    Compose the Dynamic Content

    Put the dynamic content of the Full Name (or whatever column of data you are trying to match to your file) into a Compose action.

    creativeopinion_2-1701977139556.png

    Return File Count

    For troubleshooting purposes—add a Compose action to output the number of files in your folder. Add an expression and use the length() function.

     

    creativeopinion_0-1701976860535.png

    Insert the value output from the List Files in folder action.

    creativeopinion_1-1701976876706.png

    Run a test.

     

    Confirm the output of both Compose actions. 

    creativeopinion_3-1701977562733.png

     

    Filter Array

    Instead of using an Apply to each and Condition action to check each file returned. It's more efficient to use a Filter Array action. To learn more about how to use the Filter Array action, please refer to this recent YT Tutorial I uploaded.

     

    Insert the value from the List files in folder action into the From field. In the first value field, insert the Name or Display name dynamic content—they both return the same values.

    creativeopinion_5-1701977695949.png

    I've changed the operator to contains. My file name syntax is Full Name Certificate.pdf. You will need to adjust the operator based on your scenario.

     

    In your previous condition action you used the equal to operator. This means the content in the first value and second value must be an exact match.

     

    In the second value field, insert the outputs from the Compose action storing your dynamic content. 

    creativeopinion_4-1701977663631.png

     

    Return Count of Filtered Items

    Add a Compose action to store the count of items returned from the filter array action. 

    creativeopinion_6-1701977956171.png

    Run a test. If your condition is correct, the number of items returned should match the number of files you are expecting. 

     

    Follow the YT Tutorial from this section to return the dynamic content from the Filter Array action. 

     

    Hope this helps!


    If I helped you solve your problem—please mark my post as a solution ✅.
    Consider giving me a 👍 if you liked my response!

    👉 Watch my tutorials on YouTube
    👉 Tips and Tricks on TikTok

     

     

     

     

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard