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

Notifications

Announcements

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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 331 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

Last 30 days Overall leaderboard