Copy file in Google Drive Connector(Power Automate Cloud flows)

09/24/2023

Japanese version.

This action saves a file specified by URL to Google Drive.

How to use

Select the "Google Drive" connector when adding steps to the flow.

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

Set parameters.

ParameterDescription
Source urlSpecify the file to be saved by URL.
You can also use non-GoogleDrive files as long as they are publicly available images.
Destination file pathSpecify the save location by path (including file name). There is no picker, so only keystrokes are used.
For example, to save "image.png" under the "Work" folder under "My Drive", "/Work/image.png".
Overwrite?Specify the action to be taken when a file already exists in "Destination file path".
Yes: Overwrites the target file.
No: Aborts with an error.

Dynamic content

Typical items used in subsequent steps are as follows.

Additional information about the file can be obtained.

NameTypeDescription
IdTextIdentifier of the file/folder.
NameTextFile and folder names.
PathTextFull path.
It is difficult to use as is, so string manipulation is often required.
MediaTypeTextMINE type of file.
LastModifiedByTextUser name of the last updater.
LastModifiedText(Datetime)Last updated.
SizeNumberThe number of bytes in the file.

Only additional information can be obtained.

If you need the file content, which is the content of the file, use the "Get file content using Id" action or "Get file content using path" action to get it.

---

Links

Google Drive Connector