Looking for some help building a flow.
In power automate, when an item is created to a sharepoint list, i'm taking the attachments of that item and adding them into a different folder but using the 'Job Number' of the item as the file name.
However, I need to ensure that when someone creates an item with the same Job Number, it appends the file name rather than saving over the existing file.
For example, 12345678.jpeg is saved, then when it's attempted the second time the file would be 12345678(1).jpeg, and then third time it would be 12345678(2).jpeg and so on.
Is there a simple way someone could help assist me with building this.
Any help appreciated!