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

Screenshot - 2026-05-22T140836.943
https://manueltgomes.com/area/microsoft/powerautomate?query=test
uriQuery('<URI>')
Screenshot 2026-05-22 141000Screenshot - 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.