I have an array of emails: {"body":{"emails":["email@email.com","email2@email.com"]}} and I am trying to get the final result of
email@email.com,email2@email.com; .... Since I am trying to send an email to the emails in an array. To solve this I have 4 composes where I convert the array to string, then I substring the first 19 chars out of the string and then I substring the last 3 chars and finally use replace to remove quotes from the string for a final result of email@email.com,email2@email.com;
Is there a simpler/more efficient way of doing this?
Here's a screenshot of my flow:
