Turn an array into an HTML unordered list <ul>

Hey @pepeday, welcome to the community :tada:

I’ve done something similar in the past, have a look at the example workflow shared here:

If you take a look at the last node Build Email, you can see how I am looping through the items array to build an HTML document consisting of a few div containers (which you can simply replace with list items as needed). To loop only through the values field of a single item, you could replace for (item of items) with something like for (value of items[0].json.values).

Hope this helps! Let me know if you run into any trouble with this :slight_smile:

1 Like