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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send Email attachment ...
Power Automate
Unanswered

Send Email attachment from uploaded via Forms power automate premium

(1) ShareShare
ReportReport
Posted on by 29

Hi!

How can I send the email with the attachment they are uploading via Forms? Theres three different files. I also have Power Automate Premium. 

I know the last step is sending an email to the email that they put on the Forms but i don't know how to attach the files

Categories:
I have the same question (0)
  • trice602 Profile Picture
    15,402 Super User 2025 Season 2 on at

    Hi @000035C ,

     

    Here's the step that will help you solve this.  Please let me know.  In this example, after your trigger and get form response.  Save and test.  You need the json output from get responses.  In my example, I have a question named Add a file (and can add up to 5 files at one time).

     

    trice602_0-1699379444508.png

     

     

    Next add the action parson json (shown above).  You want to take the output from get responses (the json) and select your dynamic question for the content, next click Generate from sample button, paste in your sample, press ok.  This will give you something like this (above).

     

    Next I add Get content action and reference the ID in my parse json output.  This will automatically wrap in a for each because there may be more than one attachment.

     

    trice602_3-1699379757188.png

     

    Notice in the attachment section in the send email V2 action, I am referring to the json value name (for file uploaded name) and attachment content which is the body get file content action, shown below.

     

    trice602_2-1699379703404.png

     

     

    Save and test.  

     

     

     

     

  • CU29081211-0 Profile Picture
    29 on at

    Hi! 

    So I did that, I also copy paste the "body" of the outputs of get response details. But when it only appears "Body" in Get File Content, I don't have the option of "id"Captura de ecrã 2023-11-08 121531.png

     
    The same thing happens when I try to send the email it only appears "Body" "Responder" "Submit Date"Captura de ecrã 2023-11-08 121606.png

     

  • trice602 Profile Picture
    15,402 Super User 2025 Season 2 on at

    Hi @000035C ,

     

    Does your form have one question to upload 3 files or 3 separate questions?  Please share your form screenshot.

     

    To help troubleshoot this, you need to expand your parse json action and paste in here please.  The root cause is your parse json schema is incorrect.  I get my sample from the output of get response details from a previous run.  Please look at my example.  I have a question in my form called "Add a file".

     

    In my parse json action, I click on generate from sample and paste in the sample I copied from the output of get response details. 

     

     

  • CU29081211-0 Profile Picture
    29 on at

    Hi!

    My forms has 3 separate questions. Captura de ecrã 2023-11-08 165856.png

     I can try and put it in one question. 

    My parse json action: 
    Captura de ecrã 2023-11-08 170026.png

     

    The code in question: 

    {
        "type""object",
        "properties": {
            "type": {
                "type""string"
            },
            "properties": {
                "type""object",
                "properties": {
                    "responder": {
                        "type""object",
                        "properties": {
                            "type": {
                                "type""string"
                            }
                        }
                    },
                    "submitDate": {
                        "type""object",
                        "properties": {
                            "type": {
                                "type""string"
                            }
                        }
                    },
                    "rc1d2e5f31e1b474dab1cf3e9fdd6b000": {
                        "type""object",
                        "properties": {
                            "type": {
                                "type""string"
                            }
                        }
                    },
                    "r65b774a6313b43b1b9b7a9f70d40840a": {
                        "type""object",
                        "properties": {
                            "type": {
                                "type""string"
                            }
                        }
                    },
                    "r2aa9300984444819aa311bd2b941d519": {
                        "type""object",
                        "properties": {
                            "type": {
                                "type""string"
                            }
                        }
                    },
                    "r48f19f220137431d90abff4e77a41267": {
                        "type""object",
                        "properties": {
                            "type": {
                                "type""string"
                            }
                        }
                    },
                    "r89995742c541467fb425466443db89f9": {
                        "type""object",
                        "properties": {
                            "type": {
                                "type""string"
                            }
                        }
                    }
                }
            }
        }
    }


    I also did that, I run a test and I copied the body partSem título.png

     

     

  • trice602 Profile Picture
    15,402 Super User 2025 Season 2 on at

    Hi @000035C ,

     

    Here's an adjusted flow that works in testing.  The caveat here is my form has one question and I get all 3 files in a single question/upload.  You will have to decide if you want to adopt this format.  That said, I encourage you to go through the exercise and do the steps and learn from the process (just like I did too).

     

    If this was helpful, please mark as a solution too!

     

    trice602_0-1699475263169.png

     

    trice602_1-1699475303061.png

     

    trice602_2-1699475331159.png

     

    Again, on the parse json action:

     

    Step#1 I get the output from my get response details.  Content is the question from the form.

     

    Step#2 I click on generate from sample and paste in my output from step#1.

     

    Step #3 Your schema should look similar to the one below.

     

    trice602_3-1699475461171.png

     

    Next Get file content and select id from your parse json action.  This will automatically wrap in an apply to each, shown below.  Next we want to append our array variable with the output of the results to email downstream.  In the append variable action, type in the json exactly like you see it below.

     

    trice602_5-1699475591645.png

     

    Lastly, outside of your apply to each send email V2.  For the attachments, click on the icon next to the right of the field and select your attachment1 variable, shown below.

     

    trice602_6-1699475697641.png

     

    Here's the email results.  One email, all three attachments included.

     

    trice602_7-1699475747320.png

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard