OneDrive upload file

Nintex external platform is required for this feature. For details, see Enable Nintex external platform features.

Uploads a file to OneDrive.

Note: This action is only applicable to accounts with OneDrive for free online personal storage. Not applicable for OneDrive for Business plan, intended for business purposes.

Action settings

Following are the fields and options visible in the configuration settings dialog box for this action.

Field Description
File to upload

Select one of the following items.

  • Existing SharePoint Content: Use this option to upload an existing file from the current site. Enter a site-relative URL to the file.

    Example: Shared%20Documents/statement.docx

  • Content: Use this option to upload a file. Enter the text to insert into the file to be uploaded.

    For example, insert a reference to the initiator.

    Note: The file type is determined by the extension specified for the file name.

  • Current item (option available for workflows associated with lists): Use this option to upload the current file that the workflow is running on.
Destination folder

Specify the name of the destination folder for the upload. Example: \Public\Folder A\Subfolder A

Destination name

Specify the filename and extension of the file to upload.

Overwrite file

Specify whether or not to overwrite if a file with the same name already exists in the destination folder.

  • Enabled: Overwrites any existing file of the same name.
  • Disabled: Does not overwrite any existing files. If a file exists with the same name, then a number is appended. For example, if a file already exists with the name "Filename.ext," then the uploaded file is saved as "Filename(1).ext."
Authorizing user

Specify an email address for the authorization request. External email addresses can be used.

Output

Store output for this action using the following selections.

  • Uploaded file URL: Specify a workflow variable to store the URL of the uploaded file.