web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / how can an added docum...
Power Automate
Unanswered

how can an added document be send to the recipient?

(0) ShareShare
ReportReport
Posted on by 105

The person who starts the flow should have the possibility to add a document. 

Mischa2710_0-1621610770521.png

Afterwards the flow starts and an approval will be send. Unfortunately I´ve no idea what I´ve to do that the attachment will also be send with the approval.

Mischa2710_1-1621610909894.png

Any idea?

Thanks in advance

Michael

Categories:
I have the same question (0)
  • NiloferA Profile Picture
    on at

    Hello @Mischa2710 ,

    Please refer this Microsoft Doc which tells you how you can add attachments to your Approvals

    https://docs.microsoft.com/en-us/power-automate/approval-attachments

    Please mark this Reply as a Solution or give a Kudo if you found it helpful.

  • Mischa2710 Profile Picture
    105 on at

    Sorry, unfortunately not the solution for my problem. Therefore I tried it with already stored attachments in sharepoint list, but it also didn´t work:

    Mischa2710_7-1621773397062.png

    Mischa2710_8-1621773501300.pngMischa2710_9-1621773521097.png

     

  • powercorner Profile Picture
    477 on at

    Hello @Mischa2710 ,

     

    a simple solution would be to send to link of the uploaded file (SharePoint) inside the approval. 

    But I will show you how to do it directly. Just give me some minutes. I will build the example flow for you 🙂

     

    With regards

    Kevin

  • powercorner Profile Picture
    477 on at

    Hello @Mischa2710 again.

     

    There we go. Here is the short flow:

    powercorner_0-1621790323299.png

     

    So what you need to do is split the attachment field into two parts (Name / Content)

    For the name you will have the following expression:

    @triggerBody()['file']['name']
    and for the actual content it will be:
    @triggerBody()['file']['contentBytes']
     
    Then the notification mail looks like this:(in my example I uploaded a picture)


    powercorner_1-1621790509109.png

     

    Tell me if it worked

     

    With regards

    Kevin

     
  • Mischa2710 Profile Picture
    105 on at

    At first, thank you for your help. Unfortunately it didn´t work. The flow runs and I received an approval with attached document. But I receive an error if I would like to open attached document.

    Mischa2710_0-1621839908075.png

    Mischa2710_2-1621840010502.png

    Did I do something wrong? I uploaded a PPT and a PDF.

    I entered exactly your expressions:

    triggerBody()['file']['name'] and

    triggerBody()['file']['contentBytes']

     

     

  • powercorner Profile Picture
    477 on at

    hmm strange, what is the error saying in detail? maybe the filesize exceeds the Limit or your firewall blocks the content? can you tell me more about the error? screenshot maybe?

  • Mischa2710 Profile Picture
    105 on at

    Mischa2710_0-1621843213816.png

    The message is that I´ve the possibilty to repair it. But it doesn´t work.

    Mischa2710_1-1621843293835.png

    The strange thing is, if I run the flow with trigger "when an item is created or modified" everything works as wished and I can open the documents.

     

    your tipp for linking documents is also used in my flow. But sometimes the recipeint has no access to the folder and therefore a documents has to be attached. 

  • powercorner Profile Picture
    477 on at

    Hello again,

     

    I tried it again with a pdf and ppt. everything was fine. The only problems I got was when the file was larger then 5MB. 

    I took a closer look into your action. The only difference I can see now is that you are using quotes and I am not:

    powercorner_0-1621844586999.png

    maybe try it without the quotes file.name instead of "file.name"

     

    Edit: On the other hand you could give the user access to the file before sending the approval. and then take it from him again when the user approved or declined it?

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!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 224 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 181 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 97 Super User 2026 Season 1

Last 30 days Overall leaderboard