Hi @Anonymous ,
I understand your issue, so you want your flow would update the item when an item is created or modified.
If you add an "Update item" action under the trigger, the flow would run into endless loop, the flow would run again since it don't know if the item is modified by manually in the sharepoint or by the flow.
This is known issue and there is an alternative solution for this issue currently, that is add a Condition under the trigger to check if the item is modified by manually or by the flow.
You could refer to steps below:
1.Add a Yes/No type column "UpdatedByFlow" in the sharepoint list, set the default value of the column to false. whenever you add an item to the list, set the column of this item to false, and whenever you update an item in the list, set the column of this item to false.
2. Create a flow with trigger "When an item is created or modified", add a Condition under the trigger to check if the "UpdatedByFlow" column value is equal to false, and if the column is equal to false, you could add the "Update item" action inside the If yes branch of the condition,set the "UpdatedByFlow" field to Yes, and leave the If no branch of the Condition blank.
3.So every time when you create an item in the list, the flow would run into the if yes branch of the condition and uodate the item.
When you update an item in the list, the flow would run to update the item and set the UpdatedByFlow column to Yes, and flow would be triggered again,but it would run into the If no branch and wouldn't update the item again.
Hope it could help you.
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.