web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 8TRkq1nbP3287LKZRperXq
Power Automate - Using Connectors
Answered

Create a file when another file has the same name

Like (0) ShareShare
ReportReport
Posted on 1 Jun 2023 13:16:53 by 4

Hello,

 

I am having a problem with Power Automate.  I want to file all of our purchase orders on Sharepoint and everything connected to them. I have already taught it to read multiple types of documents and the content of each, then determine how to handle the document based on what it is looking at. It should then file the document in a folder, 1 folder for each purchase order and everything connected to it. Everything connected to the same purchase order goes in the same folder. 

 

The problem is that there may be multiple packing slips for the same purchase order, and currently the AI will assign each file the same name. I need it to add a 2 or 3 or really anything to the end of the file name so that each packing slip becomes a unique file. 

 

I tried putting it in a separate folder and then using a Move function since this seems to have a rename function built in, but it keeps giving me and error saying it cannot verify the source object. 

 

What can I do?

I have the same question (0)
  • Verified answer
    v-peijunz-msft Profile Picture
    Microsoft Employee on 02 Jun 2023 at 03:45:06
    Re: Create a file when another file has the same name

    Hi @meskerkj 

     

    To distinguish files with different names, you could add the exact time after the file name.

    For example:

    vpeijunzmsft_0-1685677488011.png

     

    Best regards,

    Sylvia

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 783 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 515 Moderator

#3
trice602 Profile Picture

trice602 299 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics