Files or Folder Updated
Triggers a flow when a file or folder is updated in OneDrive.
Options
Field | Definition | Type | Required |
---|---|---|---|
Parent Folder ID |
Unique ID of parent folder. To obtain this identifier, you can use the Search Files or Folders card or see ID-based addressing. |
Text |
TRUE |
Output
Field | Definition | Type |
---|---|---|
Files or Folders |
||
File and Folder ID | Unique ID of the file or folder. |
Text |
Name | Name of the file. |
Text |
Type | Type of the drive item. Possible values are: File or Folder. |
Text |
Parent Reference |
||
Drive ID | Unique ID for the drive requested.
This field appears for Drive ID selected from Location in Options. |
Text |
Drive Type | Describes the type of drive represented by this resource. |
Text |
Parent Folder ID | ID of the folder to which you want to upload the file. Leave empty for root. |
Text |
Path | File system path of the file or folder. |
Text |
Created By |
||
Name | Name of the user who created the file or folder. |
Text |
Email address of the user who created the file or folder. |
Text |
|
User ID | Unique ID of the user. |
Text |
Created Date | Date and time of item creation. |
Date & Time |
Last Modified By |
The last user to modify the resource. | |
Name | Name of the user who modified the item. |
Text |
Email address of the user who modified the file or folder. |
Text |
|
User ID | Unique ID of the user. |
Text |
Last Modified | Identity of the folder which last modified the item. |
Text |
Folder |
||
Child Count | Number of children contained immediately within this container. |
Number |
File |
||
Mime Type | MIME type for the file. This is determined by logic on the server and might not be the value provided when the file was uploaded. |
Text |
Web URL |
||
CTag | ETag for the content of the item. This eTag is not changed if only the metadata is changed. |
Text |
ETag | ETag for the entire item (metadata + content). |
Text |
Size | Size of the item in bytes. |
Number |
Execution ID |
Number of records streamed in a streaming flow. This field appears when you select Stream Matching Records from the Result Set option. |
Text |
Additional information
-
Users can subscribe to changes to the root folder only, and cannot subscribe to changes in sub-folders. OneDrive for Business accounts are typically used in organizations.
-
Users can make changes only to files or folders directly in the specified Parent Folder ID. Any changes to a file or folder in the a sub-folder of the specified parent folder will not trigger the flow. A new flow will need to be created with the sub-folder as the parent folder in order to track changes to items in the sub-folder.
-
Users must be part of the group or have direct access to the file to read permissions of a file in that group.
Related topics
OneDrive connector