Back
Microsoft OneDrive New file in folder. Gmail Send an email.

Send a Gmail email when OneDrive adds a new file

Connect

How this automation works

Send instant email alerts via Gmail when new files appear in OneDrive. This Applet runs whenever a new file is added to the OneDrive folder you choose and sends the file link or a custom message to the Gmail addresses you specify. It's ideal for teams, collaborators, or anyone who needs to share reports, documents, or backups quickly between OneDrive and Gmail. 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
Gmail 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 send an email to up to twenty recipients from your Gmail account.
to cc bcc subject body attachment_url

Services used in this Applet

Create your own Gmail and Microsoft OneDrive 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.

6 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.

Send an email

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 send an email to up to twenty recipients from your Gmail account.

Send yourself an email

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 send yourself an email. HTML, images and links are supported.

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.

Send an email

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 send an email to up to twenty recipients from your Gmail account.

Send yourself an email

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 send yourself an email. HTML, images and links are supported.

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 Gmail and Microsoft OneDrive

About Gmail

Connect Gmail to send emails to yourself and others.

Explore Gmail

More integrations with Gmail

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

IFTTT helps all your apps and devices work better together

Get started for free