cancel
Showing results for 
Search instead for 
Did you mean: 

Adding an Attachment to an Approval Email In Flow

You should be able to attach a document to an approval email using flow. 

Status: Started

We are now working on the functionality to attach files to Approval requests.

Comments
Power Automate

I'm looking into the issue with flow resumption when responding to Approvals with attachments.

Frequent Visitor

I am also having issues with the flow not progressing further if the approval contains attachments - is this being fixed?

Power Automate

@lmayerle

The fix is checked in already and I'm trying to get it into our deployment train as soon as possible. Will update when I have an exact ETA.

Power Automate

ETA for the fix to be available everywhere is Friday 12/13 or Monday 12/16 depending on when the deployments starts next week.

Frequent Visitor

Will the comment section return to approvals as well? There used to be comments area where while you are approving or rejecting, you can leave a comment. That portion seems to be gone when I last checked few days ago. 

Power Automate

@Aiyaa 

I'm unaware of an issue with the comments section and cannot reproduce a missing comments section on any client. Could you further elaborate?

Frequent Visitor

@TCambs Ah I'm sorry. I forgot that you must first approve/reject in order to see the comments section. I apologize. 

Frequent Visitor

Hi @TCambs I have tried creating an array for attachments using Get Attachments - Apply to Each - Get attachment content - Append to array 
{
"Name": @{items('Apply_to_each')?['DisplayName']},
"ContentBytes": @{body('Get_attachment_content')}
}
This works totally fine when attaching an email using the 'Switch to input the entire array' feature of a normal 'Send an Email' (V2) action but when I do it using 'Start and wait for an approval' I get the error below.  I am using the exact same Array Variable but it works for one and not the other.  Is this something someone would be able to look into?  The only other way to make it work is for the Approval email to sent out once per attachment which isn't practical.

Annotation 2019-12-09 165111.png

 

Thanks

 

Advocate II

Hi @GFinlayRPS,

I had the same problem, but eventually found a fix/workaround.  I have used the following in my "append to array variable" action and it works:

{
  "name": @{items('Apply_to_each')?['DisplayName']},
  "content": @{body('Get_attachment_content')}
}

Hope it works for you too!

Frequent Visitor

@viewfile  Nope sadly it didn't work for me.  Getting the error below but I can see that the attachment has pulled through using your method.

 

Annotation 2019-12-09 171811.png

 

Thanks for the suggestion though.