Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Extracting parameters from URL


I have created a default request step to save a file to box. Everything is working as expected but I am unable to pass a  parameter for the file name. Can someone point me in the right direction? I have tried using triggerOutputs()['queries'] 

But I receive error: Expected 'key-body-output', 'key-headers-output', 'key-outputs-output', 'key-name-output', 'key-properties-output' or 'key-statuscode-output', actual 'key-queries-output'


Power Automate
Power Automate



Did you try "Path Parameters" in the dynamic schema from the "Request" trigger? 




Frequent Visitor


Thanks for your response. I did try adding relative path parameters and received this message:

InvalidTemplate: Unable to process template language expressions in action 'Compose' inputs at line '1' and column '1453': 'The template language expresion 'triggerOutputs()['relativePathParameters']' cannot be evaluated because the property 'relativePathParameters' doesnt exist, available properties are 'headers, body'.




Are you trying to get query parameters from the Request trigger url? Or is there a previous step from which you're expecting them?

Frequent Visitor

The request trigger URL. Thanks!

I am trying to do the exact same thing. Did you come to a resolution? I ended up getting stuck.

Frequent Visitor

Advocate III
Advocate III

Just as @phil4mat  has said, this should help: 


Here is the expression: @triggerOutputs()['queries']['queryParamName']


queryParamName is the name of the name-value pair of your query


Hope it helps.

get query parameters in power automate.PNG


This article could throw more light. LogicApp–HttpRequest trigger: retrieving query parameters 


Please mark as answer if this answers your question.

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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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!

Users online (2,409)