Get file content Action in SharePoint Connector(Power Automate Cloud flows)
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.
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.
Triggers.
Actions.
- Get items
- Create file
- Update file
- Delete file
- Create folder
- List folder
- Move folder
- Copy folder
- List root folder
- Copy file
- Get file metadata
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.
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.
Discussion
New Comments
No comments yet. Be the first one!