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?