Extracting Keys from a JSON in Power Automate
Shaheer Ahmad
Microsoft MVP | Solution Architect | Techno-Functional Consultant | Gold MLSA | Power Platform & Dynamics 365 Enthusiast
Introduction
Power Automate is a powerful tool that allows you to automate workflows and processes. In this blog, we'll explore a specific flow designed to extract keys from a JSON and return an array of those keys. Let's dive into the details of each step and understand how this flow works.
Flow Overview
The flow, named "Extract Keys from a JSON," is triggered manually using a button. When the flow is triggered, it takes a JSON input and extracts its keys into an array. The array is then returned as a response.
Step 1: Trigger
The flow starts with a manual trigger. A button is created to initiate the flow manually. This trigger is set up to accept a JSON input.
Computational Designer
2 个月Thanks for Sharing but there is a missing step to initialise a array variable. And Compose 5 is referencing Compose_6 which doesn't exist. Also, the image of the flow doesn't match the steps. Sorry but this really doesn't work. This one seems to work https://medium.com/@raphaelzaneti/extracting-json-object-keys-in-power-automate-cf0738e8991c
?? IT Consultant & Developer | ?? Smart Productivity & Analytics | ?? Driving Innovation with Power Platform | ?? M.Sc. Computer Science | ?? Scuba Diver
9 个月Nice thanks, does this also works for nested values in the json?
Microsoft Power Platform Dev
1 年Very Informative Sharing Shaheer Ahmad Bhai ??
Microsoft Power Platform & Dynamics 365 CE Enthusiast | MLSA - BETA
1 年Thanks for sharing such amazing content.