cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Extracting from an object

So here is what I got. The power automate is set to every 1 day. It grabs the item from my list. I create an empty email object variable. Then in the apply to each. I dump the requester column from part of my table(which is an object value) to the email variable. Now my problem is extracting the email from the email  variable. 


I want to "Email" from Email.

neilawesome_9-1597004535291.png

 



neilawesome_1-1597002545854.png

 

neilawesome_2-1597002602595.png

neilawesome_4-1597002824764.png

 

neilawesome_6-1597002902081.png

neilawesome_8-1597003362218.png

 

In the last text I want to extract the Email from the email object and put it into the "to address"

 

1 ACCEPTED SOLUTION

Accepted Solutions
DeepakS
Resident Rockstar
Resident Rockstar

Hi @Anonymous 

 

I think you need to change the loop name to correct loop name as per your FLOW. based on your screen capture you should use :

items('Apply_to_each_4')?['Email']?['Email']

View solution in original post

8 REPLIES 8
DeepakS
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

 

Use Following expression to get the Email:

items('Apply_to_each')?['Email']?['Email']

 

Regards,
Deepak S 

Anonymous
Not applicable

neilawesome_0-1597009511521.png

Doesn't work

DeepakS
Resident Rockstar
Resident Rockstar

you should add this as an expression.

Anonymous
Not applicable

how do I do this

Anonymous
Not applicable

neilawesome_0-1597021394126.png

 

DeepakS
Resident Rockstar
Resident Rockstar

Hi @Anonymous 

 

I think you need to change the loop name to correct loop name as per your FLOW. based on your screen capture you should use :

items('Apply_to_each_4')?['Email']?['Email']
v-alzhan-msft
Community Support
Community Support

Hi @Anonymous ,

 

I think your flow needn't to be created so complex, the set variable action inside the Apply to each is meaningless, what's your requirement for the flow? what is the requirement for the Message variable? Why are you create the email variable instead of send the email directly from the email column?

Explain more details so we could better understand you and help you.

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

Anonymous
Not applicable

Thanks Deepaks that worked.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,578)