web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Answered

Json Parse Schema

(0) ShareShare
ReportReport
Posted on by 5

I am trying to parse data from my API into Flow, however i cannot figure out how to parse a list of objects. I want the end result be that for each item in the list, i can send an email about it.

 

Data given by API:

 

{
 "item1" : {
 "category" : "1",
 "name" : "my name",
 "data" : "my data"
 },
 "item2" : {
 "category" : "2",
 "name" : "my name",
 "data" : "my data"
 }.........
}

 

payload given by JSON parser:

 

{
 "type": "object",
 "properties": {
 "item1": {
 "type": "object",
 "properties": {
 "category": {
 "type": "string"
 },
 "name": {
 "type": "string"
 },
 "data": {
 "type": "string"
 }
 }
 },
 "item2": {
 "type": "object",
 "properties": {
 "category": {
 "type": "string"
 },
 "name": {
 "type": "string"
 },
 "data": {
 "type": "string"
 }
 }
 }
 }
}

how to i set the parser to understand there may be diffrent items in the list?

 

Categories:
I have the same question (0)
  • gamoraes Profile Picture
    1,040 on at

    Hi @jhenry

     

    What you need to do after parse? i really recommend you to use the expression json() to parse your text in this case.

     

    If you can explain a little more for us your case will be great.

     

    Hope have helped,

     

    Gustavo Moraes

  • jhenry Profile Picture
    5 on at

    hi @gamoraes,

     

    For each Item (item1,item2,item3.....) i want to get its name and email it someone. I will use the json() to parse the body to json, but i still need to parse the data correctly since it is not a finite amount of information.

  • Verified answer
    v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @jhenry,

     

    Take a look at the parse JSON Action:

    Parse JSON messages

    Then you should be able to manage the items returned by the Parse JSON Action.

     

    Regards,

    Michael

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard