Create file Action in SharePoint Connector(Power Automate Cloud flows)

11/30/2023

Japanese version.

This action creates a file in SharePoint.

File creation in this action is subject to detection by the "When a file is created (properties only)" trigger and the "When a file is created or modified (properties only)" trigger.

How to use

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

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

Set parameters.

Parameters.

Site Address

Select the SharePoint group in which the folder for which you want to create a file resides.

Folder Path

Specifies the folder where the file will be created.

Because it is a path, not an ID, the specified folder can be deleted and then a folder with the same name can be created and used as is.

File Name

Specify the name of the file to be created.

File Content

Specify the contents of the file to be created.

The contents of the file can be specified as follows.

  • Fixed text.
  • Dynamic content of other actions and triggers.

For fixed text, specify without quotation marks.

In the example below, a text file with ABCD will be created.

Dynamic contents

Typical items used in subsequent steps are as follows.

Retrieve information on the target file.

Id

File identifier.

Used to specify when a SharePoint operation action is used.

Name

File/Folder name without extension.

Filename with extension

File/Folder name with extension.

Folder path

Path of the folder to which it belongs.

Full path

"Folder path" + "Filename with extension".

IsFolder

  • True … Folder
  • False … File

Created

Registration date/time of the file/folder.

Coordinated Universal Time.

In many cases, a "Convert time zone" is required.

Created By Email

Email address of the file/folder creator.

Created By DisplayName

Display name of the file/folder creator.

Modified

Modification date/time of the file/folder.

Coordinated Universal Time.

In many cases, a "Convert time zone" is required.

Modified By Email

Email address of the file/folder modifier.

Modified By DisplayName

Display name of the file/folder modifier.

Thumbnail Small

URL of thumbnail (small size).

Thumbnail Medium

URL of thumbnail (medium size).

Thumbnail Large

URL of thumbnail (large size).

Link to item

URL of the file/folder.

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

SharePoint Connector(Power Automate Cloud flows)