Skip to main content

Notifications

Community site session details

Community site session details

Session Id : BH8ObK6/ZEyYoSJ7zMkYGz
Power Automate - Building Flows
Answered

The flow cannot recognize if the email has attachment or not

Like (0) ShareShare
ReportReport
Posted on 7 Feb 2020 04:16:30 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.

 

  • Community Power Platform Member Profile Picture
    on 19 Nov 2020 at 14:05:01
    Re: The flow cannot recognize if the email has attachment or not

    Hi @DodgeHo,

     

    I got stuck in the exact same place, but nothing changed after I reviewed SharePoint's document checkout settings--mine were already set to "no." Did you make any other adjustments somewhere?

  • Community Power Platform Member Profile Picture
    on 19 Nov 2020 at 14:01:49
    Re: The flow cannot recognize if the email has attachment or not

    @DodgeHo was probably referring to the SharePoint document checkout setting:

     

    sharepoint-checkout.png

  • Hjartarson Profile Picture
    3 on 20 Apr 2020 at 12:36:42
    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. 

  • Sam_Madisha Profile Picture
    9 on 17 Feb 2020 at 07:26:16
    Re: The flow cannot recognize if the email has attachment or not

    @Anonymous  Good job. Cheers!

  • Community Power Platform Member Profile Picture
    on 17 Feb 2020 at 04:40:33
    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.

  • Community Power Platform Member Profile Picture
    on 17 Feb 2020 at 02:49:29
    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

     

  • Verified answer
    Sam_Madisha Profile Picture
    9 on 14 Feb 2020 at 12:39:11
    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 10 Feb 2020 at 04:38:49
    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

     

  • v-bacao-msft Profile Picture
    on 10 Feb 2020 at 01:17:04
    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

  • ChristianAbata Profile Picture
    8,947 Most Valuable Professional on 08 Feb 2020 at 13:17:35
    Re: The flow cannot recognize if the email has attachment or not

    @Anonymous  

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,780 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,093 Most Valuable Professional

Leaderboard