JSON Object from Collection

I’m reading a list of emails from a Google Sheet and getting the Collections. I’d like to take all the e-mails I’m receiving to create a String in the following format:

"emails": ["[email protected]", "[email protected]", "[email protected]"],

For a JSON Object I need to create for an API. I can’t figure out how to do it. Any thoughts?

Welcome to the Make community!

You can use the JSON Transform to JSON module to convert a variable to an array.

samliewrequest private consultation

Join the unofficial Make Discord server to chat with us!

Got it to work, thanks!