Hello everyone,
I am encountering some issues while attempting to remove the square brackets [ ] from an ARRAY. Here is an example of the scenario:
Let's call this array "ContextArray".
I am using CHAT-GPT to generate answers based on previous interactions, and the "ContextArray" is placed within an HTTP request. This HTTP request is within a "Do While Loop" because the "ContextArray" will be fed with new responses from chat GPT, and the array will increase from (see image 1) to (see image 2) to (see image 3). However, the HTTP request will only receive the array without the [ ] brackets; otherwise, it will give me an error in the request.
I cannot use the array index since I need to display all the objects at once.
Is there a way to display all the items within the array? For example, instead of "variables('Array')[0]" or "variables('Array')[1]", something like "variables('Array')[ALL]".
I have already attempted to convert the array to a string, but it did not work.
Any ideas regarding this matter would be much appreciated. Thank you.
Image_1

Image_2

Image_3
