cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

The flow cannot recognize if the email has attachment or not

https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Create-Planner-Task-and-Include-At...

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Frequent Visitor

Re: The flow cannot recognize if the email has attachment or not

@DodgeHo  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.

View solution in original post

10 REPLIES 10
Highlighted
Helper I
Helper I

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

 

Highlighted
Resident Rockstar
Resident Rockstar

Re: The flow cannot recognize if the email has attachment or not

Hi @DodgeHo 

 

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

 

 

Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Highlighted
Super User III
Super User III

Re: The flow cannot recognize if the email has attachment or not

@DodgeHo  

screen_03.png



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
Highlighted
Community Support
Community Support

Re: The flow cannot recognize if the email has attachment or not

 

Hi @DodgeHo ,

 

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 Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Helper I
Helper I

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

 

Highlighted
Frequent Visitor

Re: The flow cannot recognize if the email has attachment or not

@DodgeHo  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.

View solution in original post

Highlighted
Helper I
Helper I

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

 

Highlighted
Helper I
Helper I

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.

Highlighted
Frequent Visitor

Re: The flow cannot recognize if the email has attachment or not

@DodgeHo  Good job. Cheers!

Highlighted
Regular Visitor

Re: The flow cannot recognize if the email has attachment or not

Hello @DodgeHo,

 

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. 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (7,260)