We're in the process of improving this site to make it more usable and helpful. Access the new help site here.

OneDrive upload file

Uploads a file to OneDrive.

Action settings

Following are the fields and options visible in the configuration settings dialog box for this action. For more information about the configuration settings dialog box, see Configuration settings dialog box.

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

    Advanced Lookup: Displays available lookups. Click Insert to insert the specified configuration into the field. For more information, see Work with lookups.

  • 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.

    Advanced Lookup: Displays available lookups. Click Insert to insert the specified configuration into the field. For more information, see Work with lookups.

  • 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

Advanced Lookup: Displays available lookups. Click Insert to insert the specified configuration into the field. For more information, see Work with lookups.

Destination name

Specify the filename and extension of the file to upload.

Advanced Lookup: Displays available lookups. Click Insert to insert the specified configuration into the field. For more information, see Work with lookups.

Overwrite file

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

  • Yes: Overwrites any existing file of the same name.
  • No: 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."

For information about using lookups from the drop-down list, such as List Lookup, see Work with lookups.

Authorizing user

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

For information about using lookups from the drop-down list, such as List Lookup, see Work with lookups.

Uploaded file URL

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