web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / create an object from ...
Power Automate
Answered

create an object from an array

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have an array type variable that is composed as follows

[
{
"Email": "Example1@mail.com"
},
{
"Email": "Example2@mail.com"
}
]

I want to turn this into an object to receive emails as follows

 

in a composition:

variables ('Array')? [Email]

 

and be able to receive emails

Example1@mail.com
Example2@mail.com

Categories:
I have the same question (0)
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Can you share more details? 

     

    The composition that you have shared is already an array of objects and each individual item of the array (email) can either be accessed by indexes or you can use an apply to each loop and then compose individual items by accessing the current item. 

     

    If you can share more details on the scenario you are trying to build, we might be able to assist you better with this one. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 293

#2
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 223 Most Valuable Professional

Last 30 days Overall leaderboard