Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

After parsing .JSON, create or update items in Sharepoint

Hi community, 


I am attempting to build a flow where I need to parse a .JSON and create or update those items in SP list.

I have the flow working, expect for the final step I get lost.. I need to add a control where it checks if those items already exist (WorkInstructionNumber) in Sharepoint, if yes, they need to be updated. I either end up in a loop or ALL my items in my SP list get updated..

Any ideas someone? 






[{"CustomerName":"Client A",

{"CustomerName":"Client B",







My current flow:


Community Support
Community Support

Hi @MashaOvchar ,


Technically, you need a Condition control after a List items of the list as well as the Filter array operator, you also need an Integer variable to countrows outputs of Filter array, in the Condition control, if the variable equals to 0, create item, else update item (item ID could be found in the Filter array outputs).


Best regards,

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

Hi @v-jefferni ,


Thanks for the quick reply, but you lost me at the first sentence. 😅

Hi @v-jefferni ,

Almost there, but not quite yet..  It seems when the item gets updated, each ID gets updated with details from each costumers.. So I end up for each ID with same customer details of the last customer in the .JSON..

Any ideas how to work around this? Much appreciated.







Helpful resources

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,352)