When a user uploads a filename that already exists, a prompt is thrown; that's good but it doesn't protect against a user who just clicks OK and doesn't think about the outcome. When multiple users attempt an upload of a file named scan.png (for example), there is limited handling of this event.
I am using the Inline editing mode for all of my controls as I don't want users to interact with the backend Document Library and I want users to stay anchored in a single form.
I am using this Power Automate Flow to rename the file based on certain conditions and values but that takes a few seconds to a few minutes to process and in that time another user may upload another file named scan.png. User education aside (we do that too), what have other users done out there to rename a file on upload when using Inline edit mode?