Hi all,
Sorry for the slightly confusing subject line, found it difficult to make it clear! I am building a flow which calls an API and gets a JSON response with the information I need. This information is then stored in a Sharepoint list so that users can access it. Currently every time the flow runs I delete every item in the list and rebuild it but this means that the search functionality stops working for a while whilst I wait for it to be web crawled. Instead, I'd like it to run and go through the JSON and check the list to see if the item exists. If it doesn't, I want to add it to the list. If the item exists and the last modified value is the same, I'd like it to skip. If the last modified value is different I'd like to update the record.
I've spent some time getting very lost in logic trying to make this so any advice would be greatly appreciated!