Use the Upload file
action to upload a file to a folder in your SharePoint
site. You must specify site details, folder path, file name, file content, and session details
in the action.
Before you begin
Ensure that you are authenticated before initiating any
SharePoint
action. For more details, see
SharePoint Authenticate action.
Note: The maximum file size allowed for upload
is 1 GB.
Procedure
-
From the Actions pane,
select and place it in the canvas.
-
In the Site field, select
one of the following options:
-
Default site: The site name used during
authentication is considered the default site.
-
Other site: If you want to choose a
different site, specify the different site name.
-
In the Folder path field,
specify the main Document Library folder name
followed by the parent folder.
-
In the File name field, specify the name of the file that
must be displayed in SharePoint. You can provide the file name
with or without an extension.
-
In the File content field,
select one of the following options:
-
In the Session field, select
one of the following options:
-
Session name: The name you provided for the
session during authentication.
-
Variable: Select a variable which contains
the session name.
-
In the File path field, specify a variable for the file
path.
You can either select an existing variable from the drop-down to store the file
path details or use the Create variable option to create a new
variable to store the SharePoint file path details. The file
path is mapped in the following format: /sites/SiteName/Shared
Documents/FolderName/FileName.Extension
Results
The Upload file action uploads the
specified file to the folder specified in the action.