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 / 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
    11,691 Super User 2025 Season 2 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

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard