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 / How to attach files fr...
Power Automate
Answered

How to attach files from sharepoint list items to approval mail notification?

(0) ShareShare
ReportReport
Posted on by 67

Hi everyone,

 

I have been working Approval flow mail but i am unable to attach files from sharepoint list to approval mail. Screen shots are given, Can anyone help?

Expression for "ContentBytes": body('GetAttachmentContent')?['$Content']

 

1st part1st part

Screenshot 2020-04-15 at 12.00.15 PM.pngScreenshot 2020-04-15 at 11.40.10 AM.png

Categories:
I have the same question (0)
  • efialttes Profile Picture
    14,756 on at
    Hi!
    So in your append to array you currently assign the DisplayName from Dynamic content menu, retrieved from “Get Attachments” action to the Name property... why don't you do the same with 'Content bytes' property and assign as its value the Attachment Content from Dynamic content menu, retrieved also from “Get Attachment Contents” action?
    Hope this helps
  • bhrigu12 Profile Picture
    67 on at

    Hi,

    Actually the flow is getting terminated in condition stage only and the condition always flows through No..... Screenshot attached.

     

    Screenshot 2020-04-15 at 12.40.21 PM.png

  • efialttes Profile Picture
    14,756 on at
    Ooops!
    You are right, this seems to be the problem!
    My suggestion is, to replace YES and add the following expression from dynamic content menu instead:
    true

    Hope this helps
  • bhrigu12 Profile Picture
    67 on at

    HI @efialttes ... Thnx for replying..

     

    The flow is working now but without any attachments... 😞

    As was suggested i had even replaced ContentBytes expression with Attachment Content from Dynamic content menu, retrieved also from “Get Attachment Contents” action.... still no luck...!!

     

     

  • efialttes Profile Picture
    14,756 on at
    Hi!
    I guess you followed the recommendations on how to add attachments to an Approval, right?
    https://docs.microsoft.com/en-us/power-automate/approval-attachments
    Hooe this helps
  • Verified answer
    bhrigu12 Profile Picture
    67 on at

    @efialttes 

    Hi,

    i got the solution the problem was with "ContentBytes". In Approval mail system content key is required and not contentbytes. Now my flow is working fine...

    Thnx for the help!!!

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

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard