The loop describes your action flow, not code to paste into a JavaScript node. Replace the sample literals with your query fields. Reset optional fields on every iteration so values do not carry over from the previous row.
[
{
"Key": "software",
"ParentKey": "",
"Label": "Software",
"Value": 0,
"Color": {
"Mode": "Automatic",
"ThemeColor": "Primary",
"Hex": ""
},
"IsMissing": true
},
{
"Key": "services",
"ParentKey": "",
"Label": "Services",
"Value": 0,
"Color": {
"Mode": "Automatic",
"ThemeColor": "Primary",
"Hex": ""
},
"IsMissing": true
},
{
"Key": "cloud",
"ParentKey": "software",
"Label": "Cloud",
"Value": 420,
"Color": {
"Mode": "Automatic",
"ThemeColor": "Primary",
"Hex": ""
},
"IsMissing": false
},
{
"Key": "desktop",
"ParentKey": "software",
"Label": "Desktop",
"Value": 180,
"Color": {
"Mode": "Automatic",
"ThemeColor": "Primary",
"Hex": ""
},
"IsMissing": false
},
{
"Key": "mobile",
"ParentKey": "software",
"Label": "Mobile",
"Value": 130,
"Color": {
"Mode": "Automatic",
"ThemeColor": "Primary",
"Hex": ""
},
"IsMissing": false
},
{
"Key": "consulting",
"ParentKey": "services",
"Label": "Consulting",
"Value": 260,
"Color": {
"Mode": "Automatic",
"ThemeColor": "Primary",
"Hex": ""
},
"IsMissing": false
},
{
"Key": "support",
"ParentKey": "services",
"Label": "Support",
"Value": 190,
"Color": {
"Mode": "Automatic",
"ThemeColor": "Primary",
"Hex": ""
},
"IsMissing": false
},
{
"Key": "training",
"ParentKey": "services",
"Label": "Training",
"Value": 80,
"Color": {
"Mode": "Automatic",
"ThemeColor": "Primary",
"Hex": ""
},
"IsMissing": false
}
]