Microsoft TeamsとOneDriveの連携イメージ
校閲まち

2025-04-08

Tried automating file management and notifications by integrating Microsoft Teams and OneDrive!

a.fukuyama

メールで届いた添付ファイルを毎回OneDriveにアップロードする作業を手間に感じていませんか?
メールとOneDrive、そしてMicrosoft Teamsを連携することで、メールの添付ファイルをOneDriveに自動保存し、その作業が完了したことをMicrosoft Teamsに通知できます。
この自動化により、ファイル管理や情報共有の手間が省け、業務効率の向上や情報共有の円滑化が期待できます。
ここでは、メールとOneDrive、そしてMicrosoft Teamsをノーコードで連携する方法を紹介するので、参考にしてみてくださいね!
設定方法も簡単で、専門的な知識がなくてもすぐに利用できますよ!

こんな方におすすめ

  • OneDriveとMicrosoft Teamsを利用している方。
  • OneDriveとMicrosoft Teamsを連携して業務を効率化したい方。
  • メールで受信したファイルをOneDriveに自動保存し、Microsoft Teamsで素早く共有したい方。

今すぐに試したい方へ

本記事ではノーコードツール「Yoom」を使用した連携方法をご紹介します。
難しい設定や操作は必要なく、非エンジニアの方でも簡単に実現できます。
下記のテンプレートから今すぐに始めることもできるので、ぜひお試しください!

[About Yoom]

How to Create a Flow Integrating Microsoft Teams and OneDrive

Let's use "Yoom" to integrate Microsoft Teams and OneDrive without any coding!
We'll create a flow using a template that "automatically uploads email attachments to OneDrive and notifies Microsoft Teams."
This time, we will set it up so that the flow bot is activated when an email is received.
The files attached to the email will be automatically saved to OneDrive, and a notification will be sent to Microsoft Teams when an email is received, helping you avoid missing emails or failing to save them!

If you're interested, please use the link below.

Preparation

Log in to Yoom

If you do not have a Yoom account, please create one from the Yoom registration page. You can register in 30 seconds!
After registration, log in to Yoom.

Create a OneDrive Folder

Create a folder to save files attached to emails.

1. Log in to OneDrive.

2. After logging in, click "Folder" from "+Add new" on the left side of the screen.

__wf_reserved_inherit

3. Enter a folder name and color of your choice, and click "Create" to complete the folder creation!
This time, the folder name is "Test_0711".

__wf_reserved_inherit

Flowbot Creation Procedure

App Integration

1. Integrate Microsoft Teams and OneDrive apps. Select the app from "New Connection" in My Apps.

__wf_reserved_inherit

2. Log in with the account you will use.

__wf_reserved_inherit

3. Once registered, an icon will appear in My Apps.
Microsoft365 (formerly Office365) has plans for home use and general business use (Microsoft365 Business), and if you are not subscribed to the general business plan, authentication may fail.

Create New Project and Flowbot

1. You can create a new project from the + button in the project list. Enter a project name of your choice and save it.

__wf_reserved_inherit

2. Click "+Create New" in "Flowbot" and select "Create from Template Gallery".

__wf_reserved_inherit

3. Enter the template name in the search field and click "Create Template".

__wf_reserved_inherit

The new creation of the flowbot is complete!

Now, let's start setting up the contents of the flowbot.

Trigger Settings

1. Enter a title and description of your choice, then select the trigger "When a specific condition email is received".

__wf_reserved_inherit

2. On the email trigger condition setting page, enter a title of your choice and enter any text in the receiving access creation field.
This time, we entered "test".

Proceed to the next step.

__wf_reserved_inherit

3. Send an email with an attachment to the address set on the previous page.

__wf_reserved_inherit

4. Run the test. If you see the success message, save it.

OneDrive Settings

1. Click the + button and select "OneDrive" from "Integrate with App".

__wf_reserved_inherit

2. On the page to select the integration account and action, enter a title of your choice and select "Upload File" as the action.

Proceed to the next step.

3. On the API connection settings page, make the following settings:
・Drive ID: Click the field and select the drive name where the file will be stored
・Destination Folder Name: Enter the folder name or part of the folder name created in the preparation
・Destination Folder Item ID: Click the field and select the folder name created in the preparation
・File Name: Click the field and select "Attachment" from the trigger
・File Attachment Method: Select "Use Output" from the dropdown and select the email attachment (this time "Attachment 1")

__wf_reserved_inherit

4. Run the test. If you see the success message, save it.

Microsoft Teams Settings

1. Click the + button and select "Microsoft Teams" from "Integrate with App".

__wf_reserved_inherit

2. On the page to select the integration account and action, enter a title of your choice and select "Send Message to Channel" as the action.

Proceed to the next step.

3. On the API connection settings page, make the following settings:
・Team ID: Click the field and select the team name of your choice
・Channel ID: Click the field and select the channel name of your choice
・Message: Enter a message of your choice *You can also click the field and use the output.

__wf_reserved_inherit

4. Run the test. If you see the success message, save it.

The flowbot is now complete!

Thank you for your hard work!

Other Automation Examples Using Microsoft Teams and OneDrive

In addition to the integrations introduced today, it is possible to achieve various automations by utilizing the APIs of Microsoft Teams and OneDrive.

If you find something interesting, please give it a try!

Automation Examples Integrating Microsoft Teams and OneDrive

It is possible to create a folder in OneDrive based on messages posted in Microsoft Teams or save documents received via Google Forms to OneDrive and notify Microsoft Teams. Additionally, you can automatically create and rename file copies on a specified schedule.

Automation Example with Microsoft Teams Integration

Send a message to Microsoft Teams when a task is added to the task management tool

Automatically notify Microsoft Teams when a task is registered in Trello or Asana.

Notify Microsoft Teams when a record is added to the database

Automatically notify Microsoft Teams when a record is added to databases like kintone or Notion.

Notify Microsoft Teams when a request is approved in the workflow

Automatically notify Microsoft Teams when a request is approved in systems like Garoon, Jobcan Expense Management, or Workflow.

Example of Automation with OneDrive Integration

Create a folder in OneDrive for each client when a client is registered in the app

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

Create a folder in OneDrive when a task is created in the app

When a task is created in Backlog, kintone, or similar, a folder is automatically created in OneDrive.

Save files received via email to OneDrive

Automatically save files received in Outlook or Gmail to OneDrive.

Benefits of Integrating Microsoft Teams and OneDrive

1. Centralized File Management

By setting up automatic saving of files shared in Microsoft Teams channels to OneDrive, you can achieve centralized file management.
Even if files are shared when you're busy, automating the saving to OneDrive means you don't have to manually save them, making it easier.
Centralizing file management also helps prevent issues like loss or misplacement of files.

2. Automation of Information Sharing

With the integration of Microsoft Teams and OneDrive, you can share information in real-time.
If you set it up so that when a file is saved to OneDrive, a message and the file are sent to Microsoft Teams, the entire team can immediately check it.
This makes the workflow smoother and allows for quick feedback and revisions.

3. Lightweight Storage

By setting up automatic saving of files shared in Microsoft Teams to OneDrive, you can store a large number of files without burdening your device's local storage.
When you temporarily save files to your desktop and manually save them to OneDrive, you might find your desktop cluttered even after the saving process is complete.
Working on a tidy desktop without unnecessary files helps prevent mistakes in sending files.

Conclusion

This time, we introduced a flow for "automatically uploading email attachments to OneDrive and notifying Microsoft Teams."
By integrating Microsoft Teams and OneDrive, you can automate file storage and prevent missing emails.
Furthermore, combining it with other features of Yoom expands the possibilities for document creation, translation, and more.

Please try out various features!

The person who wrote this article
a.fukuyama
I was an office worker until the end of March this year! Currently, I'm writing a blog as a member of Yoom.
Tags
Automation
Integration
Teams
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