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 / Flow Attachment name c...
Power Automate
Answered

Flow Attachment name condition false negative

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello All,

 

I'm writing because I've seen an issue that I'm hoping you guys can help me with. I have a flow which checks new emails for attachments. if the attachment contains a specific name, it downloads the attachment to a sharepoint document library. This flow works whenever I test it, however, the "natural occurance" gets marked as "false". Here are the steps below:

 

  1. Email arrives with attachment
  2. for each attachment
    1. check the name to see if it contains specific text (IE SalesReport)
    2. yes branch: save the file to a sharepoint document library

I received the email at 9AM and flow saw the email, the condition (2.1) came up as "false". I forward the email to myself, and it worked perfectly! why is it that the emails that come in naturally are getting missed?

 

Thank you,

Categories:
I have the same question (0)
  • v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    I created such a Flow as you describe it, and it works properly. My Flow as below:

    Screenshot 2021-01-12 112858.jpg

     

    Could you please share your Flow structure? And you could also share the run history of the condition came up as 'false'. We could check if the attachment name contains "IE SalesReport".

     

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Anugrah Profile Picture
    Microsoft Employee on at

    could you please share the run history of the condition came up as 'false'. Need to check the condition you have mentioned -

    if the attachment name contains "IE SalesReport".

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello,

     

    so, I think i may have found the "real problem". I went back through the run history, opened up all the runs during the time it would have come in (9am - 9:15am yesterday) and was not able to find the email. It appears that the "real problem" appears to be that its not catching all emails. I will continue to parse through and see if I can find it. but, if that's the real problem is there something that I should be looking for? (a setting or variable?)

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello All,

     

    further to my last post, I discovered the issue in my flow. The issue is that the emails that are coming in are getting sorted into a subfolder of "keepbox". This subfolder appears to be the root cause of the issue. I have updated the flow to look at the correct folder specifically.

     

    as a second question, is there a way to ask a flow to check "all incoming emails"? or "include subfolders"? if not, then I will keep this on top-of-mind for this flow and any subsequent flows.

  • Anugrah Profile Picture
    Microsoft Employee on at

    For the basic trigger, you need to choose the Folder where actual email arrives. 

    For e.g. below- 

    Anu_Gupta_0-1610463146560.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

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 459

#3
11manish Profile Picture

11manish 382

Last 30 days Overall leaderboard