cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AdrianP
New Member

Flow for Outlook: forward Messages with and without attachments

I have a problem with a flow for outlook. I just want to forward messages from my inbox to 30 other people, but the problem is that I can't make a flow which send mails with attachments and without. 

 

I tried to create a condition for the parameter "has attatchment" and ask for true and false but this doesn't work. I know, that I have to include the output of the prior step, but when the attachment is empty it doesn't check the condition and the flow is marked as failed. 

 

I hope you unterstand my needs.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
SameerCh
Power Automate
Power Automate

There is a known designer bug in that we are treating the value as a string.  For now, you can use the advance editor to write an expression like below:

@equals(triggerBody()?['HasAttachment'], bool('true'))

@equals(triggerBody()?['HasAttachment'], bool('1'))

 

Either should work.

View solution in original post

12 REPLIES 12
SameerCh
Power Automate
Power Automate

There is a known designer bug in that we are treating the value as a string.  For now, you can use the advance editor to write an expression like below:

@equals(triggerBody()?['HasAttachment'], bool('true'))

@equals(triggerBody()?['HasAttachment'], bool('1'))

 

Either should work.

Thank you, that helped me a lot. 

Anonymous
Not applicable

Any chance this bug gets fixed? I don't have access to the Advanced editor so am reliant on using the forms to set things up and attachements are not getting passed down the flow. 

 

 

CmmandrShepard
New Member

How do you correctly forward messages anyway? I can't seem to get it working.

Well thats a pretty general question. But i will try to explain it.

 

  • make a new empty flow
  • choose a trigger (e.g. Office 365 Outlook - ...)
  • add an action ("Send E-Mail")
  • now fill in the fields "To:", "Ref.:" as nou need it
  • and in "Text" field you just add the dynamic content "Text"

 

Thats all. You can do a lot more configurations, add conditions, etc. 

 

Hope this helps.

 

I need help here too.

 

I'd like to forward all emails from a certain sender with its attachment to my financing colleague. It is basically t automate forwarding invoices. I can't figure out what to set in "Send email with options" to include the attachment and some custom text. 

 

We dont have a "Forward mail" action today.  That would have been more appropriate for this kind of scenarios.  We will add this in our backlog. You can help by voting for this feature in the Ideas section.

 

For now, you can use the "Send an email" action here.

 

Thanks!

Sameer 

 

AdrianP
New Member

Thats how I achieved this. You need to handle the attachment, otherwise you will get an error. In german but i hope this still can help someone. 

 

"Blacklog" means,m you will add this in the forseable future ? 🙂 Btw. i found out that outlook.com let's you forward email right from the web interface under settings.

"Blacklog" means,m you will add this in the forseable future ? 🙂 Btw. i found out that outlook.com let's you forward email right from the web interface under settings.

maggs123
New Member

Hi,

I am still receiving this error, when an email is being forwarded the PDF attachment does not go through. I have chosen the option to include attachments as well.

MRQ702
Frequent Visitor

I'm trying to forward an email from a shared mailbox with an attachment as an email with options to a group of people. 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,388)