Skip to content

Add File to SharePoint ​

Uploads a local file to a SharePoint document library folder and optionally sets metadata fields on the uploaded file.

Purpose ​

Use this task to publish files from the automation engine into a SharePoint site as part of a workflow. You specify the destination by providing the SharePoint library URL and a subfolder path within it. Optional metadata fields let you set SharePoint column values on the file at upload time, avoiding a separate update step. This is commonly used to archive generated documents, distribute files to project teams, or populate SharePoint libraries from automated processes.

Inputs ​

FieldTypeRequiredDescription
Local File Full PathTextYesThe full path to the file on the local or network filesystem to upload.
Sharepoint FolderTextYesThe URL of the SharePoint document library to upload into, for example https://myco.sharepoint.com/sites/YourSiteName/Shared Documents.
Folder PathTextYesThe subfolder path within the document library where the file will be placed, for example Designs/Project001/DRAWINGS.
PropertiesKey-Value PairsNoSharePoint column values to set on the uploaded file. Keys must match SharePoint field internal names.

Outputs ​

NameDescription
NewSharepointFileThe SharePoint drive item object representing the uploaded file, including its ID, name, and location details.

Tentech