Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Flow Attachment name condition false negative

(0) ShareShare
ReportReport
Posted on by

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,

  • Anugrah Profile Picture
    on at
    Re: Flow Attachment name condition false negative

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

    For e.g. below- 

    Anu_Gupta_0-1610463146560.png

     

  • Verified answer
    Community Power Platform Member Profile Picture
    on at
    Re: Flow Attachment name condition false negative

    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.

  • Community Power Platform Member Profile Picture
    on at
    Re: Flow Attachment name condition false negative

    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?)

  • Anugrah Profile Picture
    on at
    Re: Flow Attachment name condition false negative

    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".

  • v-litu-msft Profile Picture
    on at
    Re: Flow Attachment name condition false negative

    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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow