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 / Problem using email at...
Power Automate
Answered

Problem using email attachment after approval response received

(0) ShareShare
ReportReport
Posted on by 30

I have a flow that uses information from a SharePoint list item to send an approval email with the attachments from the list item.  The attachments are loaded into an array variable.  The approval email works perfectly.

 

When I check for the approval results, I need to send an email to the requester specifying the results of the approval request as well as to another department to act on the approval.  In all cases, I want to include the attachments from the initial email in the subsequent emails.  I presumed it would be as simple as specifying the array variable as the attachments just as I did in the initial e-mail. 

 

The flow is failing on sending the follow-up email with the error "OpenApiOperationParameterValidationFailed. The 'inputs.parameters' of workflow operation 'Send_an_email_(V2)_-_Denied' of type 'OpenApiConnection' is not valid. Error details: The API operation 'SendEmailV2' is missing required property 'emailMessage/Attachments/0/ContentBytes'." If I remove the array variable from the email, the flow completes successfully.

 

The array variable looks like this:

 

lburgess_0-1658329162799.png

 

 

Any thoughts?

Categories:
I have the same question (0)
  • Verified answer
    Ellis Karim Profile Picture
    12,026 Super User 2026 Season 1 on at

    hI @lburgess ,

     

    You will need to use two array variables in order to send attachments. One array variable will be used in the Approval action (varApprovalsAttachments) , the other (varAttachments) will be used in the Send Mail action. The format structure of the arrays are slightly different:

    Snag_11b6a62d.png

    Snag_11b87281.png


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

  • lburgess Profile Picture
    30 on at

    Thanks @ekarim2020,.

     

    I don't see File Content as an option. 

     

    lburgess_0-1659388602040.png

     

  • lburgess Profile Picture
    30 on at

    I figured it out.

     

    lburgess_0-1659389426179.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

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 607

#2
Valantis Profile Picture

Valantis 456

#3
11manish Profile Picture

11manish 352

Last 30 days Overall leaderboard