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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / The flow cannot recogn...
Power Automate
Unanswered

The flow cannot recognize if the email has attachment or not

(0) ShareShare
ReportReport
Posted on by

https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Create-Planner-Task-and-Include-Attachments-From-Outlook-Email/ba-p/245121

I tried the method above and successfully created a task from email with subject and body content. However, I cannot create the folder to store the attachments. It seems like the automation cannot recognize if the email has attachment or not. 

Capture.PNG 

Could anyone help me? Thank you.

 

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at
    Re: The flow cannot recognize if the email has attachment or not

    Here is my full setting.

    screen_03.png

     

    screen_05.png

     

    screen_07.png

     

    screen_09.png

     

  • AlanPs1 Profile Picture
    2,471 on at
    Re: The flow cannot recognize if the email has attachment or not

    Hi @Anonymous 

     

    I know it's not like this in my post but try the below, just in case

     

    Capture-575.png

     Also, look at the run data for "When a new email arrives (V3)", look at the JSON output (or post an image back) to see if the "HasAttachment" is reporting as true or false, it looks like there is no attachment but I'd be guessing untill I see the JSON ouput.

     

    If you have found my post helpful, please mark thumbs up.

     

    Any other questions, just ask.

     

    Thanks, Alan

     

     
  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at
    Re: The flow cannot recognize if the email has attachment or not

    @Anonymous  

    screen_03.png

  • v-bacao-msft Profile Picture
    on at
    Re: The flow cannot recognize if the email has attachment or not

     

    Hi @Anonymous ,

     

    As described by @AlanPs1 , the first thing you need to do is make sure the email you receive contains attachments.

    Flow run history shows that the action in If yes was not executed, because the result of Condition is false.

     

    When configuring the Condition, you can directly use the Has Attachments output by the Get email action to determine whether the email contains attachments.

    Image reference:

    108.PNG

    Also, I noticed that you have set the Include Attachments in the Get email action to Yes, so it can get the attachments.

     

    Please take a try again.

     

    Best Regards

  • Community Power Platform Member Profile Picture
    on at
    Re: The flow cannot recognize if the email has attachment or not

    Thanks for the reply @AlanPs1 @v-bacao-msft @ChristianAbata 

     

    I set the include attachment to "YES" but it still doesn't work.

    Here is the run history for "When a new email arrives (V3)"

    Screen Shot 2020-02-10 at 12.35.02 PM.png

     

  • Verified answer
    Sam_Madisha Profile Picture
    9 on at
    Re: The flow cannot recognize if the email has attachment or not

    @Anonymous  Your fisrt code is correct there is nothing wrong with it. Do not change to 'yes' keep it at 'no', it processes email with no attachments. Try change your step of Get email to Get email (2) and try again.

  • Community Power Platform Member Profile Picture
    on at
    Re: The flow cannot recognize if the email has attachment or not

    @Sam_Madisha Thank you for your reply. I finally get the flow recognises the email but I got suck in here, the 'Create sharing link for a file or folder' action.
    Any suggestions?
    Thank you.
    @AlanPs1 @v-bacao-msft @ChristianAbata 

    Screen Shot 2020-02-17 at 12.14.40 PM.png

     

  • Community Power Platform Member Profile Picture
    on at
    Re: The flow cannot recognize if the email has attachment or not

    Thank you all!
    I made it!
    I just set the folder setting to "no need to check out" and it works perfectly.

  • Sam_Madisha Profile Picture
    9 on at
    Re: The flow cannot recognize if the email has attachment or not

    @Anonymous  Good job. Cheers!

  • Hjartarson Profile Picture
    3 on at
    Re: The flow cannot recognize if the email has attachment or not

    Hello @Anonymous,

     

    I am having the exact same problem as you were having.

     

    could you elaborate on how you changed the folder setting to "no need to check out"?

     

    That might be the thing I need as well. 

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

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard