Microsoft SharePoint icon

Microsoft SharePoint

Interact with Microsoft SharePoint API

File → Upload

AI-generated

Summary

Uploads binary data from an incoming n8n item to a SharePoint site folder, using the specified file name. The node sends a PUT request to the folder’s drive items content endpoint and returns the SharePoint response as an item.

Inputs

  • Site (required) — Choose a site from the list or enter its ID.
  • Parent Folder (required) — Choose a folder from the list or enter its ID. The placeholder indicates the library root can be used.
  • File Name (required) — Name to assign to the uploaded file.
  • File Contents (required) — Name of the incoming binary property to upload, such as data. The input item must contain binary data under this property.
  • Request Options — Optional batching, SSL certificate validation, proxy, and request timeout settings.

Output shape

A single item per input item, containing the SharePoint upload response in its JSON data.

The binary property is sent as the request body. The operation uses the selected site and folder IDs and the supplied file name to form the upload path; request errors are raised through the node’s error handler.

Links

Discussion