So all you need do is build a list of texts (or anything that can resolve to a list of texts, like Some_things's Name
where a Some_things
is a list of things and Name
is a text field on that).
You’ll note that, when you convert a list of texts to its text representation (like print it out in a text element), it looks like this:
text1, text2, text3, text4, etc
by default.
So such a list is almost ready for insertion into a JSON structure “”, except that we need to delimit each text element. Instead of just a comma – ,
– we need ", "
so that we would get (inside the JSON:
"text1", "text2", "text3", "text4
"
(The bold " come from “”, and so we need the ", " part from somewhere else…)
Luckily, the :joined with operator for texts lets us do this:
Some_thing's Name:joined with ", "
Will return to us:
text1", “text2”, “text3”, "text4
And as you can see, this is ready for insertion in the part of your JSON body API Connector setup.