Allow ItemList to Extract a path from Object

The idea is:

Given a nested JavaScript object, the goal is to extract the object from a certain depth (path), without having to use the function node (a low-code way).

My use case:

For example, node Webhook always returns data like this:

If we only want to use the body, we have to use the node function (which is a problem for non-devs).

If using ItemList to extract the body, it actually throws an exception:

This simple pull-request allows the ItemList to extract data from the given path of both arrays and objects:

I think it would be beneficial to add this because:

Any resources to support this?

Are you willing to work on this?

+1 for my vote, but dont have any spare, but I logged a post about this literally 2 mins ago

You can do that with the set node.

Example workflow

Not sure if the split item operation it’s the place for that.

@sirdavidoff

ideally, the list node should automagically be able to handle this

this can be an awful lot of manual work that isn’t suitable for large data sets, maybe its ok for one or two results