
Announcements
I have this JSON Schema:
Hi @jhritz89,
Parse JSON Data:
In your Power Automate flow, use the “Parse JSON” action to convert the JSON data into a usable format.
Provide the JSON schema you’ve shared as the input to this action.
Extract Names and Companies:
Once you’ve parsed the JSON, you’ll have an array of objects.
Create a loop (such as an “Apply to Each” action) to iterate through each object in the array.
Within the loop, extract the “name” and “company” values from each object.
Group Data by Company:
Create a table (or collection) to store the grouped data.
For each object, check if the company already exists in the table.
If it does, add the name to the existing company’s row.
If not, create a new row for that company and add the name.
Sort Data:
Sort the table by company (first column) and then by names (subsequent columns).
Here’s a simplified example of how you might structure your table:
| Company/Name | Name 1 | Name 2 | Name 3 |
|---|---|---|---|
| ABC Corp | John | Mary | |
| XYZ Inc | Alice | Bob | Carol |
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.