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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Pars Json for multiple...
Power Automate
Answered

Pars Json for multiple files from a MS form to a teams message

(0) ShareShare
ReportReport
Posted on by 45

Hello Community,

 

I'm hoping someone can help me out here please.

 

I'm going to create a form that will have multiple questions where a file upload is needed and this will then generate a message in teams. 

 

I've figured out how to post a link to the image in a teams chat but I'm stuck now when it comes to multiple:

 

This is the current flow I have setup:

 

Screenshot 2022-11-04 at 13.27.43.pngScreenshot 2022-11-04 at 13.27.47.png

 

Any help would be appreciated. 

Categories:
  • Verified answer
    Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @19Flash92,

     

    Instead of a parse json you could also use expressions to retrieve the link each of the question. With this approach you don't need multiple parse json actions and an apply to each loop.

     

     

    With a json function you can convert the answer of an upload question to an array. With an [0] you can retrieve the first item of that array. With the ['link'] reference you can get the link of that item.

     

    An example expression would be:

    json(outputs('Get_response_details')?['body/r2ad95efbfdfc4c7eae3a9d4ea69f20a1'])[0]['link']

     

    Below is a example with HTML for the Teams channel message

    Replace my question ids by your question ids.

     

    <a href="@{json(outputs('Get_response_details')?['body/r2ad95efbfdfc4c7eae3a9d4ea69f20a1'])[0]['link']}">Click here to view the first upload</a><br>
    <a href="@{json(outputs('Get_response_details')?['body/r437acd6a72e84184b203c34fc015dc38'])[0]['link']}">Click here to view the second upload</a><br>

     

    uploads_link.png

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard