Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Answered

Create a file when another file has the same name

(0) ShareShare
ReportReport
Posted on 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?

  • Verified answer
    v-peijunz-msft Profile Picture
    Microsoft Employee on at
    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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics