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?
.JSON:
[{"WorkInstructionNumber":"1620348",
"WorkInstructionSubfileNumber":1,
"ETA":"2022-03-30T00:00:00",
"Description":"XXX",
"LocationDescription":"YYY",
"RegioCode":"ZZZ",
"Customers":
[{"CustomerName":"Client A",
"CustomerReference":"123456789",
"Required":"Y",
"UpdatesTo":"XXX",
"CustomerLetter":"A"},
{"CustomerName":"Client B",
"CustomerReference":"987654321",
"Required":"N",
"UpdatesTo":"",
"CustomerLetter":"B"}]}]
Visual

My current flow:
