Manipulate a json result from http request

Hello community of n8n again,

Im trying to filter a HTTP Request response and its not working…
Probably its pretty simple, but i just want find the ID from email value.

Im not a JS Dev. I’m probably not knowing how to use the n8n variables but i thought $input would work that way.

A quickly update, i tried in JSFiddle and this is the right code

but now im having issue with output of function…

Hi there,

Why don’t you simply use the IF node for this? :slight_smile:

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