Properly Filter Json

Hey, I’m in dificult to properly filter the data;

I’m need to look to the an specific “id” and get the correspondent “name”.

In the flow I will retrive the “id” and need to fetch the “name” correspondent to continue the flow.

In the first HTTP GET I Recieve an “id”, in the second HTTP get I recieve the data with the “id” and “name” below

[
  [
    {
      "category": null,
      "created_at": "2022-02-11T13:27:26.393-03:00",
      "description": "Agile Foundations",
      "id": 54628,
      "image_url": "",
      "name": "Agile Foundations",
      "page_checkout_url": "",
      "position": 6,
      "updated_at": "2022-02-14T21:12:01.309-03:00"
    },
    {
      "category": null,
      "created_at": "2022-02-08T16:08:29.080-03:00",
      "description": "Curso de teste",
      "id": 54157,
      "image_url": null,
      "name": "Curso de TESTE",
      "page_checkout_url": "",
      "position": 5,
      "updated_at": "2022-02-08T16:08:29.103-03:00"
    },
    {
      "category": null,
      "created_at": "2022-02-07T15:57:20.894-03:00",
      "description": "",
      "id": 53993,
      "image_url": "",
      "name": "Team Building",
      "page_checkout_url": "",
      "position": 4,
      "updated_at": "2022-02-14T21:12:16.527-03:00"
    },
    {
      "category": null,
      "created_at": "2022-02-04T19:29:13.714-03:00",
      "description": "",
      "id": 53782,
      "image_url": "",
      "name": "Management 3.0 Fundamentals com Estruturas Libertadoras",
      "page_checkout_url": "",
      "position": 3,
      "updated_at": "2022-02-14T21:11:48.878-03:00"
    },
    {
      "category": null,
      "created_at": "2022-01-26T13:05:19.499-03:00",
      "description": "",
      "id": 52646,
      "image_url": "",
      "name": "Team Facilitator",
      "page_checkout_url": "",
      "position": 1,
      "updated_at": "2022-02-14T21:11:20.334-03:00"
    },
    {
      "category": null,
      "created_at": "2022-01-24T14:46:15.639-03:00",
      "description": "",
      "id": 52376,
      "image_url": "",
      "name": "Lean Foundations",
      "page_checkout_url": "",
      "position": 2,
      "updated_at": "2022-02-14T21:11:34.775-03:00"
    }
  ]
]

I have tried some diferent functions but the don’t work.

I apreciate with some one can help.

PS: An IF node can do it?

Welcome to the community @Savian

Yes, you can an IF node to filter the data. Check the example below:

1 Like

If the Value 2 Input is set by Expression, the filter don’t work.

Welcome to the community @ruel.lago

It works fine for me.

Hi @RicardoE105,

I opened a topic similar to this and it’s now solved :smiley:

Topic :point_down::point_down::point_down:
IF node is does not filter JSON if Value 2 input is an Expression

Maybe you can help me with this, please?
How to put this in HTTP Request?