Get file content using id in Google Drive Connector(Power Automate Cloud flows)

09/21/2023

Japanese version.

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

The files targeted by this action are Not Google Drive specific files such as Google Docs,

but general text files, image files, Office files, etc, It is limited to files that can be downloaded as they are.

How to use

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

Select "Get file metadata using id" from the "Actions" menu.

Set parameters.

ParameterDefaultDescription
File idRequired fieldClick on the directory icon on the right to select a file.
It looks like a file path, but it is only a display and the content 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. If you delete the specified file, you will need to reassign it.

In subsequent steps, the contents of the specified file are used as dynamic content "file content" for

The file content is used to create or update files.

Since the file name cannot be obtained as dynamic content, it must be specified as a fixed file name or it is necessary to get the metadata separately.

This file content can also be stored in OneDrive or SharePoint.

Similar to "Get file content using path", but differs in the following ways

DifferenceIDPath
How to specify a target file.ID of the file.ID of the path.
Appropriate occasions.When specifying a target file with dynamic content obtained by other actions.If a file may be deleted.
If you want to specify the path as text.

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

Google Drive Connector