Upload File

media_1502116243229-2.png

The Upload File Action builder uploads a file from a local directory to a OneDrive account.

media_1502116251865-2.png

Account Name – the variable that will hold the OneDrive account name.

media_1502116262281-2.png

Remote Directory – the variable that will contain the OneDrive folder name to which the file will be uploaded.

media_1502116267593-2.png

Cloud File – the variable that will contain the final name of the uploaded file.

media_1502116276006-2.png

Local File Path – the variable that will contain the path to the local file that will be uploaded.

Created Script

media_1502121314953.png

Get OneDrive Storage – retrieves the OneDrive account.

media_1502116341375-2.png

Get Folder by Name – retrieves the OneDriveFolder to which the file will be uploaded.

Upload File to Folder – uploads the local file to a OneDriveFolder.