How to access multiple nested objects when the nested object name is variable

Hi @JasonA, so you essentially want to access each element under sellers in your workflow as an individual item?

If so, I think this would do the job:

In this code snippet, I am using Object.keys() to read all keys of the sellers field, then add a single n8n item for each of them to my results.

Hope this helps!

1 Like