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

09/24/2023

Japanese version.

This action updates the contents of a file on Google Drive.

How to use

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

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

Set parameters.

ParameterDefaultDescription
FileRequired fieldSelect the file with the picker on the right directory icon.
It looks like a path, but it is only a display and the substance is an ID.
Therefore, even if you delete the specified folder and then create a new folder with the same name, it will be treated as a different folder. (Re-designation is required).
File contentRequired fieldSpecifies the content of the file to be created.Specify the file content, either in fixed text or in other dynamic content.
- Fixed text.
- File content of other dynamic content.

Even across services such as OneDrive and GoogleDrive, as long as the file format is downloadable, it can be used in common.

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