Hello,
I’m building an n8n flow that is pulling data from http node using Get request but the problem is, it is getting all the users on the request would you please help me how I can only get the top user(id=1288261) data from the request and it should always pull the most recent user data whenever a new user data come on API’s.
Here is the data structure which I’m getting on the Get request API call.
Thanks.
[
[
{
"id": 1288261,
"customer_id": 1223353,
"student_type": "New",
"first_name": "User 1",
"last_name": "Test",
"email": "my@example.com",
"additional_email": null,
"home_phone": "",
"mobile_phone": "",
"birth_date": null,
"start_date": null,
"school": "",
"grade": "",
"additional_notes": "",
"calendar_color": "#F23B5F",
"default_location_id": null,
"subjects": null,
"status": "Active",
"time_zone": null,
"billing_method": "New List",
"student_cost": null,
"cost_premium_id": 0,
"discount_rate": null,
"email_lesson_reminders": 0,
"email_lesson_notes": 0,
"sms_lesson_reminders": 0,
"user_account": 1,
"unviewed": false,
"welcome_sent_at": null,
"created_at": "2021-10-29T23:04:30.000Z",
"updated_at": "2021-10-29T23:04:30.000Z",
"custom_fields": [],
"default_teachers": [],
"default_services": []
},
{
"id": 1287440,
"customer_id": 1223353,
"student_type": "New",
"first_name": "First Name",
"last_name": "Last Name",
"email": "",
"additional_email": null,
"home_phone": "",
"mobile_phone": "",
"birth_date": null,
"start_date": null,
"school": "",
"grade": "12",
"additional_notes": "",
"calendar_color": "#1D3A80",
"default_location_id": null,
"subjects": null,
"status": "Active",
"time_zone": null,
"billing_method": "My New Services",
"student_cost": null,
"cost_premium_id": 0,
"discount_rate": null,
"email_lesson_reminders": 0,
"email_lesson_notes": 0,
"sms_lesson_reminders": 0,
"user_account": 0,
"unviewed": false,
"welcome_sent_at": null,
"created_at": "2021-10-27T22:35:48.000Z",
"updated_at": "2021-10-27T22:35:48.000Z",
"custom_fields": [],
"default_teachers": [],
"default_services": []
},
{
"id": 1286894,
"customer_id": 1222844,
"student_type": "My type",
"first_name": "User 3",
"last_name": "Lname user 3",
"email": "my@email.com",
"additional_email": "",
"home_phone": "",
"mobile_phone": "",
"birth_date": null,
"start_date": null,
"school": "",
"grade": "",
"additional_notes": "",
"calendar_color": "#1AB1CD",
"default_location_id": null,
"subjects": null,
"status": "Active",
"time_zone": null,
"billing_method": "New Service",
"student_cost": null,
"cost_premium_id": 0,
"discount_rate": null,
"email_lesson_reminders": 0,
"email_lesson_notes": 0,
"sms_lesson_reminders": 0,
"user_account": null,
"unviewed": false,
"welcome_sent_at": null,
"created_at": "2021-10-26T21:58:30.000Z",
"updated_at": "2021-10-26T21:58:30.000Z",
"custom_fields": [],
"default_teachers": [],
"default_services": []
}
]
]

