cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
wolfy_
Frequent Visitor

file name specific - Copy new files from your PC to SharePoint

Hi,

 

I'm trying to creat a flow that looks like the flow template "Copy new files from your PC to SharePoint"

but I would like to specify the file name that it would trigger the copy.

 

For example, I have diferent files in the folder that are updated at diferent times of the day, onely when a specific file is updates it would copy onely that file to the share point.

 

Is thare a way to cook the flow like this?

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Hi @wolfy_,

 

You can easily do this by adding a condition for this. See the following screenshot for more info:

 CreateFiles.png

 

Steps:

  1. Add a condition below the get file content action
  2. Make sure you select "List of Files name" from the dynamic content panel
  3. Select contains from the dropdown
  4. Add the filename (or part of the filename) on the place of "Value" the screenshot 
  5. Move the create file action to the If yes path of the condition

This should work for you! Let me know if it works.

 

Cheers,

Daniel

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @wolfy_,

 

You can easily do this by adding a condition for this. See the following screenshot for more info:

 CreateFiles.png

 

Steps:

  1. Add a condition below the get file content action
  2. Make sure you select "List of Files name" from the dynamic content panel
  3. Select contains from the dropdown
  4. Add the filename (or part of the filename) on the place of "Value" the screenshot 
  5. Move the create file action to the If yes path of the condition

This should work for you! Let me know if it works.

 

Cheers,

Daniel

Hi,

 

I started today having problems whit my Data Gateway.

 

After I solve the Data Gateway problem I will trie this solution proposed by @Anonymous

Hi
It worked,
Thanks for the support.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,513)