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 / Insert link in approva...
Power Automate
Unanswered

Insert link in approval to file uploaded in form

(0) ShareShare
ReportReport
Posted on by

Hi

 

Looking to automate creating planner tasks  

 

In the approval request notification, I want to include a link to the file uploaded (if any were uploaded).

Unfortunately, it doesn't seem to be as simple as putting the file upload response into the item link field, am I missing something?

 

power automate capture 2.PNG

 

power automate approval capture.PNG

 

Any help much appreciated  😀

 

Thanks

Josie

Categories:
I have the same question (0)
  • Verified answer
    PURNA429 Profile Picture
    195 on at

    Hi @Anonymous ,

    Assuming this form is created in My Forms ( not the group forms ), the uploaded file will be stored in to the form owner (creator's) one drive .

    When you extract the FileUpload field in flow, its output will be like this ( in JSON ) and which contains "link" as one of its nodes.

    JSON of FIleUpload.png

    So we have to parse this JSON to get the link node's value.

    For that, after Get Response details add a action called Parse JSON and add your "fileupload" field name in content

    FormLink.png

    and add below code in to the schema field. ( Got this code from already existing thread )

    {
     "type": "array",
     "items": {
     "type": "object",
     "properties": {
     "name": {
     "type": "string"
     },
     "link": {
     "type": "string"
     },
     "id": {
     "type": "string"
     },
     "type": {},
     "size": {
     "type": "integer"
     },
     "referenceId": {
     "type": "string"
     },
     "driveId": {
     "type": "string"
     },
     "status": {
     "type": "integer"
     },
     "uploadSessionUrl": {}
     },
     "required": [
     "name",
     "link",
     "id",
     "type",
     "size",
     "referenceId",
     "driveId",
     "status",
     "uploadSessionUrl"
     ]
     }
    }

    Once this is done, add a action called set variable ( initialize it start of the flow ) to store the link of the file upload link as below :

    ExtractLinkfromJSON.png

     

    If I answered your question, please mark this question as answered and if you liked my response, please give a thumbs up .

     

    Thanks

    Purna

    Blog 

  • KallyTeoKT Profile Picture
    2 on at

    To tag onto this post,

    May I ask what are the additional steps if there are more than 1 file? (For example there are 3)

     

    Thank you in advance

  • swgsit Profile Picture
    44 on at

    hi, thank you for your help and i have followed the same uid but when i received the link to an email where one drive file folder path (hyperlink). unfortunatly when i click the link that folder path it is again opening email with seperate tab. any point of this regard 

  • swgsit Profile Picture
    44 on at

    Do you want to know how to store more than 1 files in one drive or you want to get more file(s) path send via an email ??

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard