cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Lang
New Member

flow sp attachments corrrupt in email

Hi, Experts

 

i try to send email/approval attachments from sharepoint attachments, however the flow works well,but the outlook email attachments recieved is corrupted, below is my flow detais, and i tried via below settings but not worked

1.

{
    "inputs": {
        "name""attach",
        "value": {
            "Name""@{items('Apply_to_each')?['DisplayName']}",
            "Content""@{base64(outputs('Get_attachment_content')?['body'])}"
        }
    }
}
2.
{
    "inputs": {
        "name""attach",
        "value": {
            "Name""@{items('Apply_to_each')?['DisplayName']}",
            "Content""@{outputs('Get_attachment_content')?['body']}"
        }
    }
}
3.
{
    "inputs": {
        "name""attach",
        "value": {
            "Name""@{items('Apply_to_each')?['DisplayName']}",
            "Content""@{outputs('Get_attachment_content')?['body'].$content}"
        }
    }
}

attachments.png

1 ACCEPTED SOLUTION

Accepted Solutions
v-LilyW-msft
Microsoft
Microsoft

Hi @Lang 

If you want to attach attachments to the approval email.

Please change the value of Append to array variable 2 as shown in the image below and try again.

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

vLilyWmsft_1-1626066193362.png

Best Regards

If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-LilyW-msft
Microsoft
Microsoft

Hi @Lang 

If you want to attach attachments to the approval email.

Please change the value of Append to array variable 2 as shown in the image below and try again.

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

vLilyWmsft_1-1626066193362.png

Best Regards

If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

i tried this as showed the solution 2

 

thanks

v-LilyW-msft
Microsoft
Microsoft

Hi @Lang 

No double quotes here.

vLilyWmsft_0-1626066997288.png

Best Regards

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,065)