web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Attachment uploaded on...
Power Automate
Suggested Answer

Attachment uploaded on Microsoft form cannot be sent in email

(1) ShareShare
ReportReport
Posted on by 36
I'm trying to attach a document uploaded on a Form to an email and send it to another email from the form. I can't get it to work, even if I switch from the old and new designer. Flow looks like this:
As you can see, no dynamic content pops up.
If I switch to detail inputs, the attachment name and content does not pop up (the question where you upload the document is circled):
 
I've tried to upload another way, using this tutorial, where I save the file in a folder and then attach it to the email: 
Flow looks like this:
The document attaches, but I get this error when I try to open it:
Has anyone else figured out how to do this? 
Screenshot 2024-09-06 162819.png
Screenshot 2024-09-06 162858.png
Screenshot 2024-09-06 162714.png
Categories:
I have the same question (0)
  • Suggested answer
    Ellis Karim Profile Picture
    12,101 Super User 2026 Season 1 on at
     
    Please check the Append to Array variable action, as shown below:
     
     
     
    Ellis
     
  • IF-06091959-0 Profile Picture
    36 on at
    Made that correction and am still receiving the error. Also, every time I run it changes the expression from item()?['name'] to the dynamic content below:
     
  • Suggested answer
    Ellis Karim Profile Picture
    12,101 Super User 2026 Season 1 on at
    Sometimes Power Automate can change the expressions to the equivalent dynamic content, which is not a problem. As long as the expressions you have entered are correct as shown below:
     
    Sometimes attachments just won't open.

    If this is the case, you may need to enter the following alternative expressions for the “contentBytes” property:
    {
      "name": items('Apply_to_each')?['name'],
      "contentBytes": {
        "$content-type": body('Get_file_content_using_path')?['$content-type'],
        "$content": body('Get_file_content_using_path')?['$content']
      }
    }
     
    See the following related posts for more information:
     
    If you are still having problems, we'll need to dig deeper and I will need to see more of the flow and view some runtime outputs. For example:
     
     

    Ellis
  • Suggested answer
    Ellis Karim Profile Picture
    12,101 Super User 2026 Season 1 on at
    I just noticed the following. Please try removing the quote marks from the ContenetBytes and re-test the flow:
     
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 450

#2
Haque Profile Picture

Haque 366

#3
Valantis Profile Picture

Valantis 349

Last 30 days Overall leaderboard