This action specifies the ID of a file on SharePoint and retrieves its contents.
- 1. How to use
- 2. Links
How to use
Select the "SharePoint" connector when adding steps to the flow.
Select "Get file content" from the "Actions" menu.
Specify the SharePoint group where the file whose content is to be retrieved is stored.
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.
Set the ID of the following triggers/actions dynamic content.
Those that retrieve file contents at the same time are excluded.
- Get items
- Create file
- Update file
- Delete file
- Create folder
- List folder
- Move folder
- Copy folder
- List root folder
- Copy file
- Get file metadata
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.
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.
"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.