API data mapping for smart table

hello, i’m running into an issue where i can’t map one value out of my json data in the smart table.

Any ideas where i’m going wrong? thanks!

JSON:
image

Metals column:
image

hi @Joey_Hillam!
As a quick idea try to use in “id” of the Metal column in SmartTable something like Metal.metals.gold.
But probably we will have to use map function.
You can use the map function right in Save Data to App State step.
Also, you can create an action step - Code step between the HTTP request step and Save Data to App State step and write the function there.

Here’s a possible mapping:
items.map(i => ({ ...i, Metal: i.Metal.metals.join(',')}))

I hope this helps