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 / Splitting multiple URL...
Power Automate
Unanswered

Splitting multiple URLs from file uploads (MS Forms) into readable links

(0) ShareShare
ReportReport
Posted on by 4

I currently have a flow that grabs data from a Microsoft Form and chucks it into Excel. 

 

It all works fine but when the data for the file uploads (max of 10) is pushed into Excel, it's a big ol' mess and not easy to obtain the links to the files that have been uploaded.

 

Currently it looks like this (4 file uploads):

 

 

 

[{"name":"Image 1063_REDACTED REDACTED.png","link":"https://REDACTED.sharepoint.com/personal/REDACTED/Documents/Apps/Microsoft%20Forms/Untitled%20form/Question%201/Image%201063_REDACTED%20REDACTED.png","id":"REDACTED","type":null,"size":23428,"referenceId":"017PUAXZTYQWM3LRANDVBJYNMZFY4MMEVK","driveId":"REDACTED","status":1,"uploadSessionUrl":null},{"name":"Image 1062_REDACTED REDACTED.png","link":"https://REDACTED.sharepoint.com/personal/REDACTED/Documents/Apps/Microsoft%20Forms/Untitled%20form/Question%201/Image%201062_REDACTED%20REDACTED.png","id":"REDACTED","type":null,"size":2764,"referenceId":"017PUAXZTYQWM3LRANDVBJYNMZFY4MMEVK","driveId":"REDACTED","status":1,"uploadSessionUrl":null},{"name":"Image 1061_REDACTED REDACTED.png","link":"https://REDACTED.sharepoint.com/personal/REDACTED/Documents/Apps/Microsoft%20Forms/Untitled%20form/Question%201/Image%201061_REDACTED%20REDACTED.png","id":"REDACTED","type":null,"size":12787,"referenceId":"017PUAXZTYQWM3LRANDVBJYNMZFY4MMEVK","driveId":"REDACTED","status":1,"uploadSessionUrl":null},{"name":"Image 1060_REDACTED REDACTED.png","link":"https://REDACTED.sharepoint.com/personal/REDACTED/Documents/Apps/Microsoft%20Forms/Untitled%20form/Question%201/Image%201060_REDACTED%20REDACTED.png","id":"REDACTED","type":null,"size":2818,"referenceId":"017PUAXZTYQWM3LRANDVBJYNMZFY4MMEVK","driveId":"REDACTED","status":1,"uploadSessionUrl":null}]

 

 

 

 

I don't care about the name or anything else, all I really want is the data after "link": and if multiple files are uploaded, I'd like them separated by commas.

 

I've tried various split expressions that I have found online and whilst it works for one URL, if multiple files are uploaded... it doesn't add the rest of them. The example I found that works with one file is: 

 

 

 

split(split(outputs('Get_response_details')?['body/r93c4be2ac9864c9686d9dea21853c394'], '"link":"')[1], '","id":')[0]

 

 

 

I've tried adding other bits into the expression but it either errors due to it being malformed or it just doesn't work and I get a null error.

 

Any help would be appreciated! 

Thank you.

 

 

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

    Thanks, but I don't really want to go down the route of a 3rd party tool. This should be able to be done without that.

  • Chriddle Profile Picture
    8,515 Super User 2026 Season 1 on at

    The string that you have provided is JSON.

    If you put it as Input into a Select action (convert it to an array with function json()), you can map it to item()['link'] to get an array of links.

    Then just join() this array 

  • SJH88 Profile Picture
    4 on at

    Thanks Chriddle. Unfortunately my expertise in this area are pretty much non-existent. I can understand the JSON side of it, but writing something like this is not something I would be able to do.

     

    No worries though. I've removed the file upload function from my form right now

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 307 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 269 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 115 Super User 2026 Season 1

Last 30 days Overall leaderboard