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

Multiple attachments from an Email

Hello,

I'm trying to build a flow that send an email when I receive another email in a specific folder. I know I could use simply the Outlook rules but unfortunately I can't redirect email in the final recipient + other reasons.

 

I've read lots of post about multiple attachments but always from Sharepoint and never triggered by another email.

 

My flow is like that:

 

Capture1.PNG

Capture2.PNG

 

Capture3.PNG

 

In the append to array the content is the following:

 

{
"Name": body('Get_attachment_(V2)')?['name'],
"ContentBytes": body('Get_attachment_(V2)')}
}

 

The flow doesnt give any errors however it doesnt work, I mean it's successfull when I run it but nothing happens. Anyone can help me?

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Multiple attachments from an Email

Hi @danielep 

 

Thanks for the response.

 

If you are happy with the response mark it as accepted solution. This will help others who are looking for solutions.



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

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

View solution in original post

5 REPLIES 5
Highlighted
Super User
Super User

Re: Multiple attachments from an Email

Hi @danielep 

 

You are mapping the wrong dynamic field for ContentBytes (Append to array variable). Remove the body mapping and set the ContentBytes.

 

attachment.png

 

Thanks



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

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Highlighted
New Member

Re: Multiple attachments from an Email

I also tried with ContentBytes but still not working

Highlighted
Super User
Super User

Re: Multiple attachments from an Email

Hi @danielep 

 

Thanks for your reply. Could you please post the error you getting.

 



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

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Highlighted
New Member

Re: Multiple attachments from an Email

Now it seems work. Thaaaanks

Highlighted
Super User
Super User

Re: Multiple attachments from an Email

Hi @danielep 

 

Thanks for the response.

 

If you are happy with the response mark it as accepted solution. This will help others who are looking for solutions.



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

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

View solution in original post

Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Users online (8,770)