Hi!
You can find the flow diagram below.
You can check the original file name for existing.
If it doesn't exist ([File Name]&"."&[File Extension]) - we can save it.
If it exists - we check [File Name]&[Counter]&"."&[File Extension] and increment counter several times,
until we find new file name (which doesn's exist) or our Counter becomes bigger than Max Counter.
View attachment 2809