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 / Attach Array of 4Files...
Power Automate
Answered

Attach Array of 4Files Uploaded from Form Upload Post Submission

(0) ShareShare
ReportReport
Posted on by 57

I have a successful Flow that has parse JSON to get a file targeting the one Form Upload and it goes thru gets META and File contents and it works but i cannot add multiple files in the Send Email please help

Categories:
I have the same question (0)
  • jaaronanderson Profile Picture
    57 on at

    fyi remember in consideration of solve the WebForm is taking up to 4 Uploads ... I perform a delay to ensure the files are uploaded with all the other files from all the other form posts ...

    cantaddmultipes.JPG

    seems Im limited to only inset one variable here and cannot add multiple attachments this way in parsing them
    How do i append this to be more than 1 file ?How do i append this to be more than 1 file ?

     


    How can I append this to handle more than 1 (working) file ?

    I cannot figure out syntax etc.

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @jaaronanderson ,

     

    Please ensure the format is correct.

    This attachemts parameter requires an array and the array.

    [
     {
     "Name": "<file name1>",
     "ContentBytes": "<file content1>"
     },
     {
     "Name": "<file name2>",
     "ContentBytes": "<file content2>"
     }
    ]
    
    // If you want to upload 2 files..
    
    [
     {
     "Name": "<file name1>",
     "ContentBytes": "<file content1>"
     },
     {
     "Name": "<file name2>",
     "ContentBytes": "<file content2>"
     },
     {
     "Name": "<file name3>",
     "ContentBytes": "<file content3>"
     }
    ]
    
    // If you want to upload 3 files...

     

    Best Regards,

    Wearsky

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard