Upload file action

The Upload file action in the Microsoft 365 OneDrive package uploads a file to a specific directory in OneDrive.

Settings

  • Enter the user session that you provided in the Connect action.
  • Provide the file name and path on the local directory.

    For example, D:/Mydata/HR/EmployeeSurvey.xlsx.

  • Use the File variable/File name on local directory (including path and extension) to select one of the following options for uploading a file to Microsoft 365 OneDrive:
    • Variable: To specify the variable that contains the location of the file.
    • Control Room file: Click Choose to select a file that is available in the Control Room.
    • Desktop file: In the Specific path, click Browse to select a file.

      (Optional) Click Insert a value icon to select an existing variable or global value for the file.

  • In the Upload folder on OneDrive (including path) field, provide the upload folder name and path, or folder link.

    To obtain the folder link, copy the link generated from Share OneDrive files and folders

    For example, to perform this action on a folder named Q1, located in the Survey Results folder in home directory, enter /Survey Results/Q1

    Note: You cannot provide the private folder path from one drive as it is not supported.
  • Optional: If there is file or folder with the same name in the destination folder, select the Override existing file/folder option which replaces the existing file or folder with the one being copied.