Thank you for the solutions.
I attempted to incorporate the length(outputs('Get_items')?['body/value']) into the process, but it seems to be causing entries to be duplicated.
Regarding the ID in the SharePoint list, is it necessary to create a new one, or can I use the default ID column?
Let me explain my scenario:
I have an Excel sheet with no unique columns, but I've added an ID column with values 1, 2, 3, and so on. The Excel sheet has 1268 rows. On the other hand, I have a SharePoint list with 1268 rows as well, and it also doesn't have any additional ID column. I'm referring to the default ID column of the SharePoint list.
Now, I want a flow where if any data in the Excel sheet is updated, it should update the corresponding entry in SharePoint. If there's a new entry in the Excel sheet, it should be added to SharePoint. Could you please help me with the steps I should take and suggest a flow based on this scenario or any other reference you think would be helpful?
I would greatly appreciate your time and assistance with this issue.