Showing results for 
Search instead for 
Did you mean: 
New Member

Get values from URL parameters into a usable JSON Object

Hello - I am struggling in getting my head wrapped around how I can extract the parameters of a URL. String manipulation isn't my strong suit, but I may be overthinking it. 


I have a URL like so:




I used the URIQuery function to get the the URL's parameters. This is the output:







This is not in a usable format where I can plot into other actions.

I have tried using the split function as well into an array, but I also get the values with the key.








I am just needing the values of the parameters and map them to a JSON object. An example of what I need to accomplish would be this:








Can anyone help me with the extraction of the values from URL parameters?

Power Participant
Power Participant

If all the urls are the same as your example…

In a Compose Action

“text”: “replace(split(urlInput, ‘=‘)?[1], ‘&id’, ‘’)”,

”id”: “split(urlInput, ‘=‘)?[2]


Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (3,482)