Skip to main content
Nintex Community Menu Bar

With the sample below, I'm getting a large JSON response. I need to extract just the names as an array so I can compare them with another string.

In short, from the API response that lists workflows, I need to extract only the workflow names to compare them with another workflow name.

 

Adding additional information- 

 

I am using Query JSON and specially looking for JSONPath expression which return all workflow names . I am able to get one only - $.workflows[0].name

{

"workflows": [

    {

        "id": "ddddd-24c8-4ee4-af8f-gfhg",

        "lastModified": "2025-10-27T20:39:57.054Z",

        "name": "SSS Nintex WF",

        "hasIDC": true

    },

    {

        "id": "jknfy-24c8-4ee4-af8f-ghfhf",

        "lastModified": "2025-10-27T20:39:57.054Z",

        "name": "yyyy Nintex WF1",

        "hasIDC": true

    },

    {

        "id": "hkhg-24c8-4ee4-af8f-hgh",

        "lastModified": "2025-10-27T20:39:57.054Z",

        "name": "kkkk Nintex WF2",

        "hasIDC": true

    }

 

]

}

Adding additional information- 

 

I am using Query JSON and specially looking for JSONPath expression which return all workflow names . I am able to get one only - $.workflows[0].name


Hi ​@doorga,

Welcome to the community.
Configure your Query JSON action as pictured, and this will create a collection of workflow names that you can then loop through and compare to your string.
JSON expression used is $..name
 

 


I continued my research and discovered that the following formula works.