ManualTrigger Automate

ManualTrigger Automate streamlines photo uploads to SharePoint by integrating a manual trigger with Microsoft Graph API. Users can easily upload images to a specified folder, ensuring efficient file management without complex setups. This workflow enhances productivity by automating the photo upload process while maintaining control over sensitive data and configurations.

7/8/2025
9 nodes
Medium
manualmediumsticky noteapiintegration
Categories:
Manual TriggeredMedium Workflow
Integrations:
Sticky Note

Target Audience

This workflow is designed for:
- Developers looking to automate file uploads to SharePoint using Microsoft Graph API.
- Project Managers who need to streamline document management processes within their teams.
- IT Professionals responsible for integrating various applications and ensuring data flows smoothly between them.
- Educators who want to teach automation and API integration concepts in a practical context.

Problem Solved

This workflow addresses the challenge of manually uploading files to SharePoint by automating the process. It eliminates the need for repetitive manual tasks, reducing the potential for errors and saving valuable time. By integrating with the Microsoft Graph API, users can easily upload images or documents directly from their applications.

Workflow Steps

  • Manual Trigger: The workflow begins when the user clicks on the 'Test workflow' button.
    2. Set Configuration: Sensitive data such as TENANT_ID, CLIENT_ID, and CLIENT_SECRET are configured to authenticate with the Microsoft Graph API.
    3. Authentication: An access token is obtained using client credentials, which is necessary for making authorized requests to the API.
    4. Get Photo: A sample photo is fetched from an online source for testing purposes.
    5. Set Destination: The destination folder and file name for the upload are specified, ensuring that the file is saved in the correct location.
    6. Upload Photo: The fetched photo is uploaded to the specified SharePoint folder using the obtained access token.
    7. Sticky Notes: Throughout the workflow, sticky notes provide important information and instructions to guide users on prerequisites, authentication requirements, and destination settings.
  • Customization Guide

    Users can customize this workflow by:
    - Modifying the File Name and Target Folder: Change the values of FILE_NAME and TARGET_FOLDER in the 'Set destination' node to suit their specific needs.
    - Updating Authentication Credentials: Replace the placeholder values in the 'Set config (sensitive data)' node with actual credentials for their application.
    - Using Different Images: Alter the URL in the 'Get photo (for testing purposes)' node to fetch different images or files for upload.
    - Adjusting Sticky Notes: Edit the content of the sticky notes to provide additional context or instructions relevant to their use case.