Upload File
Upload a file to OneDrive.
Options
Field | Definition | Type | Required |
---|---|---|---|
Source |
Choose a source:
|
Dropdown |
TRUE |
Input
Field | Definition | Type | Required |
---|---|---|---|
Drive |
|||
Drive ID |
Unique ID for the drive requested. Appears when Drive ID is selected from the Source option. |
Text |
TRUE |
Group |
|||
Group ID |
Unique ID for the group which owns the document library. Appears when Group ID is selected from the Source option. |
Text |
TRUE |
User |
|||
User ID |
Unique ID for the user object who owns the drive item. Appears when User ID is selected from the Source option. |
Text |
TRUE |
File |
|||
Parent Folder ID | Unique ID of the parent folder where the file is uploaded. |
Text |
TRUE |
File Name | Name of the file. The uploaded file will contain the specified name. The name must include the extension of the file type.
For example, fileName.jpg. |
Text |
TRUE |
File Content | Unique ID associated with the file content. |
File |
TRUE |
Description | Provides a user-visible description of the file. |
Text |
FALSE |
A file must be at least 1 byte in size, but cannot be larger than 2 GB. See Workflows system limits.
Only files that are already stored in the Workflows platform file system can be uploaded. Local files cannot be uploaded to OneDrive using this action card.
Output
Field | Definition | Type |
---|---|---|
File Name | Name of the file. |
Text |
File ID | Unique ID of the file. |
Text |
Additional information
-
If the naming of the uploaded file conflicts with an existing file, the existing file will be replaced by the upload file.
-
When uploading a file from a group, the user must be part of the group.
-
Admins can upload files that are in another OneDrive drive or group. In addition, admins can upload files for another user. Files created by the admin are shown as created by the admin.
Related topics
OneDrive connector