Whenever you are working with HTTP triggers, APIs, or webhook URLs in Power Automate, query parameters are commonly used to pass data. The uriQuery() function helps extract the query string portion from a URL quickly and efficiently.
What is uriQuery()?
Basic Example in Flow
Go to make.powerautomate.com
Select any flow type based on your requirements.
I have placed compose for demo.
![Screenshot - 2026-05-22T140836.943]()
https://manueltgomes.com/area/microsoft/powerautomate?query=test
uriQuery('<URI>')
![Screenshot 2026-05-22 141000]()
![Screenshot - 2026-05-22T141152.912]()
Conclusion
Here, we learned how the uriQuery() function can be used to extract query parameters from a URI in Microsoft Power Automate, making it easier to handle URL-based data in flows.