# Working with JSON array

**URL:** <https://community.n8n.io/t/working-with-json-array/44476>\
**Category:** Questions\
**Tags:** core, http-request\
**Created:** [April 17, 2024, 9:46am UTC](https://community.n8n.io/t/working-with-json-array/44476 "2024-04-17T09:46:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![No\_Name](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/no_name/32/15537_2.png) [@No\_Name](https://community.n8n.io/u/No_Name)\
**Post date:** [April 17, 2024, 9:46am UTC](https://community.n8n.io/t/working-with-json-array/44476/1 "2024-04-17T09:46:30Z")

</div>

Hello,  
My question has a simple answer but I could not find it after searching for hours.  
I am using HTTP node with GET and it parses a JSON

JSON structure as is follows:

```auto
[
  {
	"data": {
	  "results": [
		{
		  "id": 3700,
		  "created_at": "2024-04-04T09:36:57.228715-04:00",
		  "updated_at": "2024-04-04T09:36:57.228715-04:00",
		  "uuid": "someID,
		  "email": "email@email.com",
		  "name": "some name",
		  "attribs": {},
		  "status": "enabled",
		  "lists": [
			{
			  "subscription_status": "confirmed",
			  "subscription_created_at": "2024-04-04T09:36:57.228715-04:00",
			  "subscription_updated_at": "2024-04-04T09:36:57.228715-04:00",
			  "subscription_meta": {},
			  "id": 8,
			  "uuid": "SomeID",
			  "name": "somename",
			  "type": "private",
			  "optin": "single",
			  "tags": [
				"sometag"
			  ],
			  "description": "",
			  "created_at": "2024-04-04T09:02:41.780219-04:00",
			  "updated_at": "2024-04-04T09:36:57.341805-04:00"
			}
		  ]
		},
		{
		  "id": 3699,
		  "created_at": "2024-04-04T09:36:57.228715-04:00",
		  "updated_at": "2024-04-04T09:36:57.228715-04:00",
		  "uuid": "f991eeda-4bfe-4528-912f-2a8b606fd4ee",
		  "email": "some@email.com",
		  "name": "some name",
		  "attribs": {},
		  "status": "enabled",
		  "lists": [
			{
			  "subscription_status": "confirmed",
			  "subscription_created_at": "2024-04-04T09:36:57.228715-04:00",
			  "subscription_updated_at": "2024-04-04T09:36:57.228715-04:00",
			  "subscription_meta": {},
			  "id": 8,
			  "uuid": "someID",
			  "name": "somename",
			  "type": "private",
			  "optin": "single",
			  "tags": [
				"sometag"
			  ],
			  "description": "",
			  "created_at": "2024-04-04T09:02:41.780219-04:00",
			  "updated_at": "2024-04-04T09:36:57.341805-04:00"
			}
		  ]
		},

```

You can see the scheme below:

 ![Ekran Resmi 2024-04-17 12.40.24](https://europe1.discourse-cdn.com/n8n/original/3X/7/7/77889d22153604f50936ac299cb3c2c5fea52a47.png)

I want to filter this results by using one key within results items by using filter node but filter node works only for 1 item. How can I make it work for each item instead of one.

What I am doing now is:

 ![Ekran Resmi 2024-04-17 12.44.05](https://europe1.discourse-cdn.com/n8n/original/3X/0/0/0059a790d5d2f99db44313441616af0fad38cabc.png)  
As you see it works for only one result. I have tried to write and expression but also did not work.

My aim to get some specified email address and and after that change other key value within the result.

Thank you

- **n8n version:** 1.36.2
- **Database (default: SQLite):** -
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):** Default
- **Running n8n via (Docker, npm, n8n cloud, desktop app):** Docker

---

<div class="post-metadata">

**Author:** ![n8n](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/n8n/32/196425_2.png) [@n8n](https://community.n8n.io/u/n8n)\
**Post date:** [April 17, 2024, 9:46am UTC](https://community.n8n.io/t/working-with-json-array/44476/2 "2024-04-17T09:46:31Z")

</div>

It looks like your topic is missing some important information. Could you provide the following if applicable.

- **n8n version:**
- **Database (default: SQLite):**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**
- **Operating system:**

---

<div class="post-metadata">

**Author:** ![No\_Name](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/no_name/32/15537_2.png) [@No\_Name](https://community.n8n.io/u/No_Name)\
**Post date:** [April 17, 2024, 10:04am UTC](https://community.n8n.io/t/working-with-json-array/44476/3 "2024-04-17T10:04:58Z")

</div>

Just added

---

<div class="post-metadata">

**Author:** ![barn4k](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/barn4k/32/8170_2.png) [@barn4k](https://community.n8n.io/u/barn4k)\
**Post date:** [April 17, 2024, 7:31pm UTC](https://community.n8n.io/t/working-with-json-array/44476/4 "2024-04-17T19:31:16Z")

</div>

Hello @No_Name  
Use tge split out node before filter node and set it to use data.results field

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [July 16, 2024, 7:32pm UTC](https://community.n8n.io/t/working-with-json-array/44476/5 "2024-07-16T19:32:14Z")

</div>

Closed on July 16, 2024, 7:32pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
