Tags not comma delimeted

I am receiving data via high level node and the tags column data is formatted as such.


Instead of tag1,tag2,tag3,tag4

Using SET or another node, how can I convert to comma delimited so I can update into Google Sheet?

Here is the expression that pulls one of the values. {{ $json[“tags”][1] }}
Is there an expression that will pull 0 through how ever many there are and put commas between them?

FYI, when using the High Level Get All node, the tags are delivered properly in comma deliminated foramt.


It is an array so you should be able to join the items:

{{ $json["tags"].join(',') }}

See JavaScript Array join() Method

Perfect. Thank you.