AutomationMart
Home/Browse/Upload File to SharePoint Using Microsoft Graph API
n8n

Upload File to SharePoint Using Microsoft Graph API

n8nn8n6 modulesv1.0
UNSUPPORTED_SLUG_FORMAT

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 the photo. Who is this for? This workflow is ideal for users who need to automate the process of uploading images to SharePoint. It is particularly useful for developers, IT administrators, and anyone managing digital assets within a SharePo

At a glance

Upload File to SharePoint Using Microsoft Graph API is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects UNSUPPORTED_SLUG_FORMAT. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
UNSUPPORTED_SLUG_FORMAT
Modules
6
Price
Free
Version
v1.0
Upload File to SharePoint Using Microsoft Graph API workflow diagram

About this workflow

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 the photo. Who is this for? This workflow is ideal for users who need to automate the process of uploading images to SharePoint. It is particularly useful for developers, IT administrators, and anyone managing digital assets within a SharePoint environment. What problem is this workflow solving? / Use Case This workflow addresses the need to automate the uploading of photos to a specific SharePoint folder. By using the Microsoft Graph API, it ensures secure and efficient file management, reducing manual effort and potential errors. What this workflow does 1. Trigger the Workflow: The workflow starts when the user clicks the 'Test workflow' button. 2. Set Configuration: Sensitive data such as TENANTID, CLIENTID, and CLIENTSECRET are set. 3. Authentication: Obtains an access token from Microsoft Graph API using the provided credentials. 4. Get Photo: Retrieves a sample photo from a URL for testing purposes. 5. Set Destination: Sets the target folder and file name for the photo upload. 6. Upload Photo: Uploads the photo to the specified SharePoint folder using the Microsoft Graph API. Setup Prerequisites 1. Create an Application User: Follow this guide to create an application user. 2. Set Permissions: Ensure the following permissions are set: - Sites.ReadWrite.All: For SharePoint site access. - Files.ReadWrite.All: For file upload operations. Authentication For successful authentication, provide the following: - TENANTID - CLIENTID - CLIENTSECRET Note: For demonstration purposes, these values are stored in a 'Set' node. In a production environment, ensure the safety of such data using credentials, secure vaults, or other safe methods. Set Destination The destination is defined by two parameters: - TARGETFOLDER: The folder path in SharePoint where the photo will be uploaded. - FILENAME: The name of the file to be uploaded. Example: - Desired file location: from n8n/example.jpg - Set the following: - TARGETFOLDER = /uploads/pictures from n8n - FILENAME = example.jpg How to Customize This Workflow to Your Needs 1. Update Sensitive Data: Replace the placeholder values for TENANTID, CLIENTID, and CLIENTSECRET with your actual credentials. 2. Change Destination: Modify the TARGETFOLDER and FILENAME parameters to match your desired upload location and file name. 3. Test with Different Photos: Update the URL in the 'Get Photo' node to test with different images. Sticky Notes Workflow Overview This sticky note explains the overall purpose and dependencies of the workflow. Authentication Details This sticky note provides details on the authentication process and the importance of securing sensitive data. Set Destination Details This sticky note explains how to set the destination folder and file name for the photo upload. By following these guidelines, you can easily customize and use this workflow to automate photo uploads to SharePoint using the Microsoft Graph API.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Close tickets faster 🛠️ Zammad tool MCP server 💪 all 20 operations

Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator? Join the community Complete MCP server exposing all Zammad Tool operations to AI agents. Zero configuration needed - all 20 operations pre-built. ⚡ Quick Setup 1. Import this workflow into your n8n instance 2. Activate the workflow to start your MCP server 3. Copy the webhook URL from the MCP trigger node 4. Connect AI agents using the MCP URL 🔧 How it Works • MCP Trigger: Serv

Free

Generate high-quality audio with Voxtral Small 24B 2507

Generate High-Quality Audio with Voxtral Small 24B 2507 This workflow integrates the notdaniel/voxtral-small-24b-2507 model from Replicate to generate audio content from provided inputs. It handles API authentication, creates predictions, polls until completion, and outputs the final generated audio file. --- ⚡ Section 1: Trigger & Authentication 🔘 On clicking 'execute' → Manually starts the workflow. 🔑 Set API Key → Stores your Replicate API key to authenticate requests. Benefit: Securely con

Free

Automate data extraction with Zyte AI (Products, Jobs, Articles & More)

Automated AI Web Scraper This workflow uses the Zyte API to automatically detect and extract structured data from E-commerce sites, Articles, Job Boards, and Search Engine Results (SERP) - no custom CSS selectors required. It features a robust "Two-Phase Architecture" (Crawler + Scraper) that handles pagination loops, error retries, and data aggregation automatically, ens

Free

Email new RSS posts containing a specific keyword

Send an email every time there's a new RSS feed item that contains a specific word.

Free

Track student attendance from CSV, email parents, and build an HTML dashboard

Overview Automatically monitors daily student attendance from CSV files, identifies absent students, sends parent email alerts via SMTP, calculates risk scores, and generates an interactive HTML dashboard — all on a weekday schedule with no manual work needed. --- ⚙️ How it works 1. Schedule trigger — runs Monday–Friday at 17:30 2. Data ingestion — reads studentattendance.csv and filters to today's records only 3. Absence check — splits students into Absent / Present branches 4. Contact merge —

Free

[eBay] negotiation API MCP server

Complete MCP server exposing 2 Negotiation API operations to AI agents. ⚡ Quick Setup Need help? Want access to more workflows and even live Q&A sessions with a top verified n8n creator.. All 100% free? Join the community 1. Import this workflow into your n8n instance 2. Credentials Add Negotiation API credentials 3. Activate the workflow to start your MCP server 4. Copy the webhook URL from the MCP trigger node 5. Connect AI agents using the MCP URL 🔧 How it Works This workflow converts the Neg

Free

Google calendar MCP server for AI agent with dynamic scheduling

Google Calendar AI Agent with Dynamic Scheduling Version: 1.0.0 n8n Version: 1.88.0+ Author: Koresolucoes License: MIT --- Description An AI-powered workflow to automate Google Calendar operations using dynamic parameters and MCP (Model Control Plane) integration. Enables event creation, availability checks, updates, and deletions with timezone-aware scheduling [[1]][[2]][[8]]. Key Features: - 📅 Full Calendar CRUD: Create, read, update, and delete events in Google Calendar. - ⏰ Availabil

Free

Screen and score resumes from Gmail to Sheets with AI

Description This intelligent n8n automation streamlines the process of collecting, extracting, and scoring resumes sent to a Gmail inbox—making it an ideal solution for recruiters who regularly receive hundreds of applications. The workflow scans incoming emails with attachments, extracts relevant candidate information from resumes using AI, evaluates each candidate based on customizable criteria, and logs their scores alongside contact details in a connected Google Sheet. Who Is This For? - Rec

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free