Back
Microsoft OneDrive New file in folder. Microsoft Teams Post to channel.

Post to Microsoft Teams when OneDrive adds a file

Connect

How this automation works

Notify your team in Microsoft Teams whenever a new file appears in OneDrive. It runs when a new file is added to the OneDrive folder you specify and automatically posts a message with the file name and link to the Microsoft Teams channel you choose. This keeps collaborators informed about reports, assets, or shared documents without manually checking OneDrive, ideal for teams using OneDrive and Microsoft Teams. Note: Customize the message to fit your tone.

If
Microsoft OneDrive icon
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time a new file is added to the folder you specify in your OneDrive.
FileName FilePath FileSize FileUrl CreatedAt FolderPath
Then
Microsoft Teams icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will post a message to the specified channel.
team_and_channel_ids message_subject message_body message_urgency

Services used in this Applet

Create your own Microsoft OneDrive and Microsoft Teams workflow

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.

5 triggers, queries, and actions

New file in folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time a new file is added to the folder you specify in your OneDrive.

Create a folder

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will create a new folder in your OneDrive.

Create a sharing link

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will create a shareable link for a file in your OneDrive.

Post to channel

Pro plus icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will post a message to the specified channel.

Upload file from URL

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will download a file from a URL and upload it to your OneDrive.

Create a folder

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will create a new folder in your OneDrive.

Create a sharing link

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will create a shareable link for a file in your OneDrive.

New file in folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time a new file is added to the folder you specify in your OneDrive.

Post to channel

Pro plus icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will post a message to the specified channel.

Upload file from URL

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will download a file from a URL and upload it to your OneDrive.

Build an automation in seconds!

You can add delays, queries, and more actions in the next step!

More on Microsoft OneDrive and Microsoft Teams

About Microsoft OneDrive

Microsoft OneDrive is a cloud storage service that lets you store, sync, and share files across your devices. Turn on Applets to automatically manage your files and folders.

Explore Microsoft OneDrive

More integrations with Microsoft OneDrive

About Microsoft Teams

Turn on powerful Applets to bring more context to your team's space so it's even easier to work together. Accomplish more together across work, school, and life with Microsoft Teams. Note: Your organization must support Teams permissions in order to connect this service. Contact your organization admin for more details.

Explore Microsoft Teams

More integrations with Microsoft Teams

IFTTT helps all your apps and devices work better together

Get started for free