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 / MS Forms and populate ...
Power Automate
Unanswered

MS Forms and populate a MS word document insetting picture uploaded to the form

(0) ShareShare
ReportReport
Posted on by

I am working on a project where I want users to fill out a form and have the ability to upload a picture that will be uploaded into MS word template in addition to the text the enter in the form.  I cant seem to find the right way to pull this data in to the MS word template.  I have tried parsing the JSON of the upload from forms and can get the link to the file, but that is as far as I can get.

AndyHollen_0-1615316805138.png

 

Categories:
I have the same question (0)
  • Verified answer
    v-yiwenxie-msft Profile Picture
    Microsoft Employee on at

    Hi @AndyHollen 

     

    In my understanding, you want to get the file content of the picture uploaded by user who submit a Form response.

     

    Actually, when user upload a file in Form, the file will be automatically saved in the Form creator’s OneDrive.

    So you can get the file content by this OneDrive file.

     

    The following flow is for your reference:

    3.10-9.PNG

    The expression used in sequence:

     

    ‘Compose 2’:

    json(outputs('Compose'))[0]

     

    ‘Compose 3’:

    outputs('Compose_2')['driveId']

    outputs('Compose_2')['Id']

     

    The two expressions in ‘Compose 3’ are connected with a dot between them.

     

    For more info about the functions used above:

    json()outputs().  

     

    [0] is needed in ‘Compose 2’.

    [0] is used to get the first item in an array, [1] is used to get the second item in an array, and so on.

     

    The dynamic content ‘Outputs’ in ‘Get file content’ is from ‘Compose 3’.

     

    If you still have the problem, please feel free to let me know.

     

    Best Regards,
    Community Support Team _ Kira Xie
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard