Get file content Action in SharePoint Connector(Power Automate Cloud flows)


Japanese version.

This action specifies the ID of a file on SharePoint and retrieves its contents.

How to use

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

Select "Get file content" from the "Actions" menu.

Set parameters.


Site Address

Specify the SharePoint group where the file whose content is to be retrieved is stored.

File Identifier

Specify the file on SharePoint from which to retrieve content.

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.



Dynamic contents

The content of a specified file is used as dynamic content "file content" for e-mail attachments and file creation.

File names cannot be retrieved with this action.

If necessary, use "Get file metadata" or "Get file metadata using path".

Differences from "Get file content using path".

How to specify file.

"Get file content" specifies file by ID.

"Get file content using path" specifies file by File Path.

Usage Situation.

"Get file content" is suitable for specifying files with ID obtained by other actions.

"Get file content using path" is suitable for fixing file paths.



SharePoint Connector(Power Automate Cloud flows)