Block 1 - When clicking ‘Test workflow’
- Type / Role
- n8n-nodes-base.manualTrigger - manualTrigger
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
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...
n8n-nodes-base.manualtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.set, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Greg Evseev.
Original n8n.io sourceThis 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.
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.
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.
TENANT_ID, CLIENT_ID, and CLIENT_SECRET are set.Sites.ReadWrite.All: For SharePoint site access.Files.ReadWrite.All: For file upload operations.For successful authentication, provide the following:
TENANT_IDCLIENT_IDCLIENT_SECRETNote: 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.
The destination is defined by two parameters:
TARGET_FOLDER: The folder path in SharePoint where the photo will be uploaded.FILE_NAME: The name of the file to be uploaded.Example:
https://contoso.sharepoint.com/uploads/pictures from n8n/example.jpgTARGET_FOLDER = /uploads/pictures from n8nFILE_NAME = example.jpgTENANT_ID, CLIENT_ID, and CLIENT_SECRET with your actual credentials.TARGET_FOLDER and FILE_NAME parameters to match your desired upload location and file name.This sticky note explains the overall purpose and dependencies of the workflow.
This sticky note provides details on the authentication process and the importance of securing sensitive data.
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.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Upload File to SharePoint Using Microsoft Graph API |
|---|---|
| Complexity | intermediate |
| Nodes | 9 |
| Categories | File Management |
| Author | Greg Evseev |
| Published | 24 Apr 2025 |
Use the JSON export at /data/workflows/3690/3690.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
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...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your File Management use case.