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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to create/copy a f...
Power Automate
Answered

How to create/copy a file to a dynamic destination

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

What I want: 

  1. Folder is created in SharePoint
  2. If the folder meets a certain condition, then place a file into that folder

The trigger (#1) is fine, as is the condition. No problems there. 

But when it comes to getting the file into the folder, I'm running into problems.

I don't care if it creates a file or copies it from an existing destination, either solution would work for me (and I think the copy would be easier). 

But I run into issues at the DESTINATION FOLDER - it seems to only  allow me to list a static folder, but what I want is for it to place this document in the folder (or even a subfolder) that was created in #1. 

I'm not sure how to get around this, but feel like it should be possible.

trouble copying.png

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :

    Do you want to copy the files to the folder you just created.

    I've made a test and it worked well on my side.I suggest that using 'Full Path' instead of 'Folder path'.

    vbofengmsft_0-1639967004473.png

    Best Regards,

    Bof

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    It worked!! Thank you so much!!!!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Could you please help me how you created full path?

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 427

#2
Vish WR Profile Picture

Vish WR 316

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard