cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AdrianP
Level: Powered On

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
Power Automate Staff SameerCh
Power Automate Staff

Re: Flow for Outlook: forward Messages with and without attachments

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

10 REPLIES 10
Power Automate Staff SameerCh
Power Automate Staff

Re: Flow for Outlook: forward Messages with and without attachments

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

Highlighted
AdrianP
Level: Powered On

Re: Flow for Outlook: forward Messages with and without attachments

Thank you, that helped me a lot. 

elynchbell
Level: Power Up

Re: Flow for Outlook: forward Messages with and without attachments

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
Level: Power Up

Re: Flow for Outlook: forward Messages with and without attachments

How do you correctly forward messages anyway? I can't seem to get it working.
AdrianP
Level: Powered On

Re: Flow for Outlook: forward Messages with and without attachments

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.

 

sebastian-azeti
Level: Power Up

Re: Flow for Outlook: forward Messages with and without attachments

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. 

Power Automate Staff SameerCh
Power Automate Staff

Re: Flow for Outlook: forward Messages with and without attachments

 

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
Level: Powered On

Re: Flow for Outlook: forward Messages with and without attachments

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. 

 

CmmandrShepard
Level: Power Up

Re: Flow for Outlook: forward Messages with and without attachments

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

CmmandrShepard
Level: Power Up

Re: Flow for Outlook: forward Messages with and without attachments

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

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (6,791)