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 / How can I send multipl...
Power Automate
Suggested Answer

How can I send multiple files to "Runa prompt" action

(0) ShareShare
ReportReport
Posted on by
Hi All
 
I am wandering if there is a way to send multiple pdf files in "Run a prompt"
I am getting files from SP List (attachments) and I have tried appending them into array and passing array to prompt variable, a well as appending files into array as an object 
 
{
  "name": @{items('EachDoc')?['Title']},
  "contentBytes": @{base64(body('GetAttContent'))}
}
but it fails with following error
{"operationStatus":"Error","error":{"type":"Error","code":"InvalidPredictionInput","message":"{\"code\":\"BadRequest\",\"message\":\"Invalid image data.\",\"type\":\"\",\"param\":\"\",\"status\":0,\"innererror\":{\"code\":\"\",\"content_filter_result\":{}}}","properties":{"BackendErrorCode":"InvalidInferenceInput","DependencyHttpStatusCode":"400"},"innerErrors":[{"scope":"Generic","target":null,"code":"InvalidImage","type":"Error","properties":{"MlIssueCode":"InvalidImage"}}]},"predictionId":null}
Anybody managed to do it?
Thanks
 
Categories:
I have the same question (0)
  • stampcoin Profile Picture
    Super User 2025 Season 2 on at
    You can try to modify your prompt to add more than one documents.
     
     
  • Suggested answer
    #Jahanvi Arora Profile Picture
    on at
    smoke test 1812.1

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

Last 30 days Overall leaderboard