Copy file Action in SharePoint Connector(Power Automate Cloud flows)

Japanese version.

This action duplicates a file stored in SharePoint.

You can copy files in the same group or between different groups.

How to use

Select the "SharePoint" connector when adding steps to the flow.

Select "Copy file" from the "Actions" menu.

Set parameters.

Parameters.

Current Site Address

Specify the SharePoint group from which to copy.

File to Copy

Specify the ID of the copy source file stored in SharePoint.

Select a file with the directory icon on the right.

When selected, it looks like a file path, but it is only a display and the substance is an ID.

If you delete the specified file and then create a file with the same name, it will be treated as a different file.
In such a case, an error will occur that the file does not exist, so it must be re-specified in the flow.

Dynamic content.

Set the ID of the following triggers/actions dynamic content.

Those that retrieve file contents at the same time are excluded.

Triggers.

Actions.

Destination Site Address

Specify the SharePoint group to copy destination.

Destination Folder

Specify the ID of the copy source file stored in SharePoint.

Select a file with the directory icon on the right.

When selected, it looks like a folder path, but it is only a display and the substance is an ID.

If you delete the specified file and then create a folder with the same name, it will be treated as a different file.
In such a case, an error will occur that the file does not exist, so it must be re-specified in the flow.

Dynamic content.

Set the ID of the following triggers/actions dynamic content.

Those that retrieve file contents at the same time are excluded.

Triggers.

Actions.

If another folder is already there

Select the behavior when a file with the same name exists at the destination.

  • Move with a new name:Name the new file and move it.
  • Fail this action:Does not move and terminates the flow with an error.
  • Replace:Overwrite with file to be moved.

Dynamic contents

Typical items used in subsequent steps are as follows

Metadata for the destination file is available.

Id

File identifier.

Used to specify when a SharePoint operation action is used.

Name

File/Folder name without extension.

Filename with extension

File/Folder name with extension.

Folder path

Path of the folder to which it belongs.

Full path

"Folder path" + "Filename with extension".

IsFolder

  • True … Folder
  • False … File

Created

Registration date/time of the file/folder.

Coordinated Universal Time.

In many cases, a "Convert time zone" is required.

Created By Email

Email address of the file/folder creator.

Created By DisplayName

Display name of the file/folder creator.

Modified

Modification date/time of the file/folder.

Coordinated Universal Time.

In many cases, a "Convert time zone" is required.

Modified By Email

Email address of the file/folder modifier.

Modified By DisplayName

Display name of the file/folder modifier.

Thumbnail Small

URL of thumbnail (small size).

Thumbnail Medium

URL of thumbnail (medium size).

Thumbnail Large

URL of thumbnail (large size).

Link to item

URL of the file/folder.

For those who want to learn Power Automate Cloud flow effectively

The information on this site is now available in an easy-to-read e-book format.

Or Kindle Unlimited (unlimited reading).

You willl discover how to about basic operations.

By the end of this book, you will be equipped with the knowledge you need to use Power Automate Cloud flow to streamline your workflow.

Links

SharePoint Connector(Power Automate Cloud flows)