SlackとOneDriveの連携イメージ
How to Integrate Applications

2025-04-14

How to Automatically Upload Files to OneDrive When They Are Posted on Slack

m.wadazumi

How about automating the process of uploading file data attached in Slack to OneDrive? If Slack and OneDrive are not integrated, sharing files takes time, and doing it manually can be quite cumbersome. However, by linking the apps, you can efficiently manage files and improve data management security. Using no-code tools to automate this process allows for quick setup. In this article, we'll guide you through the steps to set up the integration for "Uploading files received in Slack to OneDrive"!

Recommended for

  • Those looking to improve efficiency between Slack and OneDrive.
  • Those who currently save files received via Slack to OneDrive.
  • Those who want to automatically save files by integrating Slack with OneDrive.
  • Those eager to try it out right away.

In this article, we’ll demonstrate how to use the no-code tool "Yoom" to set up the integration. No complicated configurations or operations are needed, making it easy even for non-engineers to implement. You can get started right away with the template below, so give it a try!

[About Yoom]

How to Create a Slack and OneDrive Integration Flow

This time, we will set up the following template: "Upload files received on Slack to OneDrive."

There are only two steps, so you can rest assured.

  1. Setting up a flow bot that activates when a file is posted to a channel
  2. Setting up the action to upload the file

If you are not using Yoom, please register for free here.
If you are already using Yoom, please log in.

How to Connect Slack and OneDrive with Yoom

Register your Slack and OneDrive with Yoom as a My App.
Once you complete this My App registration, setting up automation becomes easier.

First, register Slack as a My App, which is described in Yoom's help page, so please refer to it for registration.

Next, register OneDrive as a My App.
Click "My Apps" → "New Connection" on the left side of the screen.
A list of apps will be displayed, so search for OneDrive from there or use "Search by App Name".


Once you transition to the following screen, please sign in.


Once the app integration is complete, Slack and OneDrive will be displayed in the My Apps section.
※ Microsoft365 (formerly Office365) has a home plan and a general business plan (Microsoft365 Business), and if you are not subscribed to the general business plan, authentication may fail.

How to Upload Files Received on Slack to OneDrive

To set up automation, click "Try this template" on the banner below.

After transitioning to the following screen, check the "Title" and "Description". If you wish to make changes, you can do so from the following page.
Next, to set up Slack, click on "When a file is posted to a channel".

After transitioning to the following screen, let's check the settings.

  • "App Trigger Title" → Can be freely changed
  • "Account Information for Slack Integration" → Check for discrepancies
  • "Trigger Action" → When a file is posted to a channel

After transitioning to the following screen, please configure the settings.

  • "Trigger Interval" → Set as desired
  • "Channel ID" → Select from the options

Click "Test" → "Test Successful" → "Save".
*The trigger interval can be selected from 5, 10, 15, 30, or 60 minutes. Please note that the shortest trigger interval varies depending on the plan.

Next, to set up OneDrive, click on "Upload File".
After transitioning to the following screen, please check the settings.

  • "Title" → Can be freely changed
  • "Account Information for OneDrive Integration" → Check for discrepancies
  • "Action" → Upload File

After transitioning to the following screen, please configure the settings.

  • "Drive ID" → Select from the options
  • "Destination Folder Name" → Search for "Destination Folder Item ID" candidates using the value entered here
    *If the target folder is not found, changing the value to part of the folder name may help in the search.
  • "Destination Folder Item ID" → Enter the destination folder name and select the target folder from the displayed candidates
    *Candidates are displayed in order of the most recently updated. If the relevant folder is not displayed as a candidate, please update the folder information by changing the folder name once, etc.
  • "File Name" → Specify the file name to be uploaded, including the extension, e.g., Sample.pdf
    Alternatively, use outputs like {{File Name}} from Slack.
    Click inside the box and select from the down arrow in Slack.
  • "File Attachment Method" → Set as desired

Click "Test" → "Test Successful" → "Save".

Finally, by turning the app trigger "ON", it will be automated.

Other Automation Examples Using Slack and OneDrive

In addition to the integrations introduced today, various automations can be achieved by utilizing the APIs of Slack and OneDrive.

If there's anything that catches your interest, please give it a try!

Automation Examples Integrating Slack and OneDrive

It is possible to create a folder in OneDrive and send a message to Slack at a specific schedule, or to notify Slack when a file is uploaded to OneDrive.
Additionally, you can read document data posted on Slack using OCR, update the file name, and upload it to OneDrive.

Automation Example Using Slack

Notify Slack When Information is Registered in the Database

Automatically notify Slack when information is added to Google Sheets, Salesforce, etc.

Notify Slack when a request is approved in the workflow

Automatically notify Slack when a request is approved in systems like Notion, Dropbox.

Notify Slack of Today's Schedule and Tasks Due Today

Automatically notify Slack of today's schedule from Google Calendar and tasks due today in Notion.

Automation Example Using OneDrive

Automatically Upload Email Attachments to OneDrive

Automatically upload files attached to Gmail or Outlook emails to OneDrive.

When a client is registered in the database, create a folder for each client in OneDrive

When a client is registered in systems like Microsoft Dynamics365 Sales or Salesforce, a folder for each client is automatically created in OneDrive.

Upload the file to OneDrive once the document signing is complete

Automatically upload documents that have been signed using services like Google Sheets or Docusign to OneDrive.

Benefits of Integrating Slack and OneDrive and the Drawbacks of Not Doing So

If you do not integrate Slack and OneDrive, there is a drawback of taking time to share files.
By integrating the apps, you can manage files efficiently and enhance data management security, which is a benefit.
Below, we have summarized the benefits and drawbacks of integrating the apps.

Benefit 1: Efficient File Management

The first benefit of integrating Slack and OneDrive is efficient file management.
For example, it is possible to automatically save files received on Slack to OneDrive.
If not automated, you would have to manually download files sent from Slack and upload them to OneDrive.
However, by incorporating this automation, you can significantly streamline the process.
For those with many saved files, eliminating manual file management alone can be a relief.
Especially recommended for those who do not want to consume Slack's storage capacity or want to manage files centrally.

Benefit 2: Enhanced Data Management Security

The second benefit of integrating Slack and OneDrive is enhanced data management security.
OneDrive is equipped with security features, allowing for file access restrictions and backups.
By integrating Slack and OneDrive, when important files are shared, they are backed up on OneDrive.
Therefore, it is less likely to encounter situations where data is lost.This feature is especially recommended for those handling confidential information.

Drawback: Time-Consuming File Sharing

The drawback of not integrating Slack and OneDrive is that file sharing becomes time-consuming.
When files are sent from Slack, downloading and uploading them to OneDrive each time is time-consuming and cumbersome.
If this task takes up your time and other tasks are not completed, it wastes time.
However, by using Yoom, you can save time and focus on other tasks.
By simply incorporating this automation, sharing files with other team members becomes easier.

Conclusion

In this article, we set up the integration to "upload files received on Slack to OneDrive."
If you do not integrate Slack and OneDrive, file sharing becomes cumbersome.
If both apps can be integrated, the manual task of moving files can be completely automated.
This feature is especially recommended for those who do not want to consume Slack's storage capacity or want to manage files centrally.
With Yoom, you can complete the automation setup without any code!
Try the free trial and experience the efficiency of app integration!

The person who wrote this article
m.wadazumi
I've been working as a writer since my job in child welfare, and I'm currently writing a blog on Yoom. While being surprised by the work efficiency improvements that can be made with Yoom, I would like to share that excitement with everyone and contribute to society. I'll tell you about application integration and automation that even I, who has zero programming knowledge, can do.
Tags
Integration
Automation
Slack
OneDrive
Automatic
What is Yoom hyperautomation?
Conventional RPA can only automate simple repetitive tasks, and the setup process was very complicated.
With “hyperautomation,” which combines various technologies such as AI, API, RPA, and OCR, it is possible to automate many tasks that could not be realized until now more easily than before.
Don't Just Connect Apps—Automate Everything
Most tools simply connect one app to another, leaving the complex tasks to you. Yoom goes much further: From document creation and browser automation to OCR and generative AI, Yoom handles it all seamlessly in one platform.

Why settle for basic integrations? Streamline your entire workflow with Yoom’s powerful hyperautomation.
Learn more about Yoom
Helpful Materials
I understand Yoom! 3-piece set of materials
Download materials
Understand in 3 minutes! Yoom service introduction materials
Download materials
Find out by Before After! Yoom Case Study Collection
Download materials
See a list of useful materials