Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Suggested answer

Send multiple attachments from multiple forms questions

(1) ShareShare
ReportReport
Posted on by 2
Hi, 
I have a MS Form that has 2 questions with the option to add back up documents.
Below is the current test flow that works to the point of try to attach the documents that are in two difference sources:
1) One Drive  -Files
2) Share Point - Attachments
 
When I add both Files an Attachments into the Attachments field I get the following error:
Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'emailMessage' validation failed in workflow operation 'Send_an_email_(V2)': The parameter with value '"@{variables('Attachments')}@{variables('files')}"' in path 'emailMessage/Attachments' with type/format 'String' is not convertible to type/format 'Array'.'.
 

 
  • Suggested answer
    Ellis Karim Profile Picture
    11,067 Super User 2025 Season 1 on at
  • MtryDoc Profile Picture
    55 on at
    Send multiple attachments from multiple forms questions
    Hello and Hope this helps.  I am running into a issue with this also.  I have it working on one flow but my when I repeat steps on another flow I am gettting a error.
     
    Looking at what you supplied here are my suggestions.  Make sure that both the Attachments and files are array and not string.  Then I would create a new array and combine both attachment and Files together.as one array then you should be able to pass that array in the email attachments.  

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492