SharePoint Files icon

SharePoint Files

Manage files and folders in SharePoint sites via Microsoft Graph API

Upload

AI-generated

Summary

Upload a file to a specified folder in a SharePoint drive using binary data from the workflow item.

Inputs

  • Site (required) — The SharePoint site to upload the file to, selected either from a searchable list or specified by ID.
  • Drive (required) — The SharePoint drive within the site where the file will be uploaded, selected from a list or specified by ID.
  • Folder (required) — The folder path in the chosen drive to upload the file into, selectable from a list or specified by a path string.
  • Input Binary Property (required) — The name of the binary property in the workflow item that contains the file data to upload.
  • File Name — The name to assign to the uploaded file. If empty, uses the original file name from the binary data or defaults to 'upload'.

Output shape

a list of JSON objects representing the uploaded file's metadata, each paired with the originating input item

Handles both small files with a single PUT request and larger files via chunked upload using an upload session. Returns API response as JSON per uploaded file. Errors include node execution error or per-item error when continueOnFail is enabled.

Links

Discussion