Templates / Upload File to SharePoint Using Microsoft Graph API

Upload File to SharePoint Using Microsoft Graph API

Ready for 3.0

by Greg Evseev ✓ · 4,739 views · created 2025-04-24 · File Management

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 6 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes. It also calls fastly.picsum.photos over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Set config (sensitive data) (Edit Fields (Set)): sets 3 fields: TENANT_ID, CLIENT_ID, CLIENT_SECRET
  2. Authentication (HTTP Request): calls an HTTP API (POST)
  3. Get photo (for testing purposes) (HTTP Request): calls fastly.picsum.photos
  4. Set destination (Edit Fields (Set)): sets 2 fields: TARGET_FOLDER, FILE_NAME
  5. Upload photo (HTTP Request): calls an HTTP API (PUT)

HTTP calls to: fastly.picsum.photos

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (3)

From the author

This n8n workflow template allows you to upload a photo to a SharePoint folder using the Microsoft Graph API. The workflow includes steps for authentication, retrieving a photo for testing purposes, setting the destination folder and file name, and uploading…

Excerpt from Greg Evseev's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.