cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cancel01
Frequent Visitor

Get and rename every single item from output with nested body.

Hi everyone,

 

I am trying to collect and save data as quick and efficiently as possible.

 

What I have: I have a working flow that becomes too slow once it has to update/delete/add many rows in my excel tables.

 

What I am trying to do: I am trying to replace some steps with MSGraph in order to collect/compare data with my excel file and, depending on the result, update/delete/add rows in excel.

 

Issue: I have nested "body" in my output and still can't find a way to get every single item from "value" in order to rename them accordingly and compare them with the data I have in excel.

cancel01_0-1633598255559.png

 

For now, I was only able to further filter out my output as follow (I used an expression with the "compose" connector):

cancel01_1-1633599986933.png

But still I am not managing to get every single item neither with further "compose" nor with "parse json" or "filter array".

 

Any idea how I can get all the information correctly named and listed?

 

Thank you in advance,

 

Kind regards

1 ACCEPTED SOLUTION

Accepted Solutions
cancel01
Frequent Visitor

I found a solution to my problem:

 

cancel01_0-1634196837738.png

 

After filtering out the values I need with Graph and with a compose node, I select the output of my compose node and for each item I just give the new names I need on the left side and on the right side, if needed, I select an item from that output with item()['realNameoftheItemfromtheOutput'].

 

cancel01_1-1634197067464.png

 

View solution in original post

1 REPLY 1
cancel01
Frequent Visitor

I found a solution to my problem:

 

cancel01_0-1634196837738.png

 

After filtering out the values I need with Graph and with a compose node, I select the output of my compose node and for each item I just give the new names I need on the left side and on the right side, if needed, I select an item from that output with item()['realNameoftheItemfromtheOutput'].

 

cancel01_1-1634197067464.png

 

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.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,291)