cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
danielep
Level: Power Up

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
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!



View solution in original post

5 REPLIES 5
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!



danielep
Level: Power Up

Re: Multiple attachments from an Email

I also tried with ContentBytes but still not working

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!



danielep
Level: Power Up

Re: Multiple attachments from an Email

Now it seems work. Thaaaanks

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!



View solution in original post

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 (4,883)